v3.25.2
Long-Term Debt - Additional Information (Details)
3 Months Ended 9 Months Ended 12 Months Ended
Jun. 26, 2023
USD ($)
Days
$ / shares
Jun. 12, 2020
USD ($)
Jun. 02, 2020
USD ($)
Jun. 30, 2025
USD ($)
Dec. 31, 2024
USD ($)
Jun. 30, 2024
USD ($)
Jun. 30, 2023
USD ($)
Jun. 30, 2025
USD ($)
Jun. 30, 2024
USD ($)
Sep. 30, 2024
USD ($)
Jul. 03, 2023
USD ($)
Debt Instrument [Line Items]                      
Aggregate principal amount       $ 210,000,000       $ 210,000,000   $ 297,500,000  
Payments for long-term debt issuance costs               0 $ 419,000    
Long-term debt       198,823,000       198,823,000   281,906,000  
Debt unamortized issuance costs, net       9,160,000       9,160,000   12,817,000  
Debt, principal amount, net       210,000,000       210,000,000      
Gain (loss) on extinguishment of debt               327,000 0    
Senior Credit Facilities                      
Debt Instrument [Line Items]                      
Interest expense       0   $ 100,000   $ 400,000 $ 300,000    
Maximum                      
Debt Instrument [Line Items]                      
Percentage of the remaining cash flow of original instrument               10.00%      
2028 Notes                      
Debt Instrument [Line Items]                      
Aggregate principal amount $ 190,000,000.0     $ 122,500,000       $ 122,500,000   $ 122,500,000  
Debt instrument, interest rate 1.50%     1.50%       1.50%   1.50%  
Debt Instrument, option to purchase additional principal amount                     $ 20,000,000.0
Proceeds from long-term debt, net of discount $ 193,200,000                    
Maturity date Jul. 01, 2028             Jul. 01, 2028   Jul. 01, 2028  
Debt instrument, convertible trading days | Days 20                    
Debt instrument, convertible consecutive trading days | Days 30                    
Debt instrument, convertible conversion price percentage 130.00%                    
Debt instrument convertible principal amount $ 1,000                    
Debt instrument, convertible maximum conversion price percentage 98.00%                    
Debt instrument, convertible, conversion ratio 0.245586                    
Debt instrument, convertible, conversion price (in dollars per share) | $ / shares $ 40.72                    
Debt instrument, redemption price percentage of principal amount 100.00%                    
Debt instrument, sinking fund $ 0                    
Debt instrument, percentage of repurchase principal amount 100.00%                    
Payments for long-term debt issuance costs               $ 2,400,000      
Long-term debt       $ 121,041,000       121,041,000   $ 120,691,000  
Debt unamortized issuance costs, net       1,459,000       1,459,000   1,809,000  
Fair value of the embedded conversion feature               4,100,000      
Debt, principal amount, net       122,500,000       122,500,000      
Unamortized issuance costs       1,500,000       1,500,000      
Debt instrument convertible, if-converted value of the Notes less than its principal amount               91,800,000   113,000,000.0  
2028 Notes | Minimum                      
Debt Instrument [Line Items]                      
Debt instrument, convertible trading days | Days 20                    
Debt instrument, convertible conversion price percentage 130.00%                    
2028 Notes | Maximum                      
Debt Instrument [Line Items]                      
Debt instrument covenants, percentage of aggregate principal amount payable. 25.00%                    
3.00% Convertible Senior Notes Due 2025                      
Debt Instrument [Line Items]                      
Aggregate principal amount     $ 175,000,000.0             $ 87,500,000  
Debt instrument, interest rate     3.00%             3.00%  
Debt Instrument, option to purchase additional principal amount     $ 25,000,000.0                
Proceeds from long-term debt, net of discount     $ 169,800,000                
Maturity date     Jun. 01, 2025             Jun. 01, 2025  
Debt instrument repurchase amount       87,500,000 $ 27,400,000     87,500,000      
Long-term debt                   $ 87,094,000  
Debt unamortized issuance costs, net                   406,000  
Debt, principal amount, net       87,500,000       $ 87,500,000      
Debt instrument repurchase amount paid in cash         27,000,000.0            
Gain (loss) on extinguishment of debt         $ 300,000            
Extinguishment of debt       61,000,000              
3.00% Convertible Senior Notes Due 2025 | Minimum                      
Debt Instrument [Line Items]                      
Conversion feature percentage               10.00%      
1.50% Convertible Senior Notes Due 2025                      
Debt Instrument [Line Items]                      
Aggregate principal amount       $ 87,500,000       $ 87,500,000   $ 87,500,000  
Debt instrument, interest rate       1.50%       1.50%   1.50%  
Maturity date               Jul. 01, 2028   Jul. 01, 2028  
Payments for long-term debt issuance costs               $ 14,300,000      
Payment of refinancing fees to lender       $ 3,800,000       3,800,000      
Long-term debt       77,782,000       77,782,000   $ 74,121,000  
Debt unamortized issuance costs, net       7,701,000       7,701,000   $ 10,602,000  
Modified notes                      
Debt Instrument [Line Items]                      
Long-term debt       77,800,000       77,800,000      
Debt unamortized issuance costs, net       $ 9,700,000       $ 9,700,000      
Four year senior secured term loan facility | Senior Credit Facilities                      
Debt Instrument [Line Items]                      
Debt instrument term   4 years                  
Credit facility maximum borrowing capacity   $ 125,000,000.0                  
Net proceeds from issuance of credit facility   123,000,000.0                  
Senior secured first-lien revolving credit facility | Senior Credit Facilities                      
Debt Instrument [Line Items]                      
Aggregate principal amount             $ 24,700,000        
Gain (loss) on extinguishment of debt             (1,300,000)        
Credit facility maximum borrowing capacity   $ 50,000,000.0                  
Debt repayment cost             106,300,000        
Extinguishment of debt             $ 104,900,000