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