Debt - Schedule of Net Carrying Amount of Liability Components of Convertible Notes (Details) - Convertible Notes - USD ($) |
Jun. 30, 2026 |
Jun. 18, 2026 |
Mar. 01, 2026 |
Dec. 31, 2025 |
Mar. 31, 2021 |
Feb. 28, 2020 |
|---|---|---|---|---|---|---|
| Debt Instrument [Line Items] | ||||||
| Total net carrying amount | $ 330,769,000 | $ 255,189,000 | ||||
| 2026 Convertible Notes: | ||||||
| Debt Instrument [Line Items] | ||||||
| Principal | 0 | $ 7,600,000 | 7,633,000 | $ 400,000,000.0 | ||
| Unamortized debt issuance costs | 0 | (6,000) | ||||
| Total net carrying amount | 0 | 7,627,000 | ||||
| 2028 Convertible Notes: | ||||||
| Debt Instrument [Line Items] | ||||||
| Principal | 27,508,000 | 250,000,000 | $ 250,000,000.0 | |||
| Unamortized debt issuance costs | (209,000) | (2,438,000) | ||||
| Total net carrying amount | 27,299,000 | 247,562,000 | ||||
| 2032 Convertible Notes: | ||||||
| Debt Instrument [Line Items] | ||||||
| Principal | 316,250,000 | $ 316,300,000 | 0 | |||
| Unamortized debt issuance costs | (12,780,000) | 0 | ||||
| Total net carrying amount | $ 303,470,000 | $ 0 |
| X | ||||||||||
- Definition Face (par) amount of debt instrument at time of issuance. Reference 1: http://www.xbrl.org/2003/role/exampleRef
|
| 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
|