XML 17 R5.htm IDEA: XBRL DOCUMENT v3.23.2
Consolidated Statements of Comprehensive Income (Loss) - USD ($)
$ in Thousands
12 Months Ended
May 31, 2023
May 31, 2022
May 31, 2021
Net (loss) income $ (22,870) $ 48,307 $ 60,882
Other comprehensive income (loss):      
Foreign currency translations (4,796) (13,955) 8,602
Unrealized gain (loss) on marketable securities, net of tax of $389, $(728), and $(80) 1,353 (2,439) (268)
Unrealized loss on derivative instruments, net of tax of $(644) (2,039)    
Other comprehensive (loss) income, net of tax: (5,482) (16,394) 8,334
Comprehensive (loss) income $ (28,352) $ 31,913 $ 69,216