BORROWINGS - Schedule of Borrowings (Details) - USD ($) $ in Thousands |
Dec. 31, 2022 |
Dec. 31, 2021 |
---|---|---|
Debt Instrument [Line Items] | ||
Senior Secured Convertible Notes, current | $ 163,556 | $ 0 |
Senior Secured Convertible Notes, non-current | 382,208 | 53,687 |
Principal repayment obligation | 557,678 | 56,500 |
Unamortized DFC | (11,914) | (2,813) |
Carrying value | 545,764 | 53,687 |
Senior Secured Convertible Notes due 2025 | ||
Debt Instrument [Line Items] | ||
Principal repayment obligation, current | 166,666 | |
Unamortized DFC, current | (3,110) | |
Senior Secured Convertible Notes, current | 163,556 | |
Principal repayment obligation, non-current | 333,334 | |
Unamortized DFC, noncurrent | (6,219) | |
Senior Secured Convertible Notes, non-current | 327,115 | |
Senior Notes due 2028 | ||
Debt Instrument [Line Items] | ||
Principal repayment obligation, non-current | 57,678 | 56,500 |
Unamortized DFC, noncurrent | (2,585) | (2,813) |
Senior Secured Convertible Notes, non-current | $ 55,093 | $ 53,687 |
X | ||||||||||
- Definition Long-Term Debt, Current Maturities, Gross No definition available.
|
X | ||||||||||
- Definition Long-Term Debt, Excluding Current Maturities, Gross No definition available.
|
X | ||||||||||
- Definition Amount, before unamortized (discount) premium and debt issuance costs, of long-term debt. Includes, but is not limited to, notes payable, bonds payable, commercial loans, mortgage loans, convertible debt, subordinated debt and other types of debt. 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 | ||||||||||
- Definition Amount, after accumulated amortization, of debt issuance costs classified as current. Includes, but is not limited to, legal, accounting, underwriting, printing, and registration costs. Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef
|
X | ||||||||||
- Definition Amount, after accumulated amortization, of debt issuance costs. Includes, but is not limited to, legal, accounting, underwriting, printing, and registration costs. Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef
|
X | ||||||||||
- Definition Amount, after accumulated amortization, of debt issuance costs classified as noncurrent. Includes, but is not limited to, legal, accounting, underwriting, printing, and registration costs. Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef
|
X | ||||||||||
- Definition Amount, excluding unamortized premium (discount) and debt issuance cost, of long-term debt. Excludes lease obligation. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
X | ||||||||||
- Definition Amount, after unamortized (discount) premium and debt issuance costs, of long-term debt, classified as current. Includes, but not limited to, notes payable, bonds payable, debentures, mortgage loans and commercial paper. Excludes capital lease obligations. Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef
|
X | ||||||||||
- Definition Amount, excluding unamortized premium (discount) and debt issuance cost, of long-term debt classified as noncurrent. Excludes lease obligation. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
X | ||||||||||
- Details
|
X | ||||||||||
- Details
|