Debt - Net Carrying Amount (Details) - USD ($) |
Jun. 30, 2024 |
Dec. 31, 2023 |
Jan. 31, 2023 |
Jan. 11, 2023 |
Apr. 30, 2020 |
|---|---|---|---|---|---|
| Debt Instrument [Line Items] | |||||
| Total debt | $ 908,298,000 | $ 904,729,000 | |||
| 2025 Notes | Convertible Debt | |||||
| Debt Instrument [Line Items] | |||||
| Principal | 380,000,000 | 380,000,000 | $ 380,000,000 | ||
| Unamortized issuance costs | (1,757,000) | (2,807,000) | |||
| Total debt | 378,243,000 | 377,193,000 | |||
| 2030 Notes | Convertible Debt | |||||
| Debt Instrument [Line Items] | |||||
| Principal | 147,000,000 | 147,000,000 | $ 147,000,000 | $ 147,000,000 | |
| Unamortized issuance costs | (17,662,000) | (19,136,000) | |||
| Total debt | $ 129,338,000 | $ 127,864,000 |
| 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/exampleRef
|
| 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://fasb.org/us-gaap/role/ref/legacyRef
|
| X | ||||||||||
- Details
|
| X | ||||||||||
- Details
|
| X | ||||||||||
- Details
|