Stock Repurchase Program - Additional Information (Detail) - USD ($) $ / shares in Units, $ in Thousands |
1 Months Ended | 12 Months Ended | |||
---|---|---|---|---|---|
Jan. 31, 2021 |
May 31, 2025 |
May 31, 2024 |
May 31, 2023 |
May 31, 2021 |
|
Stock Repurchase Programs [Line Items] | |||||
Authorization of stock repurchase program | Jan. 08, 2008 | ||||
Capital to be returned to stockholders through share repurchases | $ 1,000,000 | ||||
Stock repurchase program, remaining authorized repurchase, value | $ 469,700 | $ 192,300 | $ 600,000 | ||
Stock repurchase program expiration date | May 31, 2021 | ||||
Shares repurchased | 581,759 | 526,113 | 598,653 | ||
Shares repurchased, value | $ 70,000 | $ 55,002 | $ 50,000 | ||
Repurchase of common stock price per shares | $ 120.32 | $ 104.5 | $ 83.52 |