v3.26.1
Debt - Narrative (Details)
$ / shares in Units, shares in Millions
3 Months Ended 6 Months Ended
Jun. 30, 2026
USD ($)
$ / shares
Jun. 22, 2026
USD ($)
day
$ / shares
Jun. 17, 2026
USD ($)
May 01, 2025
USD ($)
Jan. 11, 2021
USD ($)
May 04, 2020
USD ($)
Jun. 30, 2026
USD ($)
day
$ / shares
Mar. 31, 2026
day
Jun. 30, 2025
USD ($)
Jun. 30, 2026
USD ($)
$ / shares
Jun. 30, 2025
USD ($)
Jun. 16, 2026
$ / shares
shares
Dec. 31, 2025
USD ($)
Nov. 01, 2020
Line of Credit Facility [Line Items]                            
Proceeds from issuance of convertible debt, net of discount                   $ 305,434,000 $ 0      
Share price (in dollars per share) | $ / shares                       $ 10.49    
Payments for premiums on capped call transactions     $ 28,700,000   $ 29,300,000         28,747,000 0      
Capped call transaction, number of underlying shares | shares                       22.3    
Capped call transactions, cap price (in dollars per share) | $ / shares                       $ 20.98    
Capped call transactions, premium percentage                       100.00%    
Capped call transactions, aggregate debt previously covered by capped call terminations $ 276,000,000.0 $ 276,000,000.0         $ 276,000,000.0     276,000,000.0        
Proceeds received from capped call terminations   100,000               77,000 0      
Repayment of convertible debt                   262,890,000 201,250,000      
Gain on debt extinguishment             $ 11,181,000   $ 0 $ 11,181,000 0      
2032 Convertible Notes | Convertible Debt                            
Line of Credit Facility [Line Items]                            
Debt instrument, face amount   $ 316,300,000                        
Stated interest rate (as a percent) 0.75% 0.75%         0.75%     0.75%        
Proceeds from issuance of convertible debt, net of discount   $ 305,700,000                        
Unamortized debt discount $ 9,455,000 9,500,000         $ 9,455,000     $ 9,455,000     $ 0  
Net offering expenses 1,078,000 $ 1,100,000         $ 1,078,000     1,078,000     0  
Cash offering expenses paid during the period $ 1,400,000                          
Threshold trading days (in days) | day   20                        
Consecutive trading days (in days) | day   30                        
Conversion price on applicable trading day (as a percent)   130.00%                        
Convertible notes, conversion price (in dollars per share)   0.0706140                        
Convertible notes, conversion price (in dollars per share) | $ / shares   $ 14.16                        
Convertible debt, conversion value in excess of principal amount                   $ 9,600,000        
Share price (in dollars per share) | $ / shares $ 14.59           $ 14.59     $ 14.59        
Redemption price of principal   100.00%                        
Cleanup redemption, outstanding debt threshold, percent   15.00%                        
Debt default, threshold of ownership by lender (at least)   25.00%                        
Interest expense, contractual coupon interest             $ 100,000   0 $ 100,000 0      
Interest expense, accretion of debt discount             38,000   0 38,000 0      
Interest expense, amortization of debt issuance costs             4,000   0 $ 4,000 0      
Effective interest rate on convertible notes (as a percent)                   1.33%        
Long-term debt $ 305,717,000           305,717,000     $ 305,717,000     $ 0  
2032 Convertible Notes | Convertible Debt | Estimate of Fair Value Measurement                            
Line of Credit Facility [Line Items]                            
Estimated fair value of debt 395,300,000           395,300,000     395,300,000        
2032 Convertible Notes | Convertible Debt | Reported Value Measurement                            
Line of Credit Facility [Line Items]                            
Estimated fair value of debt $ 305,700,000           $ 305,700,000     $ 305,700,000        
2032 Convertible Notes | Convertible Debt | Debt Instrument, Redemption, Period One                            
Line of Credit Facility [Line Items]                            
Threshold trading days (in days) | day   20                        
Consecutive trading days (in days) | day   30                        
Conversion price on applicable trading day (as a percent)   130.00%                        
2032 Convertible Notes | Convertible Debt | Debt Instrument, Redemption, Period Two                            
Line of Credit Facility [Line Items]                            
Threshold trading days (in days) | day   5                        
Consecutive trading days (in days) | day   10                        
Early conversion for notes, trading price of notes below threshold, percent   0.980                        
2028 Convertible Notes | Convertible Debt                            
Line of Credit Facility [Line Items]                            
Debt instrument, face amount         $ 345,000,000.0                  
Stated interest rate (as a percent) 0.25%       0.25%   0.25%     0.25%     0.25%  
Unamortized debt discount $ 465,000           $ 465,000     $ 465,000     $ 3,071,000  
Net offering expenses $ 11,000           $ 11,000     $ 11,000     71,000  
Convertible notes, conversion price (in dollars per share) | $ / shares $ 14.59           $ 14.59     $ 14.59        
Interest expense, contractual coupon interest             $ 200,000   200,000 $ 400,000 400,000      
Interest expense, accretion of debt discount             400,000   400,000 700,000 700,000      
Interest expense, amortization of debt issuance costs             8,000   8,600 $ 16,600 17,000      
Effective interest rate on convertible notes (as a percent)                   0.70%        
Repurchase amount   $ 274,100,000                        
Repayment of convertible debt   262,900,000                        
Gain on debt extinguishment   11,200,000                        
Unamortized debt discount, write-off   1,900,000                        
Accrued interest, write-off   300,000                        
Debt issuance costs, writeoff   $ 44,000                        
Long-term debt $ 68,524,000           68,524,000     $ 68,524,000     341,858,000  
2028 Convertible Notes | Convertible Debt | Estimate of Fair Value Measurement                            
Line of Credit Facility [Line Items]                            
Estimated fair value of debt 64,600,000           64,600,000     64,600,000     307,100,000  
2028 Convertible Notes | Convertible Debt | Reported Value Measurement                            
Line of Credit Facility [Line Items]                            
Estimated fair value of debt $ 68,500,000           $ 68,500,000     $ 68,500,000     $ 341,900,000  
2028 Convertible Notes | Convertible Debt | Debt Instrument, Redemption, Period One                            
Line of Credit Facility [Line Items]                            
Threshold trading days (in days) | day             20 20            
Consecutive trading days (in days) | day             30 30            
Conversion price on applicable trading day (as a percent)             130.00% 130.00%            
2025 Convertible Notes | Convertible Debt                            
Line of Credit Facility [Line Items]                            
Debt instrument, face amount           $ 201,300,000                
Stated interest rate (as a percent)           1.25%               1.25%
Interest expense, contractual coupon interest                 200,000   800,000      
Interest expense, accretion of debt discount                 100,000   400,000      
Interest expense, amortization of debt issuance costs                 $ 13,000   $ 52,000      
Effective interest rate on convertible notes (as a percent)           1.96%                
Long-term debt       $ 201,300,000                    
Outstanding interest, paid       $ 1,300,000