XML 68 R58.htm IDEA: XBRL DOCUMENT v3.23.4
Revenue - Additional Information (Detail)
$ in Thousands
3 Months Ended 6 Months Ended
Nov. 30, 2023
USD ($)
Nov. 30, 2022
USD ($)
Nov. 30, 2023
USD ($)
Segment
Nov. 30, 2022
USD ($)
May 31, 2023
USD ($)
Disaggregation Of Revenue [Line Items]          
Number of reportable segments | Segment     4    
Revenue performance obligation description of payment terms     Payment terms and conditions vary by contract type, although our customers’ payment terms generally include a requirement to pay within 30 to 60 days of fulfilling our performance obligations    
Revenue, Practical Expedient, Financing Component [true false]     false    
Increase (decrease) in net contract assets     $ 2,956    
Contract liabilities, revenue recognized $ 7,200 $ 5,500 28,500 $ 18,400  
Long-term deferred revenue $ 79,500   $ 79,500   $ 76,600