v3.26.1
Fair Value of Financial Instruments - Schedule of Remaining Assets and Liabilities Measured at Fair Value on a Recurring Basis (Details) - USD ($)
$ in Thousands
Jun. 30, 2026
Jun. 30, 2025
Assets:    
Deferred compensation plan investments, current and non-current portion $ 37,600 $ 31,900
Liabilities:    
Deferred compensation plan investments, current and non-current portion 37,600 31,900
Fair Value, Recurring    
Assets:    
Deferred compensation plan investments, current and non-current portion 37,642 31,887
Total assets at fair value 37,892 32,582
Liabilities:    
Deferred compensation plan investments, current and non-current portion 37,642 31,887
Liability for contingent consideration, current and non-current 28,150 19,100
Total liabilities at fair value 65,795 51,277
Fair Value, Recurring | Interest rate swap agreement    
Assets:    
Derivative asset 239 680
Fair Value, Recurring | Foreign currency hedge    
Assets:    
Derivative asset 11  
Liabilities:    
Foreign currency hedge   290
Fair Value, Recurring | Forward foreign currency exchange contracts    
Assets:    
Derivative asset   15
Liabilities:    
Foreign currency hedge 3  
Quoted prices in active markets (Level 1) | Fair Value, Recurring    
Assets:    
Deferred compensation plan investments, current and non-current portion 37,642 31,887
Total assets at fair value 37,642 31,887
Liabilities:    
Deferred compensation plan investments, current and non-current portion 37,642 31,887
Liability for contingent consideration, current and non-current 0 0
Total liabilities at fair value 37,642 31,887
Quoted prices in active markets (Level 1) | Fair Value, Recurring | Interest rate swap agreement    
Assets:    
Derivative asset 0 0
Quoted prices in active markets (Level 1) | Fair Value, Recurring | Foreign currency hedge    
Assets:    
Derivative asset 0  
Liabilities:    
Foreign currency hedge   0
Quoted prices in active markets (Level 1) | Fair Value, Recurring | Forward foreign currency exchange contracts    
Assets:    
Derivative asset   0
Liabilities:    
Foreign currency hedge 0  
Significant other observable inputs (Level 2) | Fair Value, Recurring    
Assets:    
Deferred compensation plan investments, current and non-current portion 0 0
Total assets at fair value 250 695
Liabilities:    
Deferred compensation plan investments, current and non-current portion 0 0
Liability for contingent consideration, current and non-current 0 0
Total liabilities at fair value 3 290
Significant other observable inputs (Level 2) | Fair Value, Recurring | Interest rate swap agreement    
Assets:    
Derivative asset 239 680
Significant other observable inputs (Level 2) | Fair Value, Recurring | Foreign currency hedge    
Assets:    
Derivative asset 11  
Liabilities:    
Foreign currency hedge   290
Significant other observable inputs (Level 2) | Fair Value, Recurring | Forward foreign currency exchange contracts    
Assets:    
Derivative asset   15
Liabilities:    
Foreign currency hedge 3  
Significant unobservable inputs (Level 3) | Fair Value, Recurring    
Assets:    
Deferred compensation plan investments, current and non-current portion 0 0
Total assets at fair value 0 0
Liabilities:    
Deferred compensation plan investments, current and non-current portion 0 0
Liability for contingent consideration, current and non-current 28,150 19,100
Total liabilities at fair value 28,150 19,100
Significant unobservable inputs (Level 3) | Fair Value, Recurring | Interest rate swap agreement    
Assets:    
Derivative asset 0 0
Significant unobservable inputs (Level 3) | Fair Value, Recurring | Foreign currency hedge    
Assets:    
Derivative asset 0  
Liabilities:    
Foreign currency hedge   0
Significant unobservable inputs (Level 3) | Fair Value, Recurring | Forward foreign currency exchange contracts    
Assets:    
Derivative asset  
Liabilities:    
Foreign currency hedge $ 0