XML 23 R8.htm IDEA: XBRL DOCUMENT v3.22.2.2
CONSOLIDATED STATEMENT OF CASH FLOWS (Parenthetical) - USD ($)
$ in Thousands
Aug. 31, 2022
Aug. 31, 2021
Aug. 31, 2020
Aug. 31, 2019
Statement of Cash Flows [Abstract]        
Cash and cash equivalents $ 672,596 $ 497,745 $ 542,103  
Restricted cash 6,647 3,384 2,861  
Total cash, restricted cash and cash equivalents $ 679,243 $ 501,129 $ 544,964 $ 193,729