v3.26.1
Debt - Narrative (Details)
$ in Thousands, shares in Millions
6 Months Ended
Jul. 17, 2025
USD ($)
May 19, 2020
USD ($)
Jun. 30, 2026
USD ($)
day
shares
Dec. 31, 2025
USD ($)
2027 Notes, 2025 Notes and the 2022 Notes        
Debt Instrument [Line Items]        
Trading day observation period (in days) | day     25  
2027 Notes        
Debt Instrument [Line Items]        
Aggregate principal amount   $ 1,000,000 $ 1,000,000 $ 1,000,000
Interest rate   1.25%    
Net proceeds from issuance of debt   $ 975,900    
Offering costs   $ 24,100    
2027 Notes | Convertible Notes Payable        
Debt Instrument [Line Items]        
Principal multiple amount used in the conversion of the debt instrument     $ 1  
Convertible debt, threshold, trading days (in days) | day     20  
Convertible debt, threshold, consecutive trading days (in days) | day     30  
Minimum percentage of common stock price as a percentage of the conversion price     130.00%  
Convertible debt, business days, measurement period (in days) | day     5  
Convertible debt, consecutive trading days, measurement period (in days) | day     10  
Trading price threshold     98.00%  
Shares reserved for issuance (in shares) | shares     4.1  
The Revolving Credit Facility | Revolving Credit Facility | Secured Overnight Financing Rate (SOFR)        
Debt Instrument [Line Items]        
Basis spread on variable rate 1.00%      
The Revolving Credit Facility | Line of Credit | Revolving Credit Facility        
Debt Instrument [Line Items]        
Maximum borrowing capacity $ 300,000      
Term of debt agreement 5 years      
Unused capacity, commitment fee percentage 0.50%      
Payments of financing costs $ 4,100      
Unamortized debt issuance costs     $ 3,300  
Covenant maximum secured net leverage ratio 3.5      
Covenant, maximum secured net leverage ratio, covenant holiday following permitted acquisitions or collaborations 4.0      
Covenant minimum interest coverage ratio 3.0      
Letters of credit outstanding     2,800  
Line of credit facility, remaining borrowing capacity     $ 297,200  
The Revolving Credit Facility | Line of Credit | Revolving Credit Facility | Federal Fund Rate        
Debt Instrument [Line Items]        
Basis spread on variable rate 0.50%      
The Revolving Credit Facility | Line of Credit | Revolving Credit Facility | Minimum        
Debt Instrument [Line Items]        
Basis spread on variable rate 2.75%      
The Revolving Credit Facility | Line of Credit | Revolving Credit Facility | Minimum | Secured Overnight Financing Rate (SOFR)        
Debt Instrument [Line Items]        
Basis spread on variable rate 1.75%      
The Revolving Credit Facility | Line of Credit | Revolving Credit Facility | Maximum        
Debt Instrument [Line Items]        
Basis spread on variable rate 3.25%      
The Revolving Credit Facility | Line of Credit | Revolving Credit Facility | Maximum | Secured Overnight Financing Rate (SOFR)        
Debt Instrument [Line Items]        
Basis spread on variable rate 2.25%