XML 25 R7.htm IDEA: XBRL DOCUMENT v3.21.2
CONSOLIDATED STATEMENT OF CASH FLOWS (Parenthetical) - USD ($)
$ in Thousands
Aug. 31, 2021
Aug. 31, 2020
Aug. 31, 2019
Aug. 31, 2018
Statement of Cash Flows [Abstract]        
Cash and cash equivalents $ 497,745 $ 542,103 $ 192,461  
Restricted cash 3,384 2,861 1,268  
Total cash, restricted cash and cash equivalents $ 501,129 $ 544,964 $ 193,729 $ 632,615