XML 29 R5.htm IDEA: XBRL DOCUMENT v3.22.2.2
Consolidated Statements of Comprehensive Income (Loss) - USD ($)
$ in Thousands
12 Months Ended
Jun. 30, 2022
Jun. 30, 2021
Jun. 30, 2020
Statement Of Income And Comprehensive Income [Abstract]      
Net income (loss) $ 44,271 $ 1,936 $ (126,845)
Derivatives designated as hedging instruments:      
Change in unrealized gains and losses on interest rate swaps 1,652 (222) (1,769)
Reclassification adjustment related to interest rate swaps 796 858  
Change in unrealized gains and losses on foreign currency forward contracts 205 (205)  
Net change from derivatives designated as hedging instruments 2,653 431 (1,769)
Net change in foreign currency translation adjustments (2,897) 3,136 (2,136)
Other comprehensive income (loss) (244) 3,567 (3,905)
Total comprehensive income (loss) $ 44,027 $ 5,503 $ (130,750)