v3.22.4
Net (Loss) Income Per Share - Additional Information (Details) - shares
3 Months Ended
Nov. 30, 2022
Nov. 30, 2021
Earnings Per Share [Abstract]    
Antidilutive securities excluded from computation of earnings per share, amount (in shares) 1,084,867 89,068