XML 21 R6.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 Comprehensive Income [Abstract]      
Net income (loss) $ 88,798 $ 10,795 $ (192,654)
Unrealized gain (loss) on hedged transaction, net of tax 5,833 2,249 (4,646)
Foreign currency translation adjustment (12,338) 20,778 (38,061)
Realized foreign currency loss from discontinued operations 0 11,635 0
Comprehensive income (loss) $ 82,293 $ 45,457 $ (235,361)