| STOCK-BASED COMPENSATION - Plans (Details) | 1 Months Ended | 12 Months Ended | 
|---|---|---|
| May 31, 2023  shares | Dec. 31, 2023  plan  shares | |
| STOCK-BASED COMPENSATION | ||
| Number of active equity plans | plan | 2 | |
| Employee Stock Option [Member] | ||
| STOCK-BASED COMPENSATION | ||
| Options exercised during the period (in shares) | 50,161 | |
| 2018 Equity Incentive Plan | ||
| STOCK-BASED COMPENSATION | ||
| Additional shares approved | 4,000,000 | |
| 2018 Equity Incentive Plan | Maximum | ||
| STOCK-BASED COMPENSATION | ||
| Expiration period | 10 years | |
| Inducement Plan | ||
| STOCK-BASED COMPENSATION | ||
| Additional shares approved | 1,019,700 | 
| X | ||||||||||
| 
- Definition Represents the number of active equity plans of the Company. No definition available. 
 | 
| 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. Reference 1: http://www.xbrl.org/2003/role/disclosureRef 
 | 
| X | ||||||||||
| 
- Definition Number of additional shares authorized for issuance under share-based payment arrangement. No definition available. 
 | 
| X | ||||||||||
| 
- Definition Period from grant date that an equity-based award expires, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents the reported fact of one year, five months, and thirteen days. Reference 1: http://www.xbrl.org/2003/role/exampleRef 
 | 
| X | ||||||||||
| 
- Definition Number of share options (or share units) exercised during the current period. Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef 
 | 
| X | ||||||||||
| 
- Details 
 | 
| X | ||||||||||
| 
- Details 
 | 
| X | ||||||||||
| 
- Details 
 | 
| X | ||||||||||
| 
- Details 
 |