v3.26.1
Income Taxes - Additional Information (Details) - USD ($)
$ in Thousands
12 Months Ended
Jun. 30, 2026
Jun. 30, 2025
Jun. 30, 2024
Apr. 30, 2026
Jun. 30, 2023
Income Tax Examination [Line Items]          
Cash paid for taxes, net of refunds $ 26,212 $ 9,900 $ 17,400    
Income tax receivable 2,148 4,575      
Deferred tax liabilities 14,615 18,335      
Net operating loss carryforwards 5,476 1,371      
Accrued tax expense related to unrecognized tax positions 585 594 $ 223   $ 146
Penalties accrued 400        
Unrecognized tax benefits that would impact effective tax rate 1,000        
U.S.          
Income Tax Examination [Line Items]          
Cash paid for taxes, net of refunds 19,475        
Deferred tax liabilities 10,300 12,000      
Net operating loss carryforwards 18,300        
U.S. | Sunshine Minting, Inc.          
Income Tax Examination [Line Items]          
Net operating loss carryforwards       $ 18,000  
State and Local Jurisdiction          
Income Tax Examination [Line Items]          
Cash paid for taxes, net of refunds 3,012        
Deferred tax asset 400        
Deferred tax liabilities   100      
Net operating loss carryforwards 25,900        
State and Local Jurisdiction | Sunshine Minting, Inc.          
Income Tax Examination [Line Items]          
Net operating loss carryforwards       $ 5,000  
Foreign          
Income Tax Examination [Line Items]          
Deferred tax liabilities $ 4,600 $ 6,200