XML 71 R59.htm IDEA: XBRL DOCUMENT v3.21.2
Derivative Instruments - Additional Information (Detail)
9 Months Ended
May 31, 2021
USD ($)
Foreign Exchange Contracts  
Derivative [Line Items]  
Aggregate derivative notional amount $ 147,700,000
Amount reclassified to revenue or cost of revenue in the next year 400,000
Interest rate swap contracts  
Derivative [Line Items]  
Unrealized pre-tax gain (loss) that would be reclassified to interest expense in the next year 5,000,000.0
Interest rate swap contracts | Derivatives maturing on September 2023  
Derivative [Line Items]  
Aggregate derivative notional amount $ 102,700,000
Maturity date 2023-09
Interest rate swap contracts | Derivatives maturing on June 2024  
Derivative [Line Items]  
Aggregate derivative notional amount $ 138,800,000
Maturity date 2024-06