| COMMON STOCK WARRANT LIABILITY (Details) - USD ($) $ in Thousands | 3 Months Ended | ||||
|---|---|---|---|---|---|
| Feb. 12, 2021 | May 13, 2016 | Mar. 31, 2021 | Mar. 31, 2020 | Dec. 31, 2020 | |
| Class of Warrant or Right [Line Items] | |||||
| Warrants repurchase price | $ 4,000 | ||||
| Adjustment to fair value of warrants | 1,300 | $ 1,347 | $ (1,656) | ||
| Common stock warrant liability | $ 2,653 | ||||
| Line of Credit | Second Lien Term Loan | Warrant to Purchase Common Equity | |||||
| Class of Warrant or Right [Line Items] | |||||
| Warrants issued (in shares) | 1,006,568 | ||||
| Payments for Repurchase of Warrants | $ 4,000 | ||||
| X | ||||||||||
| 
- Definition Warrants and rights outstanding, current. No definition available. 
 | 
| X | ||||||||||
| 
- Definition Warrants repurchase price. 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. No definition available. 
 | 
| X | ||||||||||
| 
- Definition The number of warrants issued in exchange for the original debt being converted in a noncash (or part noncash) transaction. "Part noncash" refers to that portion of the transaction not resulting in cash receipts or cash payments in the period. Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef 
 | 
| X | ||||||||||
| 
- Definition Amount of expense (income) related to adjustment to fair value of warrant liability. Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef 
 | 
| X | ||||||||||
| 
- Definition The aggregate amount paid by the entity to reacquire the right to purchase equity shares at a predetermined price, usually issued together with corporate debt. Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef 
 | 
| X | ||||||||||
| 
- Details 
 | 
| X | ||||||||||
| 
- Details 
 | 
| X | ||||||||||
| 
- Details 
 |