XML 19 R6.htm IDEA: XBRL DOCUMENT v3.22.2
Consolidated Statements of Comprehensive Income (Parenthetical) - USD ($)
$ in Thousands
12 Months Ended
May 31, 2022
May 31, 2021
May 31, 2020
Statement of Comprehensive Income [Abstract]      
Unrealized (loss) gain on marketable securities, net of tax $ (728) $ (80) $ 127