Debt - Schedule of Net Carrying Amount of the Liability Component of the Notes (Details) - Convertible Debt - USD ($) $ in Thousands |
Mar. 31, 2024 |
Dec. 31, 2023 |
|---|---|---|
| Convertible Senior Notes, Due 2025 | ||
| Debt Instrument [Line Items] | ||
| Principal | $ 747,500 | $ 747,500 |
| Unamortized issuance costs | (2,590) | (5,375) |
| Principal repaid | (313,095) | 0 |
| Net carrying amount | 431,815 | $ 742,125 |
| Convertible Senior Notes, Due 2029 | ||
| Debt Instrument [Line Items] | ||
| Unamortized issuance costs | (18,343) | |
| Net carrying amount | $ 729,157 |
| X | ||||||||||
- Definition Long Term Debt, Excluding Principal Repaid No definition available.
|
| X | ||||||||||
- Definition Amount of the total principal payments made during the annual reporting period. 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/disclosureRef
|
| X | ||||||||||
- Definition Amount, before 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
|