Debt - Schedule of Outstanding Debt Obligations (Details) - USD ($) $ in Thousands |
Mar. 31, 2025 |
Dec. 31, 2024 |
|---|---|---|
| Debt Instrument | ||
| Total long-term debt outstanding | $ 979,864 | $ 995,047 |
| Less: Convertible senior notes, current | 390,537 | 390,175 |
| Less: Long-term debt, current | 39,449 | 38,904 |
| Total long-term debt | $ 549,878 | 565,968 |
| Convertible senior notes due 2025 (the "2025 Notes") | ||
| Debt Instrument | ||
| Interest rate (as a percent) | 1.50% | |
| Total long-term debt outstanding | $ 390,537 | 390,175 |
| Convertible senior notes due 2029 (the "2029 Notes") | ||
| Debt Instrument | ||
| Interest rate (as a percent) | 0.625% | |
| Total long-term debt outstanding | $ 450,646 | 450,081 |
| Non-revolving Loan | ||
| Debt Instrument | ||
| Interest rate (as a percent) | 7.61% | |
| Total long-term debt outstanding | $ 307 | 510 |
| Master Vehicle Loan | ||
| Debt Instrument | ||
| Total long-term debt outstanding | $ 138,374 | $ 154,281 |
| Master Vehicle Loan | Minimum | ||
| Debt Instrument | ||
| Interest rate (as a percent) | 5.10% | |
| Master Vehicle Loan | Maximum | ||
| Debt Instrument | ||
| Interest rate (as a percent) | 7.10% |
| X | ||||||||||
- Definition The portion of the carrying value of long-term convertible debt as of the balance sheet date that is scheduled to be repaid within one year or in the normal operating cycle if longer. Convertible debt is a financial instrument which can be exchanged for a specified amount of another security, typically the entity's common stock, at the option of the issuer or the holder. Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef
|
| X | ||||||||||
- Definition Contractual interest rate for funds borrowed, under the debt agreement. 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, 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 | ||||||||||
- 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
|
| X | ||||||||||
- Details
|
| X | ||||||||||
- Details
|
| X | ||||||||||
- Details
|