XML 74 R62.htm IDEA: XBRL DOCUMENT v3.21.4
Long-term Investments - Additional Information (Details) - USD ($)
3 Months Ended 6 Months Ended
Nov. 30, 2021
Nov. 30, 2020
Nov. 30, 2021
Nov. 30, 2020
Schedule Of Available For Sale Securities [Line Items]        
Unrealized gains (losses) on equity investments $ (1,806,000) $ (399,000) $ (3,883,000) $ (1,326,000)
Impairments or adjustments equity investments under measurement alternative 0 $ 0 0 $ 0
Investment in Equities        
Schedule Of Available For Sale Securities [Line Items]        
Available-for-sale securities, allowance for credit loss 0   0  
Credit loss expenses 0   0  
Long-term Investments | Investment in Equities        
Schedule Of Available For Sale Securities [Line Items]        
Available-for-sale securities, Gross unrealized loss $ 16,357,000   $ 16,357,000  
MM Notes        
Schedule Of Available For Sale Securities [Line Items]        
Convertible debt instruments contractual maturity     2028  
MM Notes | LIBOR        
Schedule Of Available For Sale Securities [Line Items]        
Interest rate     6.00%  
MM Notes | LIBOR | Floor        
Schedule Of Available For Sale Securities [Line Items]        
Interest rate     2.50%