Loans - Balance by Class of Loans (Details) - USD ($)
$ in Thousands
Dec. 31, 2021
Dec. 31, 2020
Dec. 31, 2019
Dec. 31, 2018
Loan Portfolio Classifications, Adoption of CECL        
Total loans $ 2,920,684 $ 3,073,860    
Allowance for credit losses (47,704) (44,565) $ (33,614) $ (33,849)
Net loans 2,872,980 3,029,295    
Commercial        
Loan Portfolio Classifications, Adoption of CECL        
Total loans 2,574,807 2,726,710    
Commercial real estate        
Loan Portfolio Classifications, Adoption of CECL        
Total loans 1,680,792 1,476,236    
Commercial and industrial        
Loan Portfolio Classifications, Adoption of CECL        
Total loans 412,070 435,548    
Commercial construction        
Loan Portfolio Classifications, Adoption of CECL        
Total loans 410,443 371,856    
SBA Paycheck Protection Program ("PPP")        
Loan Portfolio Classifications, Adoption of CECL        
Total loans 71,502 443,070    
Retail        
Loan Portfolio Classifications, Adoption of CECL        
Total loans 345,877 347,150    
Residential mortgages        
Loan Portfolio Classifications, Adoption of CECL        
Total loans 256,940 252,995    
Home equity loans and lines        
Loan Portfolio Classifications, Adoption of CECL        
Total loans 80,467 85,178    
Consumer        
Loan Portfolio Classifications, Adoption of CECL        
Total loans $ 8,470 $ 8,977