DERIVATIVE INSTRUMENTS- Schedule of gain and loss (Details) - USD ($) $ in Thousands |
3 Months Ended | 9 Months Ended | ||
|---|---|---|---|---|
Sep. 30, 2022 |
Sep. 30, 2021 |
Sep. 30, 2022 |
Sep. 30, 2021 |
|
| Derivative Instruments, Gain (Loss) [Line Items] | ||||
| Derivative instruments not designated as hedging instruments, gain (loss), net | $ 1,346 | $ 110 | $ 2,931 | $ 218 |
| Foreign currency forward contracts | ||||
| Derivative Instruments, Gain (Loss) [Line Items] | ||||
| Derivative instruments not designated as hedging instruments, gain (loss), net | 1,162 | 117 | 1,154 | (186) |
| Foreign currency swaps | ||||
| Derivative Instruments, Gain (Loss) [Line Items] | ||||
| Derivative instruments not designated as hedging instruments, gain (loss), net | $ 184 | $ (7) | $ 1,777 | $ 404 |