XML 161 R127.htm IDEA: XBRL DOCUMENT v3.21.2
Accumulated Other Comprehensive Loss- Schedule of Accumulated Other Comprehensive Loss (Details) - USD ($)
$ in Thousands
12 Months Ended
May 31, 2021
May 31, 2020
May 31, 2019
Accumulated Other Comprehensive Income Loss [Line Items]      
Beginning balance $ (5,434) $ 900 $ 2,954
Other comprehensive income (loss) 152,825 (6,334) (2,660)
Elimination of CTA on disposal of equity investee     606
Settlement of convertible notes receivable 5,277    
Ending balance 152,668 (5,434) 900
Foreign Currency Translation (Loss) Gain [Member]      
Accumulated Other Comprehensive Income Loss [Line Items]      
Beginning balance (232) 626 110
Other comprehensive income (loss) 156,649 (858) (90)
Elimination of CTA on disposal of equity investee     606
Ending balance 156,417 (232) 626
Unrealized Loss on Convertible Notes Receivables [Member]      
Accumulated Other Comprehensive Income Loss [Line Items]      
Beginning balance (5,202) 274 2,844
Other comprehensive income (loss) (3,824) (5,476) (2,570)
Settlement of convertible notes receivable 5,277    
Ending balance $ (3,749) $ (5,202) $ 274