v3.26.1
Debt - Narrative (Details)
1 Months Ended 3 Months Ended 6 Months Ended
Apr. 30, 2025
Apr. 29, 2025
Mar. 13, 2025
USD ($)
day
$ / shares
Feb. 27, 2025
USD ($)
Jul. 01, 2024
Jan. 31, 2026
Dec. 31, 2025
Jul. 31, 2025
Apr. 30, 2025
Jun. 30, 2026
USD ($)
$ / shares
Jun. 30, 2025
USD ($)
Jun. 30, 2026
USD ($)
$ / shares
Jun. 30, 2025
USD ($)
May 01, 2026
USD ($)
Apr. 03, 2026
USD ($)
Mar. 31, 2025
USD ($)
Apr. 29, 2022
USD ($)
Debt Instrument [Line Items]                                  
Debt instrument, interest rate, effective percentage                   2.14%   2.14%          
Adjustments to additional paid in capital option indexed to issuers equity                   $ 33,900,000   $ 33,900,000          
Option indexed to issuer's equity, strike price (in dollars per share) | $ / shares                       $ 32.82          
Derivatives initial cap price (in dollars per share) | $ / shares                   $ 47.74   $ 47.74          
Derivative                                  
Debt Instrument [Line Items]                                  
Derivative liability                   $ 330,000,000   $ 330,000,000          
Third Amendment | Line of Credit                                  
Debt Instrument [Line Items]                                  
Revenue growth requirement (as a percent)                                 10.00%
Liquidity requirement                                 $ 35,000,000.0
Maximum consolidated total leverage ratio   5.50               3.50   3.50          
Minimum consolidated interest coverage ratio   3.00                              
Third Amendment | Line of Credit | Debt Instrument, Redemption, Period One                                  
Debt Instrument [Line Items]                                  
Covenant, required free cash flow                       $ (25,000,000.0)          
Third Amendment | Line of Credit | Debt Instrument, Redemption, Period Two                                  
Debt Instrument [Line Items]                                  
Covenant, required free cash flow                       0          
2030 Convertible Notes | Convertible Notes Payable                                  
Debt Instrument [Line Items]                                  
Net carrying amount                   $ 337,204,000   337,204,000          
Interest expense, debt                   1,792,000 $ 1,781,000 3,562,000 $ 2,133,000        
Debt instrument, face amount     $ 345,000,000                            
Debt instrument, interest rate, stated percentage     1.50%                            
Debt instrument, convertible, conversion price (in dollars per share) | $ / shares     $ 32.82                            
Debt instrument, convertible, threshold trading days | day     20                            
Debt instrument, convertible, threshold consecutive trading days | day     30                            
Debt instrument, convertible, minimum aggregate principal amount outstanding     $ 75,000,000.0                            
2030 Convertible Notes | Convertible Notes Payable | Debt Conversion Terms One                                  
Debt Instrument [Line Items]                                  
Debt instrument, convertible, threshold percentage of stock price trigger     130.00%                            
Debt instrument, convertible, threshold trading days | day     20                            
Debt instrument, convertible, threshold consecutive trading days | day     30                            
2030 Convertible Notes | Convertible Notes Payable | Debt Conversion Terms Two                                  
Debt Instrument [Line Items]                                  
Debt instrument, face amount     $ 1,000                            
Debt instrument, convertible, threshold trading days | day     5                            
Debt instrument, convertible, threshold consecutive trading days | day     10                            
2030 Convertible Notes | Convertible Notes Payable | Debt Instrument, Redemption, Period One                                  
Debt Instrument [Line Items]                                  
Debt instrument, convertible, threshold percentage of stock price trigger     130.00%                            
2030 Convertible Notes | Convertible Notes Payable | Debt Instrument, Redemption, Period One | Debt Conversion Terms Two                                  
Debt Instrument [Line Items]                                  
Debt instrument, convertible, threshold percentage of stock price trigger     98.00%                            
2030 Convertible Notes | Convertible Debt                                  
Debt Instrument [Line Items]                                  
Debt instrument, face amount                   345,000,000   345,000,000          
Convertible, conversion ratio     0.0304681                            
Fourth Amendment | Line of Credit                                  
Debt Instrument [Line Items]                                  
Covenant, cash requirements                             $ 8,500,000    
Fifth Amendment | Line of Credit                                  
Debt Instrument [Line Items]                                  
Covenant, funds available to repurchase common stock                           $ 100,000,000.0      
Revolving Credit Facility | Third Amendment | Line of Credit                                  
Debt Instrument [Line Items]                                  
Increase to maximum borrowing capacity       $ 100,000,000                          
Line of credit, maximum borrowing capacity       $ 225,000,000                          
Revolving Credit Facility | Third Amendment | Line of Credit | Minimum                                  
Debt Instrument [Line Items]                                  
Debt instrument, basis spread on variable rate         3.00%                        
Revolving Credit Facility | Third Amendment | Line of Credit | Minimum | Debt Instrument, Redemption, Period One                                  
Debt Instrument [Line Items]                                  
Debt instrument, basis spread on variable rate       2.75%                          
Revolving Credit Facility | Third Amendment | Line of Credit | Minimum | Debt Instrument, Redemption, Period Two                                  
Debt Instrument [Line Items]                                  
Debt instrument, basis spread on variable rate 1.50%                                
Revolving Credit Facility | Third Amendment | Line of Credit | Minimum | Debt Instrument, Redemption, Period Three                                  
Debt Instrument [Line Items]                                  
Debt instrument, basis spread on variable rate 1.25%                                
Revolving Credit Facility | Third Amendment | Line of Credit | Maximum                                  
Debt Instrument [Line Items]                                  
Debt instrument, basis spread on variable rate         3.50%                        
Revolving Credit Facility | Third Amendment | Line of Credit | Maximum | Debt Instrument, Redemption, Period One                                  
Debt Instrument [Line Items]                                  
Debt instrument, basis spread on variable rate       3.25%                          
Revolving Credit Facility | Third Amendment | Line of Credit | Maximum | Debt Instrument, Redemption, Period Two                                  
Debt Instrument [Line Items]                                  
Debt instrument, basis spread on variable rate 3.00%                                
Revolving Credit Facility | Third Amendment | Line of Credit | Maximum | Debt Instrument, Redemption, Period Three                                  
Debt Instrument [Line Items]                                  
Debt instrument, basis spread on variable rate 2.50%                                
Revolving Credit Facility | Amended Credit Agreement                                  
Debt Instrument [Line Items]                                  
Net carrying amount                   0   0       $ 60,000,000.0  
Line of credit facility, interest rate during period           7.02% 7.13% 7.70% 7.68%       9.75%        
Interest expense, debt                   $ 100,000 $ 1,200,000 $ 300,000 $ 1,500,000