XML 74 R63.htm IDEA: XBRL DOCUMENT v3.21.4
Revenue - Additional Information (Detail)
$ in Thousands
3 Months Ended 6 Months Ended
Nov. 30, 2021
USD ($)
Nov. 30, 2020
USD ($)
Nov. 30, 2021
USD ($)
Segment
Nov. 30, 2020
USD ($)
Aug. 31, 2021
USD ($)
May 31, 2021
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 in net contract assets $ 1,181   $ 11,231      
Net Sales 1,639,538 $ 1,485,915 3,289,959 $ 3,092,586    
Long-term deferred revenue $ 67,200   $ 67,200   $ 67,400 $ 67,800