Convertible Senior Notes - Net carrying amount (Details) - USD ($) $ in Thousands |
1 Months Ended | 12 Months Ended | |
|---|---|---|---|
Dec. 31, 2022 |
Dec. 31, 2024 |
Dec. 31, 2023 |
|
| Senior Convertible Notes | |||
| Current portion of convertible notes, net | $ (680,289) | $ 0 | |
| Long-term convertible notes carrying amount, net | 0 | 677,113 | |
| 2027 Notes | |||
| Senior Convertible Notes | |||
| Principal | $ 690,000 | 690,000 | 690,000 |
| Unamortized debt issuance costs | (9,711) | (12,887) | |
| Convertible notes carrying amount, net | 680,289 | $ 677,113 | |
| 2027 Notes | Convertible Debt | |||
| Senior Convertible Notes | |||
| Principal | $ 690,000 | ||
| Threshold percentage of stock price trigger | 130.00% | ||
| 2027 Notes | Debt Conversion Terms One | Convertible Debt | |||
| Senior Convertible Notes | |||
| Threshold percentage of stock price trigger | 130.00% |
| X | ||||||||||
- Definition Including the current and noncurrent portions, carrying amount of debt identified as being convertible into another form of financial instrument (typically the entity's common stock) as of the balance sheet date, which originally required full repayment more than twelve months after issuance or greater than the normal operating cycle of the company. Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef
|
| X | ||||||||||
- Definition Minimum percentage of common stock price to conversion price of convertible debt instruments to determine eligibility of conversion. No definition available.
|
| 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 of unamortized debt discount (premium) and debt issuance costs. Reference 1: http://www.xbrl.org/2003/role/exampleRef
|
| X | ||||||||||
- Definition Amount, after deduction of unamortized premium (discount) and debt issuance cost, of long-term debt classified as current. Excludes lease obligation. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
| X | ||||||||||
- Definition Amount, after deduction of unamortized premium (discount) and debt issuance cost, of long-term debt classified as noncurrent. Excludes lease obligation. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
| X | ||||||||||
- Details
|
| X | ||||||||||
- Details
|
| X | ||||||||||
- Details
|