v3.25.1
Debt Instruments - Schedule of Carrying Values of Debt Agreements (Details) - USD ($)
$ in Thousands
3 Months Ended 12 Months Ended
Mar. 31, 2025
Dec. 31, 2024
Debt Instrument [Line Items]    
Less: current portion of long-term debt $ (187,871) $ 0
Convertible Debt | 2026 And 2028 Convertible Notes    
Debt Instrument [Line Items]    
Principal amount 338,594 338,594
Less: unamortized debt issuance costs (126) (980)
Less: current portion of long-term debt (188,594) 0
Long-term debt, less current portion $ 149,874 $ 337,614
Convertible Debt | 2026 Convertible Notes    
Debt Instrument [Line Items]    
Effective interest rate 0.38% 0.38%
Convertible Debt | 2028 Convertible Notes    
Debt Instrument [Line Items]    
Effective interest rate 7.77% 7.77%