Debt - Schedule of Interest Expense (Details) - Convertible Debt - USD ($) $ in Thousands |
3 Months Ended | 6 Months Ended | ||
|---|---|---|---|---|
Jun. 30, 2024 |
Jun. 30, 2023 |
Jun. 30, 2024 |
Jun. 30, 2023 |
|
| Convertible Senior Notes, Due 2029 | ||||
| Debt Instrument [Line Items] | ||||
| Contractual interest expense | $ 1,869 | $ 2,492 | ||
| Amortization of issuance costs | 886 | 1,170 | ||
| Total interest expense | 2,755 | 3,662 | ||
| Convertible Senior Notes, Due 2025 | ||||
| Debt Instrument [Line Items] | ||||
| Contractual interest expense | 543 | $ 934 | 1,347 | $ 1,868 |
| Amortization of issuance costs | 549 | 931 | 1,339 | 1,839 |
| Total interest expense | $ 1,092 | $ 1,865 | $ 2,686 | $ 3,707 |
| X | ||||||||||
- Definition Amount of amortization expense attributable to debt issuance costs. 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/exampleRef
|
| 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
|
| X | ||||||||||
- Details
|