Debt - Net Carrying Amount (Details) - USD ($) |
Sep. 30, 2023 |
Jan. 11, 2023 |
Dec. 31, 2022 |
Apr. 30, 2020 |
|---|---|---|---|---|
| Debt Instrument [Line Items] | ||||
| Total debt | $ 883,090,000 | $ 936,144,000 | ||
| Convertible senior notes | ||||
| Debt Instrument [Line Items] | ||||
| Net carrying amount | 527,000,000 | 380,000,000 | ||
| The Notes | Convertible senior notes | ||||
| Debt Instrument [Line Items] | ||||
| Principal | 380,000,000 | 380,000,000 | $ 380,000,000 | |
| Unamortized issuance costs | (3,331,000) | (4,898,000) | ||
| Net carrying amount | 376,669,000 | $ 375,102,000 | ||
| 2030 Notes | Convertible senior notes | ||||
| Debt Instrument [Line Items] | ||||
| Principal | 147,000,000 | $ 147,000,000 | ||
| Unamortized issuance costs | (19,867,000) | |||
| Total debt | $ 127,133,000 |
| 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://fasb.org/us-gaap/role/ref/legacyRef
|
| X | ||||||||||
- Definition Face (par) amount of debt instrument at time of issuance. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
| 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://fasb.org/us-gaap/role/ref/legacyRef
|
| 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
|