v3.26.1
Commitments and Contingencies - Additional Information (Details)
1 Months Ended 3 Months Ended 6 Months Ended
Jun. 09, 2025
$ / shares
shares
Jun. 30, 2025
USD ($)
BusinessDay
TradingDays
$ / shares
Feb. 28, 2022
USD ($)
TradingDays
BusinessDay
$ / shares
Jun. 30, 2026
USD ($)
shares
Jun. 30, 2025
USD ($)
$ / shares
Jun. 30, 2022
TradingDays
Jun. 30, 2026
USD ($)
TradingDays
$ / shares
shares
Jun. 30, 2025
USD ($)
$ / shares
Dec. 31, 2025
USD ($)
shares
Debt Instrument [Line Items]                  
Net proceeds from issuance of notes, net of debt issuance costs             $ 0 $ 250,000,000  
Payments for repurchase of convertible notes             0 215,992,000  
Loss on debt extinguishment             0 16,430,000  
Aggregate principal amount outstanding       $ 335,805,000     $ 335,805,000   $ 335,805,000
Common stock, initial strike price | $ / shares             $ 63.35    
Purchase of capped calls         $ 17,475,000   $ 17,500,000 17,475,000  
Purchase of treasury stock, shares | shares       220,994     220,994   220,994
Treasury stock repurchase costs         $ 8,080,000   $ 8,100,000 $ 8,080,000  
Percentage of employee's matching contribution       50.00% 50.00%   50.00% 50.00%  
Maximum percentage of employee contributions       6.00% 6.00%   6.00% 6.00%  
Total matching contribution       $ 900,000 $ 700,000   $ 1,700,000 $ 1,300,000  
Class A Common Stock                  
Debt Instrument [Line Items]                  
Purchase of treasury stock, shares | shares 220,994                
Average price, per share | $ / shares $ 36.2                
Employee Termination Benefits                  
Debt Instrument [Line Items]                  
Employee termination costs         $ 100,000     $ 1,600,000  
2030 Notes                  
Debt Instrument [Line Items]                  
Indenture date   Jun. 12, 2025              
Net proceeds from issuance of notes, net of debt issuance costs   $ 241,400,000              
Debt instrument, interest rate   0.75%     0.75%     0.75%  
Debt instrument, frequency of periodic payment   semiannually              
Debt instrument, maturity date   Jun. 15, 2030              
Debt instrument, convertible, stock price trigger | $ / shares   $ 1,000              
Debt instrument, convertible, threshold percentage of stock price trigger   130.00%         130.00%    
Debt instrument, redemption price, percentage of principal amount redeemed   100.00%              
Number of trading days | TradingDays   20         20    
Number of consecutive trading days | TradingDays   30         30    
Debt instrument, effective interest rate       1.40%     1.40%    
Aggregate principal amount outstanding       $ 250,000,000     $ 250,000,000   $ 250,000,000
2030 Notes | Class A Common Stock                  
Debt Instrument [Line Items]                  
Debt instrument conversion rate   21.2495              
Debt instrument, convertible, stock price trigger | $ / shares   $ 1,000              
Debt instrument conversion price | $ / shares   $ 47.06     $ 47.06     $ 47.06  
Number of consecutive trading days | BusinessDay   10              
Number of business day | BusinessDay   5              
2030 Notes | Maximum                  
Debt Instrument [Line Items]                  
Additional principal amount   $ 25,000,000     $ 25,000,000     $ 25,000,000  
2030 Notes | Maximum | Class A Common Stock                  
Debt Instrument [Line Items]                  
Percentage of sales price and applicable conversion rate   98.00%              
2030 Notes | Private Offering                  
Debt Instrument [Line Items]                  
Aggregate principal amount   $ 250,000,000     $ 250,000,000     $ 250,000,000  
2027 Notes                  
Debt Instrument [Line Items]                  
Indenture date     Feb. 04, 2022            
Net proceeds from issuance of notes, net of debt issuance costs     $ 278,200,000            
Debt instrument, interest rate     1.00%            
Debt instrument, maturity date     Feb. 01, 2027            
Debt instrument, convertible, stock price trigger | $ / shares     $ 1,000            
Debt instrument, convertible, threshold percentage of stock price trigger     130.00%     130.00%      
Debt instrument, redemption price, percentage of principal amount redeemed     100.00%            
Number of trading days | TradingDays     20     20      
Number of consecutive trading days | TradingDays     30     30      
Debt instrument, effective interest rate       1.60%     1.60%    
Debt instrument, repurchase amount       $ 201,700,000     $ 201,700,000    
Payments for repurchase of convertible notes             216,700,000    
Payment of debt accrued interest             700,000    
Payment for debt premium writeoff             14,300,000    
Loss on debt extinguishment             16,400,000    
Deferred costs write-off             2,100,000    
Aggregate principal amount outstanding       $ 85,805,000     $ 85,805,000   $ 85,805,000
2027 Notes | Class A Common Stock                  
Debt Instrument [Line Items]                  
Debt instrument conversion rate     17.8213            
Debt instrument, convertible, stock price trigger | $ / shares     $ 1,000            
Debt instrument conversion price | $ / shares     $ 56.11            
Number of consecutive trading days | BusinessDay     10            
Number of business day | BusinessDay     5            
2027 Notes | Maximum | Class A Common Stock                  
Debt Instrument [Line Items]                  
Percentage of sales price and applicable conversion rate     98.00%            
2027 Notes | Private Offering                  
Debt Instrument [Line Items]                  
Aggregate principal amount     $ 287,500,000