Debt - Carrying Amount of Liability Component (Details) - USD ($) $ in Thousands |
Mar. 31, 2024 |
Dec. 31, 2023 |
|---|---|---|
| Debt Instrument [Line Items] | ||
| Total debt | $ 429,838 | $ 429,095 |
| Convertible Debt | ||
| Debt Instrument [Line Items] | ||
| Less: Unamortized debt issuance costs | (1,289) | (1,426) |
| Notes Payable, current | 5,000 | 2,500 |
| Notes Payable, non-current | 145,000 | 147,500 |
| Less: Unamortized debt discount | (2,425) | (2,700) |
| Total debt | 146,286 | 145,874 |
| 2027 Notes | Convertible Debt | ||
| Debt Instrument [Line Items] | ||
| 2027 Notes, non-current | 287,500 | 287,500 |
| Less: Unamortized debt issuance costs | (3,948) | (4,279) |
| Total debt | $ 283,552 | $ 283,221 |
| 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 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 discount. 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://fasb.org/us-gaap/role/ref/legacyRef
|
| 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 Carrying value as of the balance sheet date of notes payable (with maturities initially due after one year or beyond the operating cycle if longer), excluding current portion. Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef
|
| X | ||||||||||
- Definition Sum of the carrying values as of the balance sheet date of the portions of long-term notes payable due within one year or the operating cycle if longer. Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef
|
| X | ||||||||||
- Details
|
| X | ||||||||||
- Details
|