v3.26.1
Earnings per Share - Schedule of Non Cash Buyback Activity by Program (Details) - Noncash Share Repurchase Transaction - USD ($)
$ / shares in Units, shares in Thousands, $ in Thousands
12 Months Ended
May 31, 2026
May 31, 2025
May 31, 2024
Equity, Class of Treasury Stock [Line Items]      
Shares (in shares) 613 808 1,133
Average Price per Share (in dollars per share) $ 205.13 $ 196.93 $ 137.18
Total purchase price of shares repurchased $ 125,766 $ 158,953 $ 155,403