RESTRUCTURING CHARGES - Restructuring charges (Details) - USD ($) $ in Thousands |
12 Months Ended | |
|---|---|---|
Dec. 31, 2023 |
Dec. 31, 2022 |
|
| Restructuring Cost and Reserve [Line Items] | ||
| Total restructuring charges | $ 14,975 | $ 10,008 |
| Restructuring Incurred Cost Statement Of Income Or Comprehensive Income Extensible Enumeration Not Disclosed Flag | Total restructuring charges | Total restructuring charges |
| Workforce reduction | ||
| Restructuring Cost and Reserve [Line Items] | ||
| Total restructuring charges | $ 3,124 | $ 6,058 |
| Costs to exit duplicative contracts | ||
| Restructuring Cost and Reserve [Line Items] | ||
| Total restructuring charges | 11,474 | 1,450 |
| Other restructuring costs | ||
| Restructuring Cost and Reserve [Line Items] | ||
| Total restructuring charges | $ 377 | $ 2,500 |