v3.26.1
Accounts Receivable, Net - Schedule of the Activity in Allowance for Credit Losses (Details) - USD ($)
$ in Thousands
3 Months Ended 9 Months Ended
May 31, 2026
May 31, 2025
May 31, 2026
May 31, 2025
Receivables [Abstract]        
Beginning allowance for credit losses $ 40,420 $ 43,746 $ 42,000 $ 49,200
Provision for credit losses on accounts receivable 8,510 12,531 24,585 35,885
Write-offs, net of recoveries (7,700) (9,889) (25,355) (38,697)
Ending allowance for credit losses $ 41,230 $ 46,388 $ 41,230 $ 46,388