XML 21 R5.htm IDEA: XBRL DOCUMENT v3.23.3
Consolidated Statements of Comprehensive Income (Parenthetical) - USD ($)
$ in Thousands
12 Months Ended
Aug. 31, 2023
Aug. 31, 2022
Aug. 31, 2021
Statement of Comprehensive Income [Abstract]      
Net unrealized gain (loss) on cash flow hedges, tax expense (benefit) $ (61) $ 1,657 $ (162)