DEBT - Summary of Interest Expense (Details) - USD ($) $ in Thousands |
12 Months Ended | |
|---|---|---|
Dec. 31, 2021 |
Dec. 31, 2020 |
|
| Debt Instrument [Line Items] | ||
| Amortization of debt discounts, and royalty rights | $ 194 | $ 5,680 |
| Interest expense | 10,220 | 15,925 |
| Convertible debt | ||
| Debt Instrument [Line Items] | ||
| Interest Expense, Debt, Excluding Amortization | 6 | 1,727 |
| Senior Notes | ||
| Debt Instrument [Line Items] | ||
| Interest Expense, Debt, Excluding Amortization | 0 | 1,648 |
| Senior Notes | 13% Senior Secured Note due 2024 | ||
| Debt Instrument [Line Items] | ||
| Interest Expense, Debt, Excluding Amortization | $ 10,020 | $ 6,870 |