XML 85 R73.htm IDEA: XBRL DOCUMENT v3.21.2
Fair Value Measurements (Fair Value Measurements on a Recurring Basis) (Details) - Recurring - USD ($)
$ in Thousands
May 31, 2021
Aug. 31, 2020
Level 1 | Cash equivalents    
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items]    
Cash equivalents $ 17,839 $ 33,869
Level 1 | Prepaid expenses and other current assets    
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items]    
Short-term investments 17,216 16,556
Level 2 | Prepaid expenses and other current assets | Designated as Hedging Instruments | Foreign exchange contracts    
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items]    
Derivative asset 19,089 11,201
Level 2 | Prepaid expenses and other current assets | Not Designated as Hedging Instruments | Foreign exchange contracts    
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items]    
Derivative asset 60,944 58,893
Level 2 | Other assets | Designated as Hedging Instruments | Interest rate swaps    
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items]    
Derivative asset 18,772 0
Level 2 | Accrued expenses | Designated as Hedging Instruments | Foreign exchange contracts    
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items]    
Derivative liability 1,527 1,522
Level 2 | Accrued expenses | Not Designated as Hedging Instruments | Foreign exchange contracts    
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items]    
Derivative liability 8,023 9,100
Level 2 | Accrued expenses | Not Designated as Hedging Instruments | Interest rate swaps    
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items]    
Derivative liability 8,276 540
Extended interest rate swap not designated as a hedging instrument 17,809 26,492
Level 2 | Other liabilities | Designated as Hedging Instruments | Interest rate swaps | Forward contracts    
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items]    
Derivative liability 546 0
Level 2 | Other liabilities | Not Designated as Hedging Instruments | Interest rate swaps    
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items]    
Derivative liability 0 329
Extended interest rate swap not designated as a hedging instrument $ 0 $ 13,111