Stock Repurchase Program - Additional Information (Detail) - USD ($) $ / shares in Units, $ in Thousands |
1 Months Ended | 3 Months Ended | 6 Months Ended | |||||
|---|---|---|---|---|---|---|---|---|
Jan. 31, 2021 |
Nov. 30, 2023 |
Aug. 31, 2023 |
Nov. 30, 2022 |
Aug. 31, 2022 |
Nov. 30, 2023 |
Nov. 30, 2022 |
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 | $ 292,300 | $ 292,300 | $ 600,000 | ||||
| Stock repurchase program expiration date | May 31, 2021 | |||||||
| Shares repurchased | 131,858 | 0 | 254,283 | 303,079 | ||||
| Shares repurchased, value | $ 12,500 | $ 12,500 | $ 25,000 | $ 25,000 | $ 25,000 | |||
| Repurchase of common stock price per shares | $ 94.8 | $ 98.32 | $ 82.49 | |||||