v3.25.2
Net Income (Loss) Per Share - Additional Information (Details) - shares
3 Months Ended 9 Months Ended
May 31, 2025
May 31, 2024
May 31, 2025
May 31, 2024
Earnings Per Share [Abstract]        
Antidilutive securities excluded from calculation of diluted net income loss per share, amount (in shares) 513,938 632,821 272,997 368,521