v3.25.1
Lines of Credit and Term Loans - Narrative (Details)
$ in Thousands, $ in Millions
9 Months Ended
Dec. 20, 2024
USD ($)
Nov. 01, 2024
USD ($)
Mar. 31, 2025
USD ($)
Mar. 31, 2024
USD ($)
Feb. 27, 2025
USD ($)
Feb. 27, 2025
TWD ($)
Nov. 15, 2024
USD ($)
Oct. 28, 2024
USD ($)
Sep. 27, 2024
USD ($)
Jul. 19, 2024
USD ($)
Jun. 30, 2024
USD ($)
Short-term Debt [Line Items]                      
Repayments of debt     $ 1,731,366 $ 1,939,590              
Line of Credit | Revolving Credit Facility                      
Short-term Debt [Line Items]                      
Total line of credit     24,166               $ 361,872
Bank of America Term Loan Facility | Bank of America | Line of Credit                      
Short-term Debt [Line Items]                      
Credit facility, maximum borrowing capacity                   $ 500,000  
Bank of America Term Loan | Bank of America | Line of Credit                      
Short-term Debt [Line Items]                      
Repayments of term loans outstanding   $ 250,000                  
2018 Bank of America Credit Facility | Line of Credit | Revolving Credit Facility                      
Short-term Debt [Line Items]                      
Line of credit facility, additional borrowing capacity                 $ 70,000    
Cathay Bank Line of Credit | Cathay Bank Credit Facility | Line of Credit | Revolving Credit Facility                      
Short-term Debt [Line Items]                      
Debt covenant unrestricted cash requirement               $ 150,000      
Cathay Bank Line of Credit | Cathay Bank Credit Facility | Line of Credit | Letter of Credit                      
Short-term Debt [Line Items]                      
Credit facility, maximum borrowing capacity             $ 458        
Two Thousand Twenty Four CTBC Credit Lines | CTBC | Revolving Credit Facility                      
Short-term Debt [Line Items]                      
Long-term line of credit     24,200                
Two Thousand Twenty Four CTBC Credit Lines | CTBC | Term loan | Revolving Credit Facility                      
Short-term Debt [Line Items]                      
Credit facility, maximum borrowing capacity         $ 185,000            
Two Thousand Twenty And Two Thousand Twenty One CTBC Credit Lines | CTBC | Term loan | Revolving Credit Facility                      
Short-term Debt [Line Items]                      
Credit facility, maximum borrowing capacity           $ 1,550.0          
NTD Short Term Loan | CTBC | Term loan | Revolving Credit Facility                      
Short-term Debt [Line Items]                      
Credit facility, maximum borrowing capacity           1,800.0          
Guarantee Line | CTBC | Term loan | Revolving Credit Facility                      
Short-term Debt [Line Items]                      
Credit facility, maximum borrowing capacity           $ 100.0          
USD Short Term Loan Line | CTBC | Term loan | Revolving Credit Facility                      
Short-term Debt [Line Items]                      
Credit facility, maximum borrowing capacity         40,000            
Export/Import O/A Loan Line - Exports | CTBC | Term loan | Revolving Credit Facility                      
Short-term Debt [Line Items]                      
Credit facility, maximum borrowing capacity         105,000            
Import O/A Loan Line Of Credit | CTBC | Term loan | Revolving Credit Facility                      
Short-term Debt [Line Items]                      
Credit facility, maximum borrowing capacity         $ 80,000            
HSBC Bank Credit Lines | Line of Credit | Revolving Credit Facility                      
Short-term Debt [Line Items]                      
Total line of credit     $ 0               $ 30,000
Repayments of debt $ 50,000