v3.22.2.2
ACCOUNTS RECEIVABLE - Schedule of Allowance for Credit Losses (Details) - USD ($)
$ in Thousands
3 Months Ended 9 Months Ended
Sep. 30, 2022
Sep. 30, 2021
Sep. 30, 2022
Sep. 30, 2021
Financing Receivable, Allowance for Credit Loss [Roll Forward]        
Balance at beginning of the period $ 5,828 $ 4,743 $ 5,005 $ 5,047
Charges (Reversal) of expenses (43) 457 337 261
Write off (12) (415) (165) (546)
Exchange difference (337) 11 (607) 34
Balance at end of the period 5,436 $ 4,796 5,436 $ 4,796
Cumulative-effect adjustment upon adoption of ASU2016-13, Financial instruments- Credit losses (Topic 326)        
Financing Receivable, Allowance for Credit Loss [Roll Forward]        
Balance at beginning of the period $ 0   $ 866