v3.26.1
Debt - Narrative (Details) - USD ($)
$ in Thousands
12 Months Ended
Jun. 30, 2026
Jun. 30, 2025
Jun. 30, 2024
Jul. 02, 2027
Mar. 30, 2026
Jan. 08, 2026
Oct. 15, 2024
Line of Credit Facility [Line Items]              
Loss on extinguishment of debt $ 8,659 $ 0 $ 0        
Debt discount related to the indenture 16,695 12,311          
New debt issuance costs 3,700            
Renewal commissions receivable, current 18,800 49,000          
Restricted cash 5,600 4,600          
Restricted cash - current 4,686 3,333          
Other assets 959 1,333          
Debt discount 2,700            
Total debt 370,168 385,112          
OTHER ASSETS 2,296 $ 3,880          
Balance Sheet Location [Axis]: us-gaap:CashCashEquivalentsAndShortTermInvestments              
Line of Credit Facility [Line Items]              
Restricted cash 4,700            
Balance Sheet Location [Axis]: us-gaap:OtherAssetsNoncurrent              
Line of Credit Facility [Line Items]              
Restricted cash 900            
Senior Secured Credit Facility              
Line of Credit Facility [Line Items]              
Repayments of debt $ 19,500            
Secured Debt              
Line of Credit Facility [Line Items]              
Effective interest rate (as a percent) 10.20%            
Line of Credit | 2026 Revolving Credit Facility              
Line of Credit Facility [Line Items]              
Maximum borrowing capacity $ 90,000       $ 71,700 $ 90,000  
Debt instrument, basis spread on variable rate ( as a percent) 4.00%            
New debt issuance costs $ 200            
Unamortized debt issuance expense 200            
Long-term line of credit $ 0            
Line of Credit | 2026 Revolving Credit Facility | Minimum              
Line of Credit Facility [Line Items]              
Debt instrument, interest rate (as a percent) 3.00%            
Line of Credit | Old Revolving Credit Facility              
Line of Credit Facility [Line Items]              
Long-term line of credit           36,000  
Senior Notes | Class A              
Line of Credit Facility [Line Items]              
Effective interest rate (as a percent) 9.11%            
Senior Notes | Class B              
Line of Credit Facility [Line Items]              
Effective interest rate (as a percent) 11.02%            
2026 Term Loan | Secured Debt              
Line of Credit Facility [Line Items]              
Debt instrument, basis spread on variable rate ( as a percent) 6.50%            
New debt issuance costs $ 7,300            
Debt instrument, face amount           325,000  
Debt discount $ 9,800            
Debt instrument, principal payments, percent 0.625%            
2026 Term Loan | Secured Debt | Forecast              
Line of Credit Facility [Line Items]              
Debt instrument, principal payments, percent       1.25%      
2026 Term Loan | Secured Debt | Through January 8, 2028              
Line of Credit Facility [Line Items]              
Debt instrument prepayment percentage 3.00%            
2026 Term Loan | Secured Debt | From January 9, 2028 Through January 8, 2029              
Line of Credit Facility [Line Items]              
Debt instrument prepayment percentage 2.00%            
2026 Term Loan | Secured Debt | Minimum              
Line of Credit Facility [Line Items]              
Debt instrument, interest rate (as a percent) 3.00%            
Previous Term Loans              
Line of Credit Facility [Line Items]              
Unamortized debt issuance costs, gross $ 100            
Previous Term Loans | Secured Debt | Secured Debt              
Line of Credit Facility [Line Items]              
Total debt           $ 304,400  
Class A Notes              
Line of Credit Facility [Line Items]              
Debt instrument, interest rate (as a percent)             7.80%
Debt instrument, face amount             $ 60,000
Class A Notes | Senior Notes              
Line of Credit Facility [Line Items]              
Debt instrument, interest rate (as a percent) 7.80%            
Class B Notes              
Line of Credit Facility [Line Items]              
Debt instrument, interest rate (as a percent)             9.65%
Debt instrument, face amount             $ 40,000
Class B Notes | Senior Notes              
Line of Credit Facility [Line Items]              
Debt instrument, interest rate (as a percent) 9.65%            
September 2028 | Senior Notes              
Line of Credit Facility [Line Items]              
Debt instrument, interest rate (as a percent) 2.00%            
October 2030 | Senior Notes              
Line of Credit Facility [Line Items]              
Debt instrument, interest rate (as a percent) 4.00%