LONG-TERM DEBT - Detail of Convertible Debt Carrying Amount (Details) - USD ($) $ in Thousands |
Mar. 31, 2021 |
Dec. 31, 2020 |
||||
---|---|---|---|---|---|---|
Accounting Standards Update 2020-06 | Embedded Derivative Financial Instruments | ||||||
Debt Instrument [Line Items] | ||||||
Carrying amount of the equity component, net of issuance costs | [1] | $ 7,969 | $ 7,969 | |||
Accounting Standards Update 2016-06 | Embedded Derivative Financial Instruments | ||||||
Debt Instrument [Line Items] | ||||||
Carrying amount of the equity component, net of issuance costs | 37,276 | 37,276 | ||||
Convertible debt | ||||||
Debt Instrument [Line Items] | ||||||
Principal | 93,130 | 93,130 | ||||
Unamortized issuance costs | (1,312) | (1,440) | ||||
Unamortized discount | (6,518) | (7,156) | ||||
Net carrying amount of the liability component | [2] | $ 85,300 | $ 84,534 | |||
|