v3.25.2
Revenue - Additional Information (Detail)
$ in Thousands
12 Months Ended
May 31, 2025
USD ($)
Segment
May 31, 2024
USD ($)
Segment
Disaggregation Of Revenue [Line Items]    
Number of reportable segments | Segment 4 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 $ 3,478  
Contract liabilities, revenue recognized 42,200 $ 38,800
Long-term deferred revenue $ 85,600 $ 81,700