v3.25.1
Convertible Senior Notes and Capped Call Transactions - Narrative (Details)
$ / shares in Units, $ in Thousands
1 Months Ended 3 Months Ended 12 Months Ended
Jun. 13, 2024
USD ($)
Jun. 03, 2024
USD ($)
$ / shares
shares
Mar. 21, 2023
USD ($)
Dec. 31, 2020
USD ($)
Jun. 30, 2024
USD ($)
d
day
Dec. 31, 2020
USD ($)
day
shares
Mar. 31, 2019
USD ($)
Mar. 31, 2025
USD ($)
shares
Jun. 30, 2024
USD ($)
Mar. 31, 2024
USD ($)
Dec. 31, 2024
USD ($)
Dec. 31, 2020
USD ($)
Mar. 31, 2025
$ / shares
Dec. 31, 2024
$ / shares
Dec. 31, 2023
$ / shares
Debt Instrument [Line Items]                              
Debt instrument, repurchase amount     $ 149,700                        
Debt instrument, increase (decrease), net     157,500                        
Convertible senior notes (Note 8)               $ 528,858     $ 527,070        
Number of shares of common stock covered by called caps (shares) | shares           6,880,000                  
Reduction to additional paid-in-capital related to called caps           $ 46,100                  
Interest expense               7,478   $ 701          
Common stock, par value (in dollars per share) | (per share)                         $ 0.001 $ 0.001 $ 0.001
Amortization of debt issuance costs and accretion of debt discount               $ (1,788)   (610)          
Class of Warrant or Right, Exercise Price of Warrants or Rights | $ / shares   $ 0.75                          
Class of Warrant or Right, Number of Securities Called by Warrants or Rights | shares   9,746,723                          
Class of Warrant or Right, Outstanding | shares               13,225,212              
Class of Warrant or Right, Beneficial Ownership Limitation, Percentage         4.99%                    
Class of Warrant or Right, Beneficial Ownership Limitation, Term of Investor Notice         61 days                    
Class of Warrant or Right, Beneficial Ownership Limitation, Maximum Percentage         9.99%                    
Warrants and Rights Outstanding   $ 5,300           $ 8,700              
Fair Value Adjustment of Warrants               8,824   0 (12,232)        
Share-Settled Warrants                              
Debt Instrument [Line Items]                              
Warrants and Rights Outstanding, Term   10 years                          
Cash-Settled Warrants                              
Debt Instrument [Line Items]                              
Warrants and Rights Outstanding, Term   10 years                          
Class of Warrant or Right, Exercise Price of Warrants or Rights | $ / shares   $ 0.75                          
Class of Warrant or Right, Number of Securities Called by Warrants or Rights | shares   2,344,775                          
Class of Warrant or Right, Available Cash   $ 100,000                          
Class of Warrant or Right, Settlement Amount, Annualized Interest Rate         6.00%                    
Convertible Debt                              
Debt Instrument [Line Items]                              
Principal Balance               568,329     568,329        
Debt Issuance Costs, Net               9,490     10,122        
Long-Term Debt, Gross               528,858     527,070        
Unamortized issuance costs               (29,981)     (31,137)        
2024 Notes                              
Debt Instrument [Line Items]                              
Principal Balance               72,000              
Debt instrument, increase (decrease), net     $ 228,300                        
Unamortized issuance costs                     0        
2024 Notes | Convertible Debt                              
Debt Instrument [Line Items]                              
Principal Balance             $ 230,000     $ 72,500 361,204        
Debt instrument stated rate (percent)             0.75%                
Debt Issuance Costs, Net                     2,757        
Long-Term Debt, Gross                     358,447        
Unamortized issuance costs                     0        
Debt Instrument, Convertible, Conversion Ratio             0.0259182                
2026 Notes                              
Debt Instrument [Line Items]                              
Debt instrument, repurchase amount $ 10,300                            
Gain (loss) on extinguishment of debt                 $ 5,000            
Convertible senior notes (Note 8)               358,800              
Repayments of Convertible Debt $ 4,900                            
Unamortized issuance costs               0     (31,137)        
2026 Notes | Debt Instrument, Redemption, First Lien Convertible Notes                              
Debt Instrument [Line Items]                              
Debt Instrument, Redemption, Number Of Days Before Maturity         91 days                    
2026 Notes | Investor                              
Debt Instrument [Line Items]                              
Principal Balance   146,000     $ 146,000       146,000            
2026 Notes | Convertible Debt                              
Debt Instrument [Line Items]                              
Principal Balance       $ 517,500   $ 517,500   361,204     207,125 $ 517,500      
Debt instrument stated rate (percent)             0.00%                
Proceeds from debt offering, net of debt issuance costs                       $ 505,300      
Percentage of principal amount paid if repurchase due to fundamental change (percent)           100.00%                  
Threshold trading days in consideration of note conversion | day           20                  
Threshold consecutive trading days in analysis of conversion price | day           30                  
Threshold percentage of stock price if converted           130.00%                  
Debt Instrument, Convertible Business Period       5 years                      
Debt Instrument, Convertible, Measurement Period       5 years                      
Threshold for five day period, product of sale price of common stock and conversion rate of notes           98.00%                  
Debt Issuance Costs, Net               $ 2,398     7,365        
Remaining amortization period for debt discount and debt issuance costs               1 year 8 months 12 days              
Effective interest rate (percent)               0.40%              
Convertible debt conversion price (in dollars per share) | $ / shares                             75.23
Debt Instrument, Convertible, Threshold Principal Amount         $ 60,000                    
Long-Term Debt, Gross               $ 358,806     168,623        
Unamortized issuance costs               0     (31,137)        
Debt Instrument, Convertible, Conversion Ratio       0.0132933                      
Capped calls                              
Debt Instrument [Line Items]                              
Capped caps initial strike price (in dollars per share) | $ / shares                             75.23
Capped caps initial cap price (in dollars per share) | $ / shares                             $ 105.58
Convertible Senior Notes Due 2029                              
Debt Instrument [Line Items]                              
Principal Balance                     50,000        
Unamortized issuance costs               (29,981)              
Convertible Senior Notes Due 2029 | Debt Instrument, Redemption, First Lien Convertible Notes                              
Debt Instrument [Line Items]                              
Percentage of principal amount paid if repurchase due to fundamental change (percent)         100.00%                    
Debt Instrument, Redemption Price, Discount Percentage, Basis Points         0.0050                    
Convertible Senior Notes Due 2029 | Investor                              
Debt Instrument [Line Items]                              
Principal Balance         $ 100,000       100,000            
Debt instrument, repurchase amount         50,000       50,000   $ 50,000        
Class of Warrant Or Right, Additional Amount Authorized For Purchase   $ 50,000                          
Convertible Senior Notes Due 2029 | Convertible Debt                              
Debt Instrument [Line Items]                              
Principal Balance         150,000     207,125 150,000            
Debt Issuance Costs, Net               $ 7,092              
Remaining amortization period for debt discount and debt issuance costs               4 years 2 months 12 days              
Debt issuance costs attributable to liability         7,600       7,600            
Long-Term Debt, Fair Value         118,100       118,100            
Debt Instrument, Discount, Gross         31,900       31,900            
Debt Instrument, Covenant, Maximum Amount, Junior In Lien Priority         150,000                    
Debt Instrument, Covenant, Minimum Required Cash Balance         60,000                    
Long-Term Debt, Gross               $ 170,052              
Amortization of debt issuance costs and accretion of debt discount         $ (7,100)                    
Unamortized issuance costs               $ (29,981)              
Debt Instrument, Interest Rate, Effective Percentage               19.18%              
Convertible Senior Notes Due 2029 | Convertible Debt | Debt Conversion Terms One                              
Debt Instrument [Line Items]                              
Threshold trading days in consideration of note conversion | day         20                    
Threshold consecutive trading days in analysis of conversion price | day         30                    
Threshold percentage of stock price if converted         130.00%                    
Convertible Senior Notes Due 2029 | Convertible Debt | Debt Conversion Terms Two                              
Debt Instrument [Line Items]                              
Threshold trading days in consideration of note conversion | d         5                    
Threshold for five day period, product of sale price of common stock and conversion rate of notes         98.00%                    
Convertible Senior Notes Due 2029 | Convertible Debt | Earlier Of The Date of Issuance of Delayed Draw Notes And December 15. 2026                              
Debt Instrument [Line Items]                              
Debt instrument stated rate (percent)   10.83%                          
Debt Instrument, Interest Rate, Stated Percentage, Cash   4.17%                          
Debt Instrument, Interest Rate, Stated Percentage, Paid In Kind   6.66%                          
Convertible Senior Notes Due 2029 | Convertible Debt | From Date of Issuance of Delayed Draw Notes And Prior to December 15, 2026                              
Debt Instrument [Line Items]                              
Debt instrument stated rate (percent)   11.375%                          
Debt Instrument, Interest Rate, Stated Percentage, Cash   4.375%                          
Debt Instrument, Interest Rate, Stated Percentage, Paid In Kind               7.00%              
Convertible Senior Notes Due 2029 | Convertible Debt | On Or After December 15, 2026                              
Debt Instrument [Line Items]                              
Debt instrument stated rate (percent)   13.00%                          
Debt Instrument, Interest Rate, Stated Percentage, Cash   5.00%                          
Debt Instrument, Interest Rate, Stated Percentage, Paid In Kind   8.00%                          
Debt Instrument, Interest Rate, Effective Percentage               13.25%              
Convertible Senior Notes Due 2029 | Convertible Debt | Debt Instrument, Redemption, Period One                              
Debt Instrument [Line Items]                              
Debt Instrument, Redemption Price, Percentage of Principal Amount Redeemed         106.50%                    
Convertible Senior Notes Due 2029 | Convertible Debt | Debt Instrument, Redemption, Period Two                              
Debt Instrument [Line Items]                              
Debt Instrument, Redemption Price, Percentage of Principal Amount Redeemed         103.25%                    
Convertible Senior Notes Due 2029 | Convertible Debt | Debt Instrument, Redemption, Period Three                              
Debt Instrument [Line Items]                              
Debt Instrument, Redemption Price, Percentage of Principal Amount Redeemed         113.00%                    
Convertible Senior Notes Due 2029 | Convertible Debt | Debt Instrument, Redemption, Fundamental Change                              
Debt Instrument [Line Items]                              
Percentage of principal amount paid if repurchase due to fundamental change (percent)         100.00%                    
Debt Instrument, Redemption Price, Discount Percentage, Basis Points         0.0050                    
Debt Instrument, Redemption Price, Remaining Future Interest Payments, Percentage         66.00%                    
Exchange and Purchase Agreement                              
Debt Instrument [Line Items]                              
Gain (loss) on extinguishment of debt                 $ 68,100