v3.26.1
Income Taxes - Reconciliation of Income Taxes (Details) - USD ($)
$ in Thousands
12 Months Ended
Jun. 30, 2026
Jun. 30, 2025
Jun. 30, 2024
Effective Income Tax Rate Reconciliation [Line Items]      
Tax Jurisdiction of Domicile [Extensible Enumeration] United States United States United States
Effective Income Tax Rate Reconciliation, Amount [Abstract]      
Income taxes at U.S. statutory rate $ 96,879 $ 27,721 $ 30,335
State income taxes, net of federal tax benefit 6,911 (950) (1,412)
Statutory tax rate difference   8,165 10,355
Other   647 775
Effect of cross-border tax laws 1,450    
U.S. research and development credit (3,271) (2,880) (4,026)
Advanced manufacturing production credit (1,614)    
Nontaxable or nondeductible items 2,382    
Changes in unrecognized tax benefits 2,224    
Total provision for income taxes and effective tax rate $ 110,915 $ 33,296 $ 30,809
Effective Income Tax Rate Reconciliation, Percent [Abstract]      
Income taxes at U.S. statutory rate 21.00%    
State income taxes, net of federal tax benefit 1.50%    
Effect of cross-border tax laws 0.30%    
Research & development credit (0.70%)    
Advanced manufacturing production credit (0.30%)    
Nontaxable or nondeductible items 0.50%    
Changes in unrecognized tax benefits 0.50%    
Effective tax rate 24.00% 25.20% 21.30%
China      
Effective Income Tax Rate Reconciliation, Amount [Abstract]      
Statutory tax rate difference $ 1,680    
Withholding tax 3,581    
Audit settlement 1,164    
Other $ 394    
Effective Income Tax Rate Reconciliation, Percent [Abstract]      
Statutory tax rate difference 0.40%    
Withholding tax 0.80%    
Audit settlement 0.30%    
Other 0.10%    
Switzerland      
Effective Income Tax Rate Reconciliation, Amount [Abstract]      
Statutory tax rate difference $ (9,907)    
Other (549)    
Cantonal and municipal taxes $ 5,651    
Effective Income Tax Rate Reconciliation, Percent [Abstract]      
Statutory tax rate difference (2.10%)    
Other (0.10%)    
Cantonal and municipal taxes 1.20%    
Other      
Effective Income Tax Rate Reconciliation, Amount [Abstract]      
Statutory tax rate difference $ 3,940    
Effective Income Tax Rate Reconciliation, Percent [Abstract]      
Statutory tax rate difference 0.90%