DEBT - Schedule of Debt (Details) - USD ($) $ in Thousands |
Sep. 30, 2024 |
Dec. 31, 2023 |
|---|---|---|
| Short-Term Debt [Line Items] | ||
| Less: unamortized debt discount | $ (12,024) | $ (5,053) |
| Total convertible notes, net of discount | 618,683 | 325,654 |
| 2026 Notes | ||
| Short-Term Debt [Line Items] | ||
| Long-term debt, gross | 330,707 | 330,707 |
| 2031 Notes | ||
| Short-Term Debt [Line Items] | ||
| Long-term debt, gross | $ 300,000 | $ 0 |
| 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://fasb.org/us-gaap/role/ref/legacyRef
|
| X | ||||||||||
- Definition Amount, after accumulated amortization, of debt discount. Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef
|
| X | ||||||||||
- Definition Amount, after deduction of unamortized premium (discount) and debt issuance cost, of long-term debt. Excludes lease obligation. Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef
|
| 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 | ||||||||||
- Details
|
| X | ||||||||||
- Details
|