Stock-Based Compensation Plans - Additional Information (Detail) - USD ($) $ / shares in Units, $ in Thousands | 1 Months Ended | 12 Months Ended |
Jan. 31, 2016 | Jan. 31, 2015 | Dec. 31, 2016 | Dec. 31, 2015 | Dec. 31, 2014 |
Share Based Compensation Arrangement By Share Based Payment Award [Line Items] | | | | | |
Shares available for grant under the stock incentive plans | | | 360,035 | | |
Exercise price for the shares of the Company's common stock | | | $ 32.24 | $ 36.46 | $ 19.25 |
Grant date fair value | | | $ 21,929 | | |
Fair value assumptions, Dividend yield rate | | | 1.00% | 1.10% | 1.00% |
Closing price of common stock | | | $ 146.92 | | |
Unrecognized compensation costs related to non-vested | | | $ 4,100 | | |
Weighted-average period over which cost is expected to be recognized | | | 3 years 2 months 12 days | | |
Pay-out ranges, Minimum | | | 0.00% | | |
Pay-out ranges, Maximum | | | 150.00% | | |
Restricted Stock and Performance Shares [Member] | | | | | |
Share Based Compensation Arrangement By Share Based Payment Award [Line Items] | | | | | |
Unrecognized compensation costs related to non-vested | | | $ 18,700 | | |
Weighted-average period over which cost is expected to be recognized | | | 2 years | | |
Employees Stock Purchase Plan [Member] | | | | | |
Share Based Compensation Arrangement By Share Based Payment Award [Line Items] | | | | | |
Period vested for option grants | | | | 1 year | |
Number of non-option equity instruments granted during the period | | | 1,190 | 0 | |
Percentage of shares grant to participants | | | | 20.00% | |
Chief Executive Officer [Member] | Incentive Stock Options [Member] | | | | | |
Share Based Compensation Arrangement By Share Based Payment Award [Line Items] | | | | | |
Options Expiration Period | | 5 years 6 months | | | |
Exercise price for the shares of the Company's common stock | | $ 88.25 | | | |
Number of stock option equity instruments granted during the period | | 119,981 | | | |
Grant date fair value | | $ 2,000 | | | |
Percentage of fair market value of the common stock on the grant date | | 125.00% | | | |
Fair value assumptions, Risk free interest rate | | 1.40% | | | |
Fair value assumptions, Volatility rate | | 27.30% | | | |
Fair value assumptions, Dividend yield rate | | 0.90% | | | |
Chief Executive Officer [Member] | Performance Based Share [Member] | | | | | |
Share Based Compensation Arrangement By Share Based Payment Award [Line Items] | | | | | |
Grant date fair value | | $ 6,000 | | | |
Fair value assumptions, Risk free interest rate | | 1.30% | | | |
Fair value assumptions, Volatility rate | | 27.30% | | | |
Fair value assumptions, Dividend yield rate | | 0.90% | | | |
Number of non-option equity instruments granted during the period | | 116,659 | | | |
Share-based compensation arrangement by share-based payment award, equity instruments other than options, nonvested, number | | | 24,240 | 92,419 | |
Chief Executive Officer [Member] | Share-based Compensation Award, Tranche One [Member] | | | | | |
Share Based Compensation Arrangement By Share Based Payment Award [Line Items] | | | | | |
Share-based compensation arrangement by share-based payment award award vesting date | | Jan. 15, 2018 | | | |
Chief Executive Officer [Member] | Share-based Compensation Award, Tranche One [Member] | Incentive Stock Options [Member] | | | | | |
Share Based Compensation Arrangement By Share Based Payment Award [Line Items] | | | | | |
Share-based compensation arrangement by share-based payment award, award vesting rights | | 33.33% | | | |
Chief Executive Officer [Member] | Share-based Compensation Award, Tranche One [Member] | Performance Based Share [Member] | | | | | |
Share Based Compensation Arrangement By Share Based Payment Award [Line Items] | | | | | |
Share-based compensation arrangement by share-based payment award, award vesting rights | | 50.00% | | | |
Chief Executive Officer [Member] | Share-based Compensation Award, Tranche Two [Member] | | | | | |
Share Based Compensation Arrangement By Share Based Payment Award [Line Items] | | | | | |
Share-based compensation arrangement by share-based payment award, award vesting rights | | 50.00% | | | |
Share-based compensation arrangement by share-based payment award award vesting date | | Jan. 15, 2019 | | | |
Chief Executive Officer [Member] | Share-based Compensation Award, Tranche Two [Member] | Incentive Stock Options [Member] | | | | | |
Share Based Compensation Arrangement By Share Based Payment Award [Line Items] | | | | | |
Share-based compensation arrangement by share-based payment award, award vesting rights | | 33.33% | | | |
Chief Executive Officer [Member] | Share-based Compensation Award, Tranche Three [Member] | | | | | |
Share Based Compensation Arrangement By Share Based Payment Award [Line Items] | | | | | |
Share-based compensation arrangement by share-based payment award award vesting date | | Jan. 15, 2020 | | | |
Chief Executive Officer [Member] | Share-based Compensation Award, Tranche Three [Member] | Incentive Stock Options [Member] | | | | | |
Share Based Compensation Arrangement By Share Based Payment Award [Line Items] | | | | | |
Share-based compensation arrangement by share-based payment award, award vesting rights | | 33.33% | | | |
Officers and Senior Managers [Member] | Performance Based Share [Member] | | | | | |
Share Based Compensation Arrangement By Share Based Payment Award [Line Items] | | | | | |
Options Expiration Period | 3 years | | | | |
Pay-out ranges, Minimum | 0.00% | | | | |
Pay-out ranges, Maximum | 150.00% | | | | |
Number of non-option equity instruments granted during the period | 33,509 | | | | |
Fair value per share on the grant date | $ 103.30 | | | | |
Officers and Senior Managers [Member] | Share-based Compensation Award, Tranche One [Member] | Performance Based Share [Member] | | | | | |
Share Based Compensation Arrangement By Share Based Payment Award [Line Items] | | | | | |
Share-based compensation arrangement by share-based payment award, award vesting rights | 50.00% | | | | |
Share-based compensation arrangement by share-based payment award award vesting date | Jan. 31, 2020 | | | | |
Officers and Senior Managers [Member] | Share-based Compensation Award, Tranche Two [Member] | Performance Based Share [Member] | | | | | |
Share Based Compensation Arrangement By Share Based Payment Award [Line Items] | | | | | |
Share-based compensation arrangement by share-based payment award, award vesting rights | 50.00% | | | | |
Share-based compensation arrangement by share-based payment award award vesting date | Jan. 31, 2021 | | | | |
Minimum [Member] | | | | | |
Share Based Compensation Arrangement By Share Based Payment Award [Line Items] | | | | | |
Period vested for option grants | | | 3 years | | |
Options Expiration Period | | | 6 years | | |
Minimum [Member] | Restricted Stock and Performance Shares [Member] | | | | | |
Share Based Compensation Arrangement By Share Based Payment Award [Line Items] | | | | | |
Period vested for option grants | | | 3 years | | |
Maximum [Member] | | | | | |
Share Based Compensation Arrangement By Share Based Payment Award [Line Items] | | | | | |
Period vested for option grants | | | 5 years | | |
Options Expiration Period | | | 10 years | | |
Maximum [Member] | Restricted Stock and Performance Shares [Member] | | | | | |
Share Based Compensation Arrangement By Share Based Payment Award [Line Items] | | | | | |
Period vested for option grants | | | 5 years | | |