XML 72 R65.htm IDEA: XBRL DOCUMENT v3.24.1
Revenue - Additional Information (Detail)
$ in Thousands
3 Months Ended 9 Months Ended
Feb. 29, 2024
USD ($)
Feb. 28, 2023
USD ($)
Feb. 29, 2024
USD ($)
Segment
Feb. 28, 2023
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     $ 4,894    
Contract liabilities, revenue recognized $ 6,400 $ 4,400 34,900 $ 22,800  
Long-term deferred revenue $ 80,500   $ 80,500   $ 76,600