| LEASES - Cash Flow Information (Details) - USD ($) $ in Thousands | 12 Months Ended | ||
|---|---|---|---|
| Dec. 31, 2023 | Dec. 31, 2022 | Dec. 31, 2021 | |
| LEASES | |||
| Cash payments included in the measurement of operating lease liabilities | $ 1,534 | $ 10,485 | $ 10,082 | 
| X | ||||||||||
| 
- References No definition available. 
 | 
| X | ||||||||||
| 
- Definition Amount of cash outflow from operating lease, excluding payments to bring another asset to condition and location necessary for its intended use. Reference 1: http://www.xbrl.org/2003/role/disclosureRef 
 |