XML 48 R31.htm IDEA: XBRL DOCUMENT
v3.22.0.1

LOANS AND ALLOWANCE FOR CREDIT LOSSES (Tables) | 12 Months Ended
--- | ---
Dec. 31, 2021
Accounts, Notes, Loans and Financing Receivable [Line Items] |
Schedule of Loans | ​
​ | ​ | ​ | ​ | ​ | ​ | ​
​ | ​ | December 31, | ​ | December 31,
(in thousands) |  | 2021 |  | 2020
Commercial construction | ​ | $ | 56,263 | ​ | $ | 117,882
Commercial real estate owner occupied | ​ |  | 257,122 | ​ |  | 219,217
Commercial real estate non-owner occupied | ​ |  | 887,092 | ​ |  | 716,776
Tax exempt | ​ |  | 41,280 | ​ |  | 47,862
Commercial and industrial | ​ |  | 307,112 | ​ |  | 355,684
Residential real estate | ​ |  | 888,263 | ​ |  | 995,216
Home equity | ​ |  | 86,657 | ​ |  | 100,096
Consumer other | ​ |  | 8,121 | ​ |  | 10,152
Total loans | ​ |  | 2,531,910 | ​ |  | 2,562,885
Allowance for credit losses | ​ |  | 22,718 | ​ |  | 19,082
Net loans | ​ | $ | 2,509,192 | ​ | $ | 2,543,803
Summary of Unamortized Net Costs and Premiums | ​
​ | ​ | ​ | ​ | ​ | ​ | ​
​ | ​ | December 31, | ​ | December 31,
(in thousands) |  | 2021 |  | 2020
Net Unamortized loan origination costs | ​ | $ | 3,014 | ​ | $ | 1,660
Net Unamortized fair value discount on acquired loans | ​ |  | (4,758) | ​ |  | (7,032)
Total | ​ | $ | (1,744) | ​ | $ | (5,372)
Schedule of Activity in the Allowance for Credit Losses | ​ ​
​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
​ | ​ | At or for the Year Ended December 31, 2021
​ | ​ | Balance at | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
​ | ​ | Beginning of | ​ | Impact of ASC | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | Balance at
(in thousands) |  | Period |  | 326 |  | Charge Offs |  | Recoveries |  | Provision |  | End of Period
Commercial construction | ​ | $ | 824 | ​ | $ | 1,196 | ​ | $ | — | ​ | $ | 18 | ​ | $ | 73 | ​ | $ | 2,111
Commercial real estate owner occupied | ​ |  | 1,783 | ​ |  | 708 | ​ |  | (403) | ​ |  | 290 | ​ |  | 373 | ​ |  | 2,751
Commercial real estate non-owner occupied | ​ |  | 7,864 | ​ |  | (2,008) | ​ |  | — | ​ |  | 4 | ​ |  | (210) | ​ |  | 5,650
Tax exempt | ​ |  | 58 | ​ |  | 40 | ​ |  | — | ​ |  | — | ​ |  | (12) | ​ |  | 86
Commercial and industrial | ​ |  | 3,137 | ​ |  | 2,996 | ​ |  | (59) | ​ |  | 77 | ​ |  | (782) | ​ |  | 5,369
Residential real estate | ​ |  | 5,010 | ​ |  | 1,732 | ​ |  | (77) | ​ |  | 159 | ​ |  | (962) | ​ |  | 5,862
Home equity | ​ |  | 285 | ​ |  | 603 | ​ |  | (154) | ​ |  | 51 | ​ |  | 29 | ​ |  | 814
Consumer other | ​ |  | 121 | ​ |  | (39) | ​ |  | (205) | ​ |  | 9 | ​ |  | 189 | ​ |  | 75
Total | ​ | $ | 19,082 | ​ | $ | 5,228 | ​ | $ | (898) | ​ | $ | 608 | ​ | $ | (1,302) | ​ | $ | 22,718
​
​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
​ | ​ | ​
​ | ​ | At or For the Year Ended December 30, 2020
​ | ​ | Balance at | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
​ | ​ | Beginning of | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | Balance at
(in thousands) |  | Period |  | Charge Offs |  | Recoveries |  | Provision |  | End of Period
Commercial construction | ​ | $ | 317 | ​ | $ | — | ​ | $ | — | ​ | $ | 507 | ​ | $ | 824
Commercial real estate owner occupied | ​ |  | 2,368 | ​ |  | — | ​ |  | — | ​ |  | (585) | ​ |  | 1,783
Commercial real estate non-owner occupied | ​ |  | 4,695 | ​ |  | (1,137) | ​ |  | 173 | ​ |  | 4,133 | ​ |  | 7,864
Tax exempt | ​ |  | 67 | ​ |  | — | ​ |  | — | ​ |  | (9) | ​ |  | 58
Commercial and industrial | ​ |  | 3,262 | ​ |  | (593) | ​ | ​ | 30 | ​ |  | 438 | ​ |  | 3,137
Residential real estate | ​ |  | 4,213 | ​ |  | (54) | ​ |  | 13 | ​ |  | 838 | ​ |  | 5,010
Home equity | ​ |  | 320 | ​ |  | — | ​ |  | — | ​ |  | (35) | ​ |  | 285
Consumer other | ​ |  | 111 | ​ |  | (384) | ​ |  | 56 | ​ |  | 338 | ​ |  | 121
Total | ​ | $ | 15,353 | ​ | $ | (2,168) | ​ | $ | 272 | ​ | $ | 5,625 | ​ | $ | 19,082
​
​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
​ | ​ | At or for the Year Ended December 31, 2019
​ |  | Commercial |  | Commercial |  | Residential |  | ​ | ​ |  | ​ | ​
(in thousands) | ​ | real estate | ​ | and industrial | ​ | real estate | ​ | Consumer | ​ | Total
Balance at beginning of period | ​ | $ | 6,984 | ​ | $ | 2,415 | ​ | $ | 4,059 | ​ | $ | 408 | ​ | $ | 13,866
Charged-off loans | ​ |  | (212) | ​ |  | (359) | ​ |  | (349) | ​ |  | (233) | ​ |  | (1,153)
Recoveries on charged-off loans | ​ |  | 194 | ​ |  | 65 | ​ |  | 55 | ​ |  | 9 | ​ |  | 323
Provision (release) for loan losses | ​ |  | 849 | ​ |  | 1,493 | ​ |  | (220) | ​ |  | 195 | ​ |  | 2,317
Balance at end of period | ​ | $ | 7,815 | ​ | $ | 3,614 | ​ | $ | 3,545 | ​ | $ | 379 | ​ | $ | 15,353
Individually evaluated for impairment | ​ |  | 1,243 | ​ |  | 164 | ​ |  | 106 | ​ |  | — | ​ |  | 1,513
Collectively evaluated | ​ |  | 6,572 | ​ |  | 3,450 | ​ |  | 3,439 | ​ |  | 379 | ​ |  | 13,840
Total | ​ | $ | 7,815 | ​ | $ | 3,614 | ​ | $ | 3,545 | ​ | $ | 379 | ​ | $ | 15,353
Schedule of Loans by Risk Rating | ​
​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
​ |  | ​ | ​ |  | ​ | ​ |  | ​ | ​ |  | ​ | ​ |  | ​ | ​ |  | ​ | ​ |  | ​ | ​
(in thousands) | ​ | 2021 | ​ | 2020 | ​ | 2019 | ​ | 2018 | ​ | 2017 | ​ | Prior | ​ | Total
Commercial construction |  | ​ |  |  | ​ |  |  | ​ |  |  | ​ |  |  | ​ |  |  | ​ |  |  | ​ |
Risk rating: |  | ​ |  |  | ​ |  |  | ​ |  |  | ​ |  |  | ​ |  |  | ​ |  |  | ​ |
Pass | ​ | $ | 22,866 | ​ | $ | 4,787 | ​ | $ | 19,211 | ​ | $ | 9,399 | ​ | $ | — | ​ | $ | — | ​ | $ | 56,263
Special mention | ​ |  | — | ​ |  | — | ​ |  | — | ​ |  | — | ​ |  | — | ​ |  | — | ​ |  | —
Substandard | ​ |  | — | ​ |  | — | ​ |  | — | ​ |  | — | ​ |  | — | ​ |  | — | ​ |  | —
Total | ​ | $ | 22,866 | ​ | $ | 4,787 | ​ | $ | 19,211 | ​ | $ | 9,399 | ​ | $ | — | ​ | $ | — | ​ | $ | 56,263
​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
Commercial real estate owner occupied | ​ |  |  | ​ |  |  | ​ |  |  | ​ |  |  | ​ |  |  | ​ |  |  | ​ |  |
Risk rating: | ​ |  |  | ​ |  |  | ​ |  |  | ​ |  |  | ​ |  |  | ​ |  |  | ​ |  |
Pass | ​ | $ | 12,940 | ​ | $ | 25,240 | ​ | $ | 34,782 | ​ | $ | 49,136 | ​ | $ | 19,292 | ​ | $ | 103,144 | ​ | $ | 244,534
Special mention | ​ |  | — | ​ |  | — | ​ |  | 760 | ​ |  | — | ​ |  | — | ​ |  | 2,659 | ​ |  | 3,419
Substandard | ​ |  | — | ​ |  | — | ​ |  | 1 | ​ |  | 853 | ​ |  | 247 | ​ |  | 7,737 | ​ |  | 8,838
Doubtful | ​ | ​ | — | ​ | ​ | — | ​ | ​ | — | ​ | ​ | 167 | ​ | ​ | — | ​ | ​ | 164 | ​ | ​ | 331
Total | ​ | $ | 12,940 | ​ | $ | 25,240 | ​ | $ | 35,543 | ​ | $ | 50,156 | ​ | $ | 19,539 | ​ | $ | 113,704 | ​ | $ | 257,122
​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
Commercial real estate non-owner occupied | ​ |  |  | ​ |  |  | ​ |  |  | ​ |  |  | ​ |  |  | ​ |  |  | ​ |  |
Risk rating: | ​ |  |  | ​ |  |  | ​ |  |  | ​ |  |  | ​ |  |  | ​ |  |  | ​ |  |
Pass | ​ | $ | 235,646 | ​ | $ | 172,785 | ​ | $ | 119,326 | ​ | $ | 39,663 | ​ | $ | 136,120 | ​ | $ | 165,329 | ​ | $ | 868,869
Special mention | ​ |  | — | ​ |  | — | ​ |  | 174 | ​ |  | — | ​ |  | — | ​ |  | 14,789 | ​ |  | 14,963
Substandard | ​ |  | — | ​ |  | — | ​ |  | — | ​ |  | — | ​ |  | — | ​ |  | 3,097 | ​ |  | 3,097
Doubtful | ​ | ​ | — | ​ | ​ | — | ​ | ​ | — | ​ | ​ | — | ​ | ​ | — | ​ | ​ | 163 | ​ | ​ | 163
Total | ​ | $ | 235,646 | ​ | $ | 172,785 | ​ | $ | 119,500 | ​ | $ | 39,663 | ​ | $ | 136,120 | ​ | $ | 183,378 | ​ | $ | 887,092
​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
Tax exempt | ​ |  |  | ​ |  |  | ​ |  |  | ​ |  |  | ​ |  |  | ​ |  |  | ​ |  |
Risk rating: | ​ |  |  | ​ |  |  | ​ |  |  | ​ |  |  | ​ |  |  | ​ |  |  | ​ |  |
Pass | ​ | $ | 1,249 | ​ | $ | 299 | ​ | $ | 968 | ​ | $ | 14,408 | ​ | $ | 5,329 | ​ | $ | 19,027 | ​ | $ | 41,280
Special mention | ​ |  | — | ​ |  | — | ​ |  | — | ​ |  | — | ​ |  | — | ​ |  | — | ​ |  | —
Substandard | ​ |  | — | ​ |  | — | ​ |  | — | ​ |  | — | ​ |  | — | ​ |  | — | ​ |  | —
Total | ​ | $ | 1,249 | ​ | $ | 299 | ​ | $ | 968 | ​ | $ | 14,408 | ​ | $ | 5,329 | ​ | $ | 19,027 | ​ | $ | 41,280
​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
Commercial and industrial | ​ |  |  | ​ |  |  | ​ |  |  | ​ |  |  | ​ |  |  | ​ |  |  | ​ |  |
Risk rating: | ​ |  |  | ​ |  |  | ​ |  |  | ​ |  |  | ​ |  |  | ​ |  |  | ​ |  |
Pass | ​ | $ | 77,608 | ​ | $ | 80,569 | ​ | $ | 33,405 | ​ | $ | 16,457 | ​ | $ | 33,413 | ​ | $ | 61,594 | ​ | $ | 303,046
Special mention | ​ |  | — | ​ |  | — | ​ |  | 584 | ​ |  | 468 | ​ |  | 172 | ​ |  | 1,396 | ​ |  | 2,620
Substandard | ​ |  | 58 | ​ |  | 3 | ​ |  | 512 | ​ |  | — | ​ |  | 48 | ​ |  | 578 | ​ |  | 1,199
Doubtful | ​ | ​ | — | ​ | ​ | — | ​ | ​ | — | ​ | ​ | — | ​ | ​ | 92 | ​ | ​ | 155 | ​ | ​ | 247
Total | ​ | $ | 77,666 | ​ | $ | 80,572 | ​ | $ | 34,501 | ​ | $ | 16,925 | ​ | $ | 33,725 | ​ | $ | 63,723 | ​ | $ | 307,112
​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
(continued)
​ ​
​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
​ |  | ​ | ​ |  | ​ | ​ |  | ​ | ​ |  | ​ | ​ |  | ​ | ​ |  | ​ | ​ |  | ​ | ​
​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
(in thousands) | ​ | 2021 | ​ | 2020 | ​ | 2019 | ​ | 2018 | ​ | 2017 | ​ | Prior | ​ | Total
Residential real estate |  | ​ |  |  | ​ |  |  | ​ |  |  | ​ |  |  | ​ |  |  | ​ |  |  | ​ |
Performing | ​ | $ | 191,466 | ​ | $ | 120,495 | ​ | $ | 83,044 | ​ | $ | 62,299 | ​ | $ | 59,642 | ​ | $ | 364,482 | ​ | $ | 881,428
Nonperforming | ​ |  | — | ​ |  | — | ​ |  | — | ​ |  | 286 | ​ |  | 178 | ​ |  | 6,371 | ​ |  | 6,835
Total | ​ | $ | 191,466 | ​ | $ | 120,495 | ​ | $ | 83,044 | ​ | $ | 62,585 | ​ | $ | 59,820 | ​ | $ | 370,853 | ​ | $ | 888,263
​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
Home equity | ​ |  |  | ​ |  |  | ​ |  |  | ​ |  |  | ​ |  |  | ​ |  |  | ​ |  |
Performing | ​ | $ | 12,770 | ​ | $ | 10,461 | ​ | $ | 9,005 | ​ | $ | 7,855 | ​ | $ | 6,474 | ​ | $ | 38,823 | ​ | $ | 85,388
Nonperforming | ​ |  | — | ​ |  | — | ​ |  | — | ​ |  | — | ​ |  | — | ​ |  | 1,269 | ​ |  | 1,269
Total | ​ | $ | 12,770 | ​ | $ | 10,461 | ​ | $ | 9,005 | ​ | $ | 7,855 | ​ | $ | 6,474 | ​ | $ | 40,092 | ​ | $ | 86,657
​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
Consumer other | ​ |  |  | ​ |  |  | ​ |  |  | ​ |  |  | ​ |  |  | ​ |  |  | ​ |  |
Performing | ​ | $ | 2,525 | ​ | $ | 1,659 | ​ | $ | 792 | ​ | $ | 669 | ​ | $ | 92 | ​ | $ | 2,379 | ​ | $ | 8,116
Nonperforming | ​ |  | — | ​ |  | — | ​ |  | — | ​ |  | — | ​ |  | — | ​ |  | 5 | ​ |  | 5
Total | ​ | $ | 2,525 | ​ | $ | 1,659 | ​ | $ | 792 | ​ | $ | 669 | ​ | $ | 92 | ​ | $ | 2,384 | ​ | $ | 8,121
​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
Total Loans | ​ | $ | 557,128 | ​ | $ | 416,298 | ​ | $ | 302,564 | ​ | $ | 201,660 | ​ | $ | 261,099 | ​ | $ | 793,161 | ​ | $ | 2,531,910
​
​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
​ |  | December 31, 2020
​ | ​ | Commercial | ​ | Commercial | ​ | Residential | ​ |  | ​ | ​ |  | ​
(in thousands) | ​ | Real Estate | ​ | and Industrial | ​ | Real Estate | ​ | Consumer | ​ | Total
Grade: |  | ​ |  | ​ |  |  | ​ |  |  | ​ |  |  | ​ |  | ​
Pass |  | $ | 1,053,773 | ​ | $ | 422,016 | ​ | $ | — | ​ | $ | — | ​ | $ | 1,475,789
Performing | ​ | ​ | — | ​ | ​ | — | ​ | ​ | 914,749 | ​ | ​ | 112,190 | ​ | ​ | 1,026,939
Special mention |  | ​ | 6,075 | ​ | ​ | 2,771 | ​ | ​ | — | ​ | ​ | — | ​ | ​ | 8,846
Substandard |  | ​ | 22,267 | ​ | ​ | 15,180 | ​ | ​ | — | ​ | ​ | — | ​ | ​ | 37,447
Doubtful |  | ​ | 2,265 | ​ | ​ | 1,100 | ​ | ​ | — | ​ | ​ | — | ​ | ​ | 3,365
Loss |  | ​ | 1 | ​ | ​ | 2 | ​ | ​ | — | ​ | ​ | — | ​ | ​ | 3
Non-performing | ​ | ​ | — | ​ | ​ | — | ​ | ​ | 9,142 | ​ | ​ | 1,354 | ​ | ​ | 10,496
Total |  | $ | 1,084,381 | ​ | $ | 441,069 | ​ | $ | 923,891 | ​ | $ | 113,544 | ​ | $ | 2,562,885
Summary of Past Due Loans | ​
​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
​ | ​ | December 31, 2021
(in thousands) |  | 30-59 |  | 60-89 |  | 90+ |  | Total Past Due |  | Current |  | Total Loans
Commercial construction | ​ | $ | — | ​ | $ | — | ​ | $ | — | ​ | $ | — | ​ | $ | 56,263 | ​ | $ | 56,263
Commercial real estate owner occupied | ​ |  | 1,190 | ​ |  | 7 | ​ |  | 1 | ​ |  | 1,198 | ​ |  | 255,924 | ​ |  | 257,122
Commercial real estate non-owner occupied | ​ |  | — | ​ |  | — | ​ |  | — | ​ |  | — | ​ |  | 887,092 | ​ |  | 887,092
Tax exempt | ​ |  | — | ​ |  | — | ​ |  | — | ​ |  | — | ​ |  | 41,280 | ​ |  | 41,280
Commercial and industrial | ​ |  | 31 | ​ |  | 318 | ​ |  | 185 | ​ |  | 534 | ​ |  | 306,578 | ​ |  | 307,112
Residential real estate | ​ |  | 5,010 | ​ |  | 1,238 | ​ |  | 1,416 | ​ |  | 7,664 | ​ |  | 880,599 | ​ |  | 888,263
Home equity | ​ |  | 699 | ​ |  | 149 | ​ |  | 101 | ​ |  | 949 | ​ |  | 85,708 | ​ |  | 86,657
Consumer other | ​ |  | 29 | ​ |  | — | ​ |  | 2 | ​ |  | 31 | ​ |  | 8,090 | ​ |  | 8,121
Total | ​ | $ | 6,959 | ​ | $ | 1,712 | ​ | $ | 1,705 | ​ | $ | 10,376 | ​ | $ | 2,521,534 | ​ | $ | 2,531,910
​ ​ ​
​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
​ | ​ | December 31, 2020
(in thousands) |  | 30-59 |  | 60-89 |  | 90+ |  | Total Past Due |  | Current |  | Total Loans
Commercial construction | ​ | $ | 74 | ​ | $ | — | ​ | $ | 1 | ​ | $ | 75 | ​ | $ | 117,807 | ​ | $ | 117,882
Commercial real estate owner occupied | ​ |  | 1,309 | ​ |  | 464 | ​ |  | 438 | ​ |  | 2,211 | ​ |  | 217,006 | ​ |  | 219,217
Commercial real estate non-owner occupied | ​ |  | 503 | ​ |  | 674 | ​ |  | 624 | ​ |  | 1,801 | ​ |  | 714,975 | ​ |  | 716,776
Tax exempt | ​ |  | — | ​ |  | — | ​ |  | — | ​ |  | — | ​ |  | 47,862 | ​ |  | 47,862
Commercial and industrial | ​ |  | 161 | ​ |  | — | ​ |  | 193 | ​ |  | 354 | ​ |  | 355,330 | ​ |  | 355,684
Residential real estate | ​ |  | 9,178 | ​ |  | 2,511 | ​ |  | 3,200 | ​ |  | 14,889 | ​ |  | 980,327 | ​ |  | 995,216
Home equity | ​ |  | 1,062 | ​ |  | 614 | ​ |  | 375 | ​ |  | 2,051 | ​ |  | 98,045 | ​ |  | 100,096
Consumer other | ​ |  | 20 | ​ |  | — | ​ |  | 2 | ​ |  | 22 | ​ |  | 10,130 | ​ |  | 10,152
Total | ​ | $ | 12,307 | ​ | $ | 4,263 | ​ | $ | 4,833 | ​ | $ | 21,403 | ​ | $ | 2,541,482 | ​ | $ | 2,562,885
Summary of Non-Accrual Loans | ​
​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
​ | ​ | December 31, 2021
​ | ​ | ​ | ​ | ​ | Nonaccrual With No | ​ | 90+ Days Past
(in thousands) |  | Nonaccrual |  | Related Allowance |  | Due and Accruing
Commercial construction | ​ | $ | — | ​ | $ | — | ​ | $ | —
Commercial real estate owner occupied | ​ |  | 783 | ​ |  | 424 | ​ |  | —
Commercial real estate non-owner occupied | ​ |  | 622 | ​ |  | 459 | ​ |  | —
Tax exempt | ​ |  | — | ​ |  | — | ​ |  | —
Commercial and industrial | ​ |  | 677 | ​ |  | 542 | ​ |  | 30
Residential real estate | ​ |  | 6,835 | ​ |  | 2,537 | ​ |  | 41
Home equity | ​ |  | 1,269 | ​ |  | 305 | ​ |  | 63
Consumer other | ​ |  | 5 | ​ |  | — | ​ |  | —
Total | ​ | $ | 10,191 | ​ | $ | 4,267 | ​ | $ | 134
​ ​
​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
​ | ​ | December 31, 2020
​ | ​ | ​ | ​ | ​ | Nonaccrual With No | ​ | 90+ Days Past
(in thousands) |  | Nonaccrual |  | Related Allowance |  | Due and Accruing
Commercial construction | ​ | $ | 258 | ​ | $ | — | ​ | $ | —
Commercial real estate owner occupied | ​ |  | 3,038 | ​ |  | 929 | ​ |  | —
Commercial real estate non-owner occupied | ​ |  | 383 | ​ |  | 118 | ​ |  | —
Tax exempt | ​ |  | — | ​ |  | — | ​ |  | —
Commercial and industrial | ​ |  | 1,223 | ​ |  | 1,065 | ​ |  | —
Residential real estate | ​ |  | 5,883 | ​ |  | 4,948 | ​ |  | —
Home equity | ​ |  | 1,345 | ​ |  | 1,346 | ​ |  | 267
Consumer other | ​ |  | 58 | ​ |  | 58 | ​ |  | —
Total | ​ | $ | 12,188 | ​ | $ | 8,464 | ​ | $ | 267
Schedule of amortized cost basis of collateral-dependent loans | ​
​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
​ | ​ | December 31, 2021 | ​ | December 31, 2020
(in thousands) |  | Real Estate |  | Other |  | Real Estate |  | Other
Commercial construction | ​ | $ | — | ​ | $ | — | ​ | $ | 259 | ​ | $ | —
Commercial real estate owner occupied | ​ |  | 783 | ​ |  | — | ​ |  | 3,441 | ​ |  | —
Commercial real estate non-owner occupied | ​ |  | 622 | ​ |  | — | ​ |  | 383 | ​ |  | —
Tax exempt | ​ |  | — | ​ |  | — | ​ |  | — | ​ |  | —
Commercial and industrial | ​ |  | 385 | ​ |  | 292 | ​ |  | 625 | ​ |  | 607
Residential real estate | ​ |  | 6,835 | ​ |  | — | ​ |  | 7,432 | ​ |  | —
Home equity | ​ |  | 1,269 | ​ |  | — | ​ |  | 1,493 | ​ |  | —
Consumer other | ​ |  | 5 | ​ |  | — | ​ |  | 60 | ​ |  | —
Total | ​ | $ | 9,899 | ​ | $ | 292 | ​ | $ | 13,693 | ​ | $ | 607
Summary of Impaired Loans | ​
​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
​ |  | December 31, 2020
​ | ​ | Recorded |  | Unpaid Principal |  | Related |  | Average Recorded |  | Interest
(in thousands) | ​ | Investment | ​ | Balance | ​ | Allowance | ​ | Investment | ​ | Income Recognized
With no related allowance: |  | ​ |  |  | ​ |  |  | ​ |  |  | ​ |  |  | ​ |
Construction and land development | ​ | $ | — | ​ | $ | — | ​ | $ | — | ​ | $ | — | ​ | $ | —
Other commercial real estate | ​ |  | 2,001 | ​ |  | 2,047 | ​ |  | — | ​ |  | 1,610 | ​ |  | —
Commercial | ​ |  | 1,095 | ​ |  | 1,254 | ​ |  | — | ​ |  | 1,140 | ​ |  | 4
Agricultural | ​ |  | 361 | ​ |  | 150 | ​ |  | — | ​ |  | 114 | ​ |  | 2
Tax exempt loans | ​ |  | — | ​ |  | — | ​ |  | — | ​ |  | — | ​ |  | —
Residential real estate | ​ |  | 2,745 | ​ |  | 3,165 | ​ |  | — | ​ |  | 1,077 | ​ |  | 17
Home equity | ​ |  | — | ​ |  | — | ​ |  | — | ​ |  | — | ​ |  | —
Other consumer | ​ |  | — | ​ |  | — | ​ |  | — | ​ |  | — | ​ |  | —
​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
With an allowance recorded: | ​ |  |  | ​ |  |  | ​ |  |  | ​ |  |  | ​ |  |
Construction and land development | ​ |  | 258 | ​ |  | 258 | ​ |  | 205 | ​ |  | 203 | ​ |  | —
Other commercial real estate | ​ |  | 1,963 | ​ |  | 2,108 | ​ |  | 1,038 | ​ |  | 1,973 | ​ |  | 17
Commercial | ​ |  | 282 | ​ |  | 289 | ​ |  | 164 | ​ |  | 73 | ​ |  | —
Agricultural | ​ |  | — | ​ |  | — | ​ |  | — | ​ |  | — | ​ |  | —
Tax exempt loans | ​ |  | — | ​ |  | — | ​ |  | — | ​ |  | — | ​ |  | —
Residential real estate | ​ |  | 887 | ​ |  | 944 | ​ |  | 106 | ​ |  | 1,865 | ​ |  | 37
Home equity | ​ |  | 13 | ​ |  | 13 | ​ |  | — | ​ |  | 12 | ​ |  | 1
Other consumer | ​ |  | — | ​ |  | — | ​ |  | — | ​ |  | — | ​ |  | —
​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
Total | ​ |  |  | ​ |  |  | ​ |  |  | ​ |  |  | ​ |  |
Commercial real estate | ​ |  | 4,222 | ​ |  | 4,413 | ​ |  | 1,243 | ​ |  | 3,786 | ​ |  | 17
Commercial and industrial | ​ |  | 1,738 | ​ |  | 1,693 | ​ |  | 164 | ​ |  | 1,327 | ​ |  | 6
Residential real estate | ​ |  | 3,632 | ​ |  | 4,109 | ​ |  | 106 | ​ |  | 2,942 | ​ |  | 54
Consumer | ​ |  | 13 | ​ |  | 13 | ​ |  | — | ​ |  | 12 | ​ |  | 1
Total impaired loans | ​ | $ | 9,605 | ​ | $ | 10,228 | ​ | $ | 1,513 | ​ | $ | 8,067 | ​ | $ | 78
Schedule of Recorded Investment and Number of Modifications for TDRs | ​
​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
​ | ​ | Year Ended December 31, 2020
​ | ​ | ​ | ​ | Pre-Modification | ​ | Post-Modification | ​ | ​ | ​
​ | ​ | Number of | ​ | Outstanding | ​ | Outstanding | ​ | ​ | ​
(in thousands) |  | Modifications |  | Balance |  | Balance |  | Reserve
Commercial construction | ​ | — | ​ | $ | — | ​ | $ | — | ​ | $ | —
Commercial real estate owner occupied |  | — | ​ |  | — | ​ |  | — | ​ |  | —
Commercial real estate non-owner occupied |  | 1 | ​ |  | 54 | ​ |  | 244 | ​ |  | 24
Tax exempt |  | — | ​ |  | — | ​ |  | — | ​ |  | —
Commercial and industrial |  | 7 | ​ |  | 315 | ​ |  | 325 | ​ |  | —
Residential real estate |  | — | ​ |  | — | ​ |  | — | ​ |  | —
Home equity |  | 1 | ​ |  | 26 | ​ |  | 24 | ​ |  | —
Consumer other |  | 1 | ​ |  | 9 | ​ |  | 8 | ​ |  | —
Total |  | 10 | ​ | $ | 404 | ​ | $ | 601 | ​ | $ | 24
​
​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
​ | ​ | Year Ended December 31, 2019
​ | ​ | ​ | ​ | Pre-Modification | ​ | Post-Modification | ​ | ​ | ​
​ | ​ | Number of | ​ | Outstanding | ​ | Outstanding | ​ | ​ | ​
(in thousands) |  | Modifications |  | Balance |  | Balance |  | Reserve
Commercial construction | ​ | — | ​ | $ | — | ​ | $ | — | ​ | $ | —
Commercial real estate owner occupied |  | — | ​ |  | — | ​ |  | — | ​ |  | —
Commercial real estate non-owner occupied |  | 10 | ​ |  | 630 | ​ |  | 529 | ​ |  | 69
Tax exempt |  | — | ​ |  | — | ​ |  | — | ​ |  | —
Commercial and industrial |  | 9 | ​ |  | 866 | ​ |  | 774 | ​ |  | —
Residential real estate |  | 12 | ​ |  | 1,427 | ​ |  | 1,327 | ​ |  | —
Home equity |  | — | ​ |  | — | ​ |  | — | ​ |  | —
Consumer other |  | — | ​ |  | — | ​ |  | — | ​ |  | —
Total |  | 31 | ​ | $ | 2,923 | ​ | $ | 2,630 | ​ | $ | 69
Summary of Loan Concessions | ​
​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
​ | ​ | December 31, 2020 | ​ | December 31, 2019
​ |  | ​ |  | Post-Modification |  | ​ |  | Post-Modification
​ | ​ | Number of | ​ | Outstanding | ​ | Number of | ​ | Outstanding
(in thousands) | ​ | Modifications | ​ | Balance | ​ | Modifications | ​ | Balance
Interest only payments and maturity concession |  | — | ​ | $ | — |  | 2 | ​ | $ | 73
Interest rate, forbearance and maturity concession |  | 4 | ​ | ​ | 384 |  | — | ​ |  | —
Amortization and maturity concession |  | — | ​ |  | — |  | 4 | ​ |  | 273
Amortization concession |  | — | ​ |  | — |  | — | ​ |  | —
Amortization, interest rate and maturity concession |  | — | ​ |  | — |  | 5 | ​ |  | 539
Forbearance |  | — | ​ |  | — |  | 5 | ​ |  | 346
Forbearance and interest only payments |  | 1 | ​ |  | 24 |  | 7 | ​ |  | 692
Forbearance and maturity concession |  | — | ​ |  | — |  | 4 | ​ |  | 472
Forbearance, amortization and maturity concession |  | — | ​ |  | — |  | — | ​ |  | —
Maturity concession |  | 5 | ​ |  | 193 |  | — | ​ |  | —
Other |  | — | ​ |  | — |  | 4 | ​ |  | 235
Total |  | 10 | ​ | $ | 601 |  | 31 | ​ | $ | 2,630
Schedule of Loans to Related Parties | ​
​ | ​ | ​ | ​ | ​ | ​ | ​
(in thousands) | ​ | 2021 | ​ | 2020
Beginning balance | ​ | $ | 6,131 | ​ | $ | 8,209
New loans | ​ |  | 335 | ​ | ​ | 1,589
Less: repayments | ​ |  | (3,087) | ​ | ​ | (3,667)
Ending balance | ​ | $ | 3,379 | ​ | $ | 6,131
Schedule of Servicing Rights Activity | ​
​ | ​ | ​ | ​ | ​ | ​ | ​
​ | ​ | At or for the Twelve Months Ended
​ | ​ | December 31,
(in thousands) |  | 2021 |  | 2020
Balance at beginning of year | ​ | $ | 3,353 | ​ | $ | 3,001
Additions | ​ |  | 565 | ​ |  | 597
Amortization | ​ |  | (245) | ​ |  | (245)
Balance at end of year | ​ | $ | 3,673 | ​ | $ | 3,353
Unfunded Loan Commitment |
Accounts, Notes, Loans and Financing Receivable [Line Items] |
Schedule of Activity in the Allowance for Credit Losses | ​
​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
​ | ​ | At or for the Years Ended December 31,
(in thousands) | ​ | 2021 |  | 2020 | ​ | 2019
Beginning Balance | ​ | $ | 359 | ​ | $ | 314 | ​ | $ | 304
Impact of CECL adoption | ​ | ​ | 1,616 | ​ | ​ | — | ​ | ​ | —
Provision for credit losses | ​ |  | 177 | ​ |  | 45 | ​ |  | 10
Ending Balance | ​ | $ | 2,152 | ​ | $ | 359 | ​ | $ | 314

X
- Definition Tabular disclosure of the amortized cost basis of collateral-dependent loans. + References No definition available. + Details
Name: | bhb_AmortizedCostBasisOfCollateralDependentLoansTableTextBlock
Namespace Prefix: | bhb_
Data Type: | dtr-types:textBlockItemType
Balance Type: | na
Period Type: | duration

X
- Definition Tabular disclosure of loan concessions. + References No definition available. + Details
Name: | bhb_LoanConcessionsTableTextBlock
Namespace Prefix: | bhb_
Data Type: | dtr-types:textBlockItemType
Balance Type: | na
Period Type: | duration

X
- Definition Tabular disclosure of unamortized net loan origination costs and discount (premium) included in accounts, notes, loans, and financing receivable at balance sheet date. + References No definition available. + Details
Name: | bhb_ScheduleOfUnamortizedNetCostsAndPremiumsWithinAccountsNotesLoansAndFinancingReceivableTableTextBlock
Namespace Prefix: | bhb_
Data Type: | dtr-types:textBlockItemType
Balance Type: | na
Period Type: | duration

X
- Definition Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table. + References No definition available. + Details
Name: | us-gaap_AccountsNotesAndLoansReceivableLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Tabular disclosure of allowance for credit loss on financing receivable. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 310 -SubTopic 10 -Section 50 -Paragraph 11B -URI http://asc.fasb.org/extlink&oid=123577603&loc=SL6953423-111524 Reference 2: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 326 -SubTopic 20 -Section 50 -Paragraph 13 -URI http://asc.fasb.org/extlink&oid=124255953&loc=SL82919249-210447 + Details
Name: | us-gaap_AllowanceForCreditLossesOnFinancingReceivablesTableTextBlock
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:textBlockItemType
Balance Type: | na
Period Type: | duration

X
- Definition Tabular disclosure of financing receivables by credit quality indicator. The credit quality indicator is a statistic about the credit quality of financing receivables. Examples include, but not limited to, consumer credit risk scores, credit-rating-agency ratings, an entity's internal credit risk grades, loan-to-value ratios, collateral, collection experience and other internal metrics. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 326 -SubTopic 20 -Section 50 -Paragraph 5 -URI http://asc.fasb.org/extlink&oid=124255953&loc=SL82919230-210447 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 310 -SubTopic 10 -Section 50 -Paragraph 29 -URI http://asc.fasb.org/extlink&oid=123577603&loc=SL6953659-111524 + Details
Name: | us-gaap_FinancingReceivableCreditQualityIndicatorsTableTextBlock
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:textBlockItemType
Balance Type: | na
Period Type: | duration

X
- Definition Tabular disclosure of impaired financing receivables. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 310 -SubTopic 10 -Section 50 -Paragraph 15 -URI http://asc.fasb.org/extlink&oid=123577603&loc=d3e5212-111524 + Details
Name: | us-gaap_ImpairedFinancingReceivablesTableTextBlock
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:textBlockItemType
Balance Type: | na
Period Type: | duration

X
- Definition Tabular disclosure of aging analysis for financing receivable. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 326 -SubTopic 20 -Section 50 -Paragraph 14 -URI http://asc.fasb.org/extlink&oid=124255953&loc=SL82919253-210447 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 310 -SubTopic 10 -Section 50 -Paragraph 7A -URI http://asc.fasb.org/extlink&oid=123577603&loc=SL6953401-111524 Reference 3: http://www.xbrl.org/2003/role/exampleRef -Publisher FASB -Name Accounting Standards Codification -Topic 326 -SubTopic 20 -Section 55 -Paragraph 80 -URI http://asc.fasb.org/extlink&oid=124267575&loc=SL82922355-210448 Reference 4: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 310 -SubTopic 10 -Section 50 -Paragraph 7 -URI http://asc.fasb.org/extlink&oid=123577603&loc=d3e5111-111524 + Details
Name: | us-gaap_PastDueFinancingReceivablesTableTextBlock
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:textBlockItemType
Balance Type: | na
Period Type: | duration

X
- Definition Tabular disclosure of the various types of trade accounts and notes receivable and for each the gross carrying value, allowance, and net carrying value as of the balance sheet date. Presentation is categorized by current, noncurrent and unclassified receivables. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02.3,4) -URI http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682 + Details
Name: | us-gaap_ScheduleOfAccountsNotesLoansAndFinancingReceivableTextBlock
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:textBlockItemType
Balance Type: | na
Period Type: | duration

X
- Definition Tabular disclosure of financing receivable on nonaccrual status. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 310 -SubTopic 10 -Section 50 -Paragraph 7 -URI http://asc.fasb.org/extlink&oid=123577603&loc=d3e5111-111524 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 326 -SubTopic 20 -Section 50 -Paragraph 16 -URI http://asc.fasb.org/extlink&oid=124255953&loc=SL82919258-210447 + Details
Name: | us-gaap_ScheduleOfFinancingReceivablesNonAccrualStatusTableTextBlock
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:textBlockItemType
Balance Type: | na
Period Type: | duration

X
- Definition Tabular disclosure of related party transactions. Examples of related party transactions include, but are not limited to, transactions between (a) a parent company and its subsidiary; (b) subsidiaries of a common parent; (c) and entity and its principal owners and (d) affiliates. + References No definition available. + Details
Name: | us-gaap_ScheduleOfRelatedPartyTransactionsTableTextBlock
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:textBlockItemType
Balance Type: | na
Period Type: | duration

X
- Definition Tabular disclosure of activity in the balance of servicing assets subsequently measured at amortized cost. Includes, but is not limited to, beginning and ending balances, additions, disposals, and amortization. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 860 -SubTopic 50 -Section 50 -Paragraph 4 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=125521744&loc=d3e122739-111746 + Details
Name: | us-gaap_ScheduleOfServicingAssetsAtAmortizedValueTextBlock
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:textBlockItemType
Balance Type: | na
Period Type: | duration

X
- Definition Tabular disclosure of financing receivable modified as troubled debt restructuring. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 310 -SubTopic 10 -Section 50 -Paragraph 33 -URI http://asc.fasb.org/extlink&oid=123577603&loc=SL6953676-111524 Reference 2: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 310 -SubTopic 10 -Section 50 -Paragraph 34 -URI http://asc.fasb.org/extlink&oid=123577603&loc=SL6953682-111524 + Details
Name: | us-gaap_TroubledDebtRestructuringsOnFinancingReceivablesTableTextBlock
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:textBlockItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis=us-gaap_UnfundedLoanCommitmentMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |