XML 18 R6.htm IDEA: XBRL DOCUMENT v3.23.2
Consolidated Statements of Comprehensive Income (Loss)(Parenthetical) - USD ($)
$ in Thousands
12 Months Ended
May 31, 2023
May 31, 2022
May 31, 2021
Statement of Comprehensive Income [Abstract]      
Unrealized (loss) gain on marketable securities, net of tax $ 389 $ (728) $ (80)
Unrealized loss on derivative instruments, net of tax $ (644)