CONVERTIBLE NOTES PAYABLE - Summary of Long-term Debt Instruments (Details) - Senior Notes - USD ($) $ in Thousands |
Jun. 30, 2025 |
Dec. 31, 2024 |
Mar. 11, 2022 |
Sep. 10, 2018 |
---|---|---|---|---|
Debt Instrument [Line Items] | ||||
Total convertible senior notes, net of unamortized debt discount and debt issuance costs | $ 379,854 | $ 378,988 | ||
Senior Notes Due 2029 | ||||
Debt Instrument [Line Items] | ||||
Interest rate percentage | 2.25% | 2.25% | 2.25% | |
Convertible senior notes | $ 316,250 | $ 316,250 | ||
Unamortized debt issuance costs | $ (5,234) | $ (5,940) | ||
Senior Notes Due 2025 | ||||
Debt Instrument [Line Items] | ||||
Interest rate percentage | 2.50% | 2.50% | 2.50% | |
Convertible senior notes | $ 68,904 | $ 68,904 | ||
Unamortized debt issuance costs | $ (66) | $ (226) |
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 Contractual interest rate for funds borrowed, under the debt agreement. 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. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
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 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 | ||||||||||
- Details
|
X | ||||||||||
- Details
|
X | ||||||||||
- Details
|