STOCK-BASED COMPENSATION (Details) - USD ($) $ in Thousands  | 
3 Months Ended | |
|---|---|---|
Mar. 31, 2024  | 
Mar. 31, 2023  | 
|
| Stock-based compensation expense related to stock-based awards | ||
| Total stock-based compensation expense | $ 5,134 | $ 2,758 | 
| Selling, general and administrative | ||
| Stock-based compensation expense related to stock-based awards | ||
| Total stock-based compensation expense | 4,484 | 1,735 | 
| Research and development | ||
| Stock-based compensation expense related to stock-based awards | ||
| Total stock-based compensation expense | $ 650 | $ 1,023 | 
| X | ||||||||||
- Definition Amount of expense for award under share-based payment arrangement. Excludes amount capitalized. Reference 1: http://www.xbrl.org/2003/role/disclosureRef 
  | 
| X | ||||||||||
- Definition Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table. No definition available. 
  | 
| X | ||||||||||
- Details 
  | 
| X | ||||||||||
- Details 
  |