Stock Repurchase Program - Additional Information (Detail) - USD ($) $ / shares in Units, $ in Thousands |
1 Months Ended | 3 Months Ended | ||
|---|---|---|---|---|
Jan. 31, 2021 |
Aug. 31, 2024 |
Aug. 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 | $ 244,800 | $ 600,000 | |
| Stock repurchase program expiration date | May 31, 2021 | |||
| Shares repurchased | 152,146 | 122,425 | ||
| Shares repurchased, value | $ 17,500 | $ 12,500 | ||
| Repurchase of common stock price per shares | $ 115.02 | $ 102.1 | ||