ACCOUNTS RECEIVABLE (Details) - USD ($) $ in Thousands  | 
12 Months Ended | |
|---|---|---|
Dec. 31, 2021  | 
Dec. 31, 2020  | 
|
| Accounts Receivable, Allowance for Credit Loss [Roll Forward] | ||
| Beginning balance | $ 3,218 | $ 3,559 | 
| Bad Debt Expense, Net of Recoveries | 90 | 1,913 | 
| Write-off Charges Against the Allowance and Other Adjustments | (125) | (2,254) | 
| Ending balance | $ 3,183 | $ 3,218 | 
| X | ||||||||||
- Definition Amount of allowance for credit loss on accounts receivable. Reference 1: http://www.xbrl.org/2003/role/disclosureRef 
  | 
| X | ||||||||||
- Definition A roll forward is a reconciliation of a concept from the beginning of a period to the end of a period. No definition available. 
  | 
| X | ||||||||||
- Definition Amount of direct write-downs of accounts receivable charged against the allowance. Reference 1: http://www.xbrl.org/2003/role/disclosureRef 
  | 
| X | ||||||||||
- Definition Amount of expense (reversal of expense) for expected credit loss on accounts receivable. Reference 1: http://www.xbrl.org/2003/role/disclosureRef 
  |