XML 53 R43.htm IDEA: XBRL DOCUMENT v3.22.2
Income (Loss) Per Share - Additional Information (Details) - shares
shares in Thousands
3 Months Ended 9 Months Ended
May 31, 2022
May 31, 2021
May 31, 2022
May 31, 2021
Employee Stock Option        
Earnings Per Share [Line Items]        
Shares of common stock subject to outstanding employee stock options that were excluded from the calculation of diluted income (loss) per share 250 87 762 586