Debt - Schedule of Interest Expense Related to the Convertible Senior Notes (Details) - USD ($) $ in Thousands |
3 Months Ended | 6 Months Ended | ||
|---|---|---|---|---|
Jun. 30, 2026 |
Jun. 30, 2025 |
Jun. 30, 2026 |
Jun. 30, 2025 |
|
| Debt Instrument [Line Items] | ||||
| Contractual interest expense | $ 7,595 | $ 7,801 | $ 14,603 | $ 16,221 |
| Convertible Senior Notes | Convertible Debt | ||||
| Debt Instrument [Line Items] | ||||
| Contractual interest expense | 0 | 128 | 107 | 256 |
| Amortization of debt issuance costs | 0 | 294 | 252 | 587 |
| Total interest expense | $ 0 | $ 422 | $ 359 | $ 843 |
| Effective interest rate (in percent) | 0.82% | 0.82% | 0.82% | 0.82% |
| X | ||||||||||
- Definition Amount of amortization expense attributable to debt issuance costs. Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef
|
| X | ||||||||||
- Definition Effective interest rate for the funds borrowed under the debt agreement considering interest compounding and original issue discount or premium. 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 of interest expense classified as operating and nonoperating. Includes, but is not limited to, cost of borrowing accounted for as interest expense. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
| X | ||||||||||
- Definition Amount of the cost of borrowed funds accounted for as interest expense for debt. Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef
|
| X | ||||||||||
- Details
|
| X | ||||||||||
- Details
|