Subsequent Events - Additional Information (Details) - USD ($) $ in Thousands |
1 Months Ended | 12 Months Ended | |
|---|---|---|---|
Feb. 28, 2025 |
Dec. 31, 2025 |
Dec. 31, 2024 |
|
| Subsequent Event [Line Items] | |||
| Sublease term | 6 years | ||
| Sublease, option to terminate | expires on the earlier of January 31, 2031, or two months prior to such earlier date as the Master Lease (as defined in the Sublease) may otherwise expire or terminate. | ||
| Outstanding principal | $ 154,060 | ||
| 2026 Convertible Notes | |||
| Subsequent Event [Line Items] | |||
| Outstanding principal | 4,060 | $ 63,132 | |
| Repurchase Transactions | 2026 Convertible Notes | |||
| Subsequent Event [Line Items] | |||
| Debt instrument, repurchase amount | $ 59,100 | ||
| Debt repurchase cash consideration | 54,400 | ||
| Outstanding principal | $ 4,100 | ||
| Gain on repurchases of debt | 3,900 | ||
| Write-off of unamortized debt issuance costs | $ 600 |