XML 68 R58.htm IDEA: XBRL DOCUMENT v3.21.4
Derivative Instruments - Effect of Derivative Instruments on Statements of Operations (Detail) - Cash Flow Hedging - USD ($)
3 Months Ended
Nov. 30, 2021
Nov. 30, 2020
Derivative Instruments, Gain (Loss) [Line Items]    
Gain (loss) recognized in OCI on derivatives $ (4,200,000) $ (700,000)
Gain (loss) reclassified from accumulated OCI into income (1,500,000) (1,600,000)
Gain (loss) recognized on derivative (amount excluded from effectiveness testing) 300,000 100,000
Foreign Exchange Forward | Interest and Foreign Exchange    
Derivative Instruments, Gain (Loss) [Line Items]    
Gain (loss) recognized in income on derivatives (300,000) (100,000)
Foreign Exchange Forward | Sales    
Derivative Instruments, Gain (Loss) [Line Items]    
Gain (loss) recognized in OCI on derivatives (4,600,000) (1,000,000.0)
Gain (loss) reclassified from accumulated OCI into income (200,000) (300,000)
Gain (loss) recognized on derivative (amount excluded from effectiveness testing) 200,000 100,000
Foreign Exchange Forward | Cost Of Revenue    
Derivative Instruments, Gain (Loss) [Line Items]    
Gain (loss) recognized in OCI on derivatives (1,300,000)  
Gain (loss) recognized on derivative (amount excluded from effectiveness testing) 100,000  
Interest rate swap contracts | Interest and Foreign Exchange    
Derivative Instruments, Gain (Loss) [Line Items]    
Gain (loss) recognized in OCI on derivatives 1,700,000 300,000
Gain (loss) reclassified from accumulated OCI into income $ (1,300,000) $ (1,300,000)