FAIR VALUE MEASUREMENT - Private placement warrant liability (Details) - Private Placement - Level 3 - Fair Value, Recurring - USD ($) $ in Thousands |
3 Months Ended | 6 Months Ended | ||
|---|---|---|---|---|
Jun. 30, 2024 |
Jun. 30, 2023 |
Jun. 30, 2024 |
Jun. 30, 2023 |
|
| Fair Value, Net Derivative Asset (Liability) Measured on Recurring Basis, Unobservable Input Reconciliation [Roll Forward] | ||||
| Balance, beginning of period | $ 95 | $ 1,314 | $ 137 | $ 1,293 |
| Change in the estimated fair value of warrants | (7) | 393 | 35 | 372 |
| Balance, end of the period | $ 102 | $ 921 | $ 102 | $ 921 |