XML 165 R46.htm IDEA: XBRL DOCUMENT v3.22.4
COMMITMENTS AND CONTINGENCIES - Narrative (Details) - USD ($)
$ in Thousands
3 Months Ended 6 Months Ended
Nov. 30, 2022
Nov. 30, 2021
Nov. 30, 2022
Nov. 30, 2021
Purchase Commitment, Excluding Long-Term Commitment [Line Items]        
Cost of revenues $ 11,812 $ 0 $ 17,905 $ 0
Energy Service        
Purchase Commitment, Excluding Long-Term Commitment [Line Items]        
Contractual obligation 24,200   $ 24,200  
Service contract, term     5 years  
Cost of revenues $ 10,300   $ 15,100