Stock Repurchase Program - Additional Information (Detail) - USD ($) $ / shares in Units, $ in Thousands |
1 Months Ended | 12 Months Ended | |||
|---|---|---|---|---|---|
Jan. 31, 2021 |
May 31, 2026 |
May 31, 2025 |
May 31, 2024 |
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 | $ 114,800 | $ 600,000 | ||
| Stock repurchase program expiration date | May 31, 2021 | ||||
| Shares repurchased | 699,931 | 581,759 | 526,113 | ||
| Shares repurchased, value | $ 77,500 | $ 70,000 | $ 55,002 | ||
| Repurchase of common stock price per shares | $ 110.72 | $ 120.32 | $ 104.5 | ||