v3.26.1
Debt - Additional Information (Details)
$ / shares in Units, $ in Thousands
3 Months Ended 9 Months Ended
Mar. 16, 2026
USD ($)
shares
Dec. 19, 2024
USD ($)
shares
Mar. 25, 2021
USD ($)
tradingDay
day
$ / shares
Jul. 03, 2026
USD ($)
Jan. 02, 2026
USD ($)
shares
Jul. 04, 2025
USD ($)
Jul. 03, 2026
USD ($)
Jul. 04, 2025
USD ($)
Apr. 03, 2026
USD ($)
Oct. 03, 2025
USD ($)
Apr. 06, 2021
USD ($)
Debt Instrument [Line Items]                      
Issuance of common stock for convertible note exchange             $ 0 $ 205,915      
Loss on extinguishment of debt       $ 0   $ 0 0 193,098      
Long-term debt, remaining balance       344,316     344,316     $ 505,467  
Stock Issued             283,650 0      
Less: Short-term debt       340,465     340,465     160,946  
Convertible Notes Payable                      
Debt Instrument [Line Items]                      
Long-term debt, remaining balance                   344,316  
Convertible Senior Notes Due 2026                      
Debt Instrument [Line Items]                      
Coupon Interest       0   100 200 500      
Convertible Senior Notes Due 2026 | Convertible Notes Payable                      
Debt Instrument [Line Items]                      
Stated rate     0.25%                
Principle amount     $ 400,000               $ 50,000
Issuance of common stock for convertible note exchange   $ 288,800                  
Debt Conversion, Converted Instrument, Shares Issued | shares 1,259,111       2,610            
Long-term debt, remaining balance       0   161,200 0 161,200   161,151  
Debt Instrument, Convertible, Conversion Ratio     0.0121767                
Redemption price percentage     100.00%                
Interest expense debt       0   500 400 1,600      
Long-Term Debt, Fair Value                   251,600  
Debt Instrument, Repurchase Amount $ 160,700               $ 500    
Stock Issued $ 283,200       $ 500            
Convertible Senior Notes Due 2026 | Convertible Notes Payable | Conversion Period One                      
Debt Instrument [Line Items]                      
Convertible threshold trading days | tradingDay     20                
Threshold consecutive trading days | tradingDay     30                
Convertible Senior Notes Due 2026 | Convertible Notes Payable | Conversion Price | Conversion Period One                      
Debt Instrument [Line Items]                      
Convertible threshold percentage of stock price trigger     130.00%                
2029 Convertible Notes                      
Debt Instrument [Line Items]                      
Interest expense debt       300   $ 300 800 $ 600      
Long-Term Debt, Fair Value       791,900     791,900     $ 353,300  
2029 Convertible Notes | Convertible Notes Payable                      
Debt Instrument [Line Items]                      
Stated rate     0.00%                
Principle amount   $ 257,700 $ 344,300                
Debt Conversion, Converted Instrument, Shares Issued | shares   1,582,958                  
Issuance of common stock for convertible note exchange   $ 205,900                  
Debt Conversion, Converted Instrument, Cash Amount   17,600                  
Loss on extinguishment of debt   $ (193,100)                  
Long-term debt, remaining balance       $ 344,316     $ 344,316        
Debt Instrument, Convertible, Conversion Ratio   0.0057463                  
Conversion price (in USD per share) | $ / shares     $ 174.03                
2029 Convertible Notes | Convertible Notes Payable | Conversion Period One                      
Debt Instrument [Line Items]                      
Convertible threshold trading days | tradingDay     20                
Threshold consecutive trading days | tradingDay     30                
2029 Convertible Notes | Convertible Notes Payable | Conversion Period Two                      
Debt Instrument [Line Items]                      
Convertible threshold trading days | day     5                
Threshold consecutive trading days | tradingDay     5                
2029 Convertible Notes | Convertible Notes Payable | Conversion Price | Conversion Period One                      
Debt Instrument [Line Items]                      
Convertible threshold percentage of stock price trigger     130.00%                
2029 Convertible Notes | Convertible Notes Payable | Principal Trading Price | Conversion Period Two                      
Debt Instrument [Line Items]                      
Convertible threshold percentage of stock price trigger     98.00%                
Private Placement of 2029 Convertible Notes | Convertible Notes Payable                      
Debt Instrument [Line Items]                      
Principle amount   $ 86,600