Annual report pursuant to Section 13 and 15(d)

Employee Benefits - Additional Information (Detail)

v3.6.0.2
Employee Benefits - Additional Information (Detail) - USD ($)
12 Months Ended
Dec. 31, 2016
Dec. 31, 2015
Dec. 31, 2014
Bank-Owned Life Insurance [Member]      
Defined Contribution Plan Disclosure [Line Items]      
Cash surrender value $ 49,400,000    
Central Bancorp, Inc [Member] | Bank-Owned Life Insurance [Member]      
Defined Contribution Plan Disclosure [Line Items]      
Cash surrender value 17,300,000    
Deferred compensation plan [Member]      
Defined Contribution Plan Disclosure [Line Items]      
Liabilities for the deferred compensation plan and interest $ 0 $ 0  
401(k) Plan [Member]      
Defined Contribution Plan Disclosure [Line Items]      
Percent of participant contributions (percent) 75.00%    
Percent of employer contribution (up to, percent) 8.00%    
Contributions $ 1,900,000 $ 1,600,000 $ 1,300,000