XML 15 R5.htm IDEA: XBRL DOCUMENT v3.21.4
Condensed Consolidated Statements of Comprehensive Income (Loss) (Unaudited) - USD ($)
$ in Thousands
3 Months Ended 6 Months Ended
Dec. 31, 2021
Dec. 31, 2020
Dec. 31, 2021
Dec. 31, 2020
Statement Of Income And Comprehensive Income [Abstract]        
Net income (loss) $ 13,341 $ (3,050) $ 26,037 $ (11,862)
Derivatives designated as hedging instruments:        
Change in unrealized gains and losses on interest rate swaps 346 (120) 261 (293)
Reclassification adjustment related to interest rate swaps 285 226 566 386
Change in unrealized gains and losses on foreign currency forward contracts 140   (61)  
Net change from derivatives designated as hedging instruments 771 106 766 93
Net change in foreign currency translation adjustments 160 2,160 (746) 3,615
Other comprehensive income 931 2,266 20 3,708
Total comprehensive income (loss) $ 14,272 $ (784) $ 26,057 $ (8,154)