XML 31 R5.htm IDEA: XBRL DOCUMENT v3.21.2
Consolidated Statements of Comprehensive Income (Loss) - USD ($)
$ in Thousands
12 Months Ended
Jun. 30, 2021
Jun. 30, 2020
Jun. 30, 2019
Statement of Comprehensive Income [Abstract]      
Net income (loss) $ 10,795 $ (192,654) $ 57,597
Unrealized gain (loss) on hedged transaction, net of tax 2,249 (4,646) (3,277)
Foreign currency translation adjustment 20,778 (38,061) (2,634)
Realized foreign currency loss from discontinued operations 11,635 0 0
Comprehensive income (loss) $ 45,457 $ (235,361) $ 51,686