Consolidated Balance Sheets (Parenthetical) - $ / shares
Nov. 30, 2021
Aug. 31, 2021
Statement Of Financial Position [Abstract]    
Common stock, shares issued 134,690,424 134,625,379
Common stock, shares outstanding 132,062,061 132,000,317
Common stock, shares authorized 300,000,000 300,000,000
Common stock, par value $ 0.01 $ 0.01
Preferred stock, shares outstanding 0 0
Preferred stock, shares authorized 50,000,000 50,000,000
Preferred stock, par value $ 0.01 $ 0.01
Treasury stock, common shares 2,628,363 2,625,062