XML 105 R90.htm IDEA: XBRL DOCUMENT v3.22.2
Long-term Investments - Additional Information (Details) - USD ($)
$ in Thousands
12 Months Ended
May 31, 2022
May 31, 2021
May 31, 2020
Investments Debt And Equity Securities [Abstract]      
Proceeds on sale of investments   $ 8,430 $ 19,570
Unrealized losses on change in fair value of investments $ 6,731 $ 1,567 $ 23,057