v3.25.2
ORGANIZATION AND BASIS OF PRESENTATION - Narrative (Details)
shares in Thousands, $ in Thousands
12 Months Ended
Jun. 13, 2025
USD ($)
Oct. 01, 2024
Sep. 30, 2024
USD ($)
shares
Jun. 30, 2025
USD ($)
segment
Jun. 30, 2024
USD ($)
Jun. 30, 2023
USD ($)
Business Combination [Line Items]            
Number of reportable segments | segment       2    
Payment to business with cash on hand, net of cash acquired       $ 39,848 $ 0 $ 187,750
Prestige            
Business Combination [Line Items]            
Ownership interest (percent)   24.00% 20.00% 24.00%    
Dilution of PRAM's interest in Prestige (percent)   0.04        
Prestige | PRAM Holdings, LLC            
Business Combination [Line Items]            
Ownership interest (percent)     20.00% 16.00%    
S2S Global Business            
Business Combination [Line Items]            
Non-cash investment in unconsolidated affiliates     $ 24,900      
Premier Supply Chain Improvement, Inc. ("PSCI") | Prestige            
Business Combination [Line Items]            
Limited partnership units exchanged in Contribution and Exchange Agreement (in shares) | shares     9,375      
S2S Global Business | Prestige | PRAM Holdings, LLC            
Business Combination [Line Items]            
Ownership interest (percent)   20.00%   20.00%    
Discontinued Operations, Disposed of by Means Other than Sale, Exchange | S2S Global Business            
Business Combination [Line Items]            
Loss on disposal     $ 53,000 $ 53,000    
IllumiCare, Inc.            
Business Combination [Line Items]            
Business acquisition, percentage of voting interests acquired (percent) 100.00%          
Preliminary adjusted purchase price $ 47,500          
Payment to business with cash on hand, net of cash acquired 39,800          
Business combination, indemnification asset, acquisition date, amount 4,500          
Earn-out liabilities $ 15,000     $ 7,700    
Contingent consideration, payable period 3 years