RESTRUCTURING CHARGES - Restructuring charges (Details) - USD ($) $ in Thousands |
12 Months Ended | ||
|---|---|---|---|
Dec. 31, 2022 |
Dec. 31, 2021 |
Dec. 31, 2020 |
|
| Restructuring Cost and Reserve [Line Items] | |||
| Total restructuring charges | $ 10,008 | $ 5,671 | $ 11,981 |
| Restructuring Incurred Cost Statement Of Income Or Comprehensive Income Extensible Enumeration Not Disclosed Flag | Total restructuring charges | ||
| Workforce reduction | |||
| Restructuring Cost and Reserve [Line Items] | |||
| Total restructuring charges | $ 6,058 | 5,521 | 11,885 |
| Costs to exit duplicative contracts | |||
| Restructuring Cost and Reserve [Line Items] | |||
| Total restructuring charges | 1,450 | 0 | 0 |
| Other restructuring costs | |||
| Restructuring Cost and Reserve [Line Items] | |||
| Total restructuring charges | $ 2,500 | $ 150 | $ 96 |