v3.25.1
Debt - Schedule of Convertible Notes (Details) - USD ($)
$ in Thousands
Mar. 31, 2025
Dec. 31, 2024
Liability component:    
Total long-term debt outstanding $ 979,864 $ 995,047
Convertible senior notes due 2025 (the "2025 Notes")    
Liability component:    
Total long-term debt outstanding 390,537 390,175
Convertible senior notes due 2029 (the "2029 Notes")    
Liability component:    
Total long-term debt outstanding 450,646 450,081
Convertible Debt | Convertible senior notes due 2025 (the "2025 Notes")    
Liability component:    
Principal 390,719 390,719
Unamortized debt discount and debt issuance costs (182) (544)
Total long-term debt outstanding 390,537 390,175
Convertible Debt | Convertible senior notes due 2029 (the "2029 Notes")    
Liability component:    
Principal 460,000 460,000
Unamortized debt discount and debt issuance costs (9,354) (9,919)
Total long-term debt outstanding $ 450,646 $ 450,081