Long-term Debt - Summary of Outstanding Principal Amount and Carrying Value (Details) - USD ($) $ in Thousands |
Jun. 30, 2026 |
Dec. 31, 2025 |
|---|---|---|
| Debt Instrument [Line Items] | ||
| Principal Amount | $ 247,302 | $ 287,498 |
| Unamortized debt issuance costs | (5,362) | (6,612) |
| Net Carrying Amount | 241,940 | 280,886 |
| Short-term Debt | ||
| Debt Instrument [Line Items] | ||
| Principal Amount | 57,302 | 97,498 |
| Unamortized debt issuance costs | (283) | (753) |
| Net Carrying Amount | 57,019 | 96,745 |
| Long-term Debt | ||
| Debt Instrument [Line Items] | ||
| Principal Amount | 190,000 | 190,000 |
| Unamortized debt issuance costs | (5,079) | (5,859) |
| Net Carrying Amount | 184,921 | 184,141 |
| 2021 Convertible Senior Notes due 2027 | ||
| Debt Instrument [Line Items] | ||
| Principal Amount | 57,302 | 97,498 |
| Unamortized debt issuance costs | (283) | (753) |
| Net Carrying Amount | 57,019 | 96,745 |
| 2025 Convertible Senior Notes due 2029 | ||
| Debt Instrument [Line Items] | ||
| Principal Amount | 190,000 | 190,000 |
| Unamortized debt issuance costs | (5,079) | (5,859) |
| Net Carrying Amount | $ 184,921 | $ 184,141 |
| 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/2009/role/commonPracticeRef
|
| 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://www.xbrl.org/2003/role/disclosureRef
|
| X | ||||||||||
- Details
|
| X | ||||||||||
- Details
|
| X | ||||||||||
- Details
|
| X | ||||||||||
- Details
|