v3.24.1.1.u2
Basis of Presentation - Additional Information (Details) - USD ($)
$ in Thousands
3 Months Ended 9 Months Ended 12 Months Ended
May 31, 2024
May 31, 2023
May 31, 2024
May 31, 2023
Aug. 31, 2024
Aug. 31, 2023
Organization, Consolidation and Presentation of Financial Statements [Abstract]            
Allowance for credit losses for client receivables and contract assets $ 25,155   $ 25,155     $ 26,343
Accumulated depreciation 2,797,314   2,797,314     2,574,685
Basis of Presentation [Line Items]            
Business optimization costs 77,420 $ 346,873 332,493 $ 591,263   $ 1,100,000
Expected total business optimization costs $ 1,500,000   $ 1,500,000      
Forecast            
Basis of Presentation [Line Items]            
Business optimization costs         $ 450,000