XML 14 R5.htm IDEA: XBRL DOCUMENT v3.22.4
Consolidated Statements of Comprehensive Income (Loss) - USD ($)
$ in Thousands
3 Months Ended 6 Months Ended
Nov. 30, 2022
Nov. 30, 2021
Nov. 30, 2022
Nov. 30, 2021
Net income (loss) $ (41,841) $ 10,828 $ (36,632) $ 27,905
Foreign currency translations 1,102 (7,649) (10,031) (12,272)
Unrealized gain (loss) on marketable securities, net of tax 154 (382) (270) (588)
Unrealized loss on derivative instruments, net of tax (2,428) 0 (2,428) 0
Total comprehensive income (loss) $ (43,013) $ 2,797 $ (49,361) $ 15,045