XML 41 R28.htm IDEA: XBRL DOCUMENT
v3.21.2

LOANS (Tables) | 9 Months Ended
--- | ---
Sep. 30, 2021
LOANS |
Summary of loans outstanding | Summary of Loans by Type (In Thousands) ​
​ | ​ | ​ | ​ | ​ | ​ | ​
​ |  | September 30, |  | December 31,
​ | ​ | 2021 | ​ | 2020
Commercial: | ​ |  |  | ​ |  |
Commercial loans secured by real estate | ​ | $ | 553,389 | ​ | $ | 531,810
Commercial and industrial | ​ |  | 152,244 | ​ |  | 159,577
Paycheck Protection Program - 1st Draw | ​ | ​ | 5,747 | ​ | ​ | 132,269
Paycheck Protection Program - 2nd Draw | ​ | ​ | 56,981 | ​ | ​ | 0
Political subdivisions | ​ |  | 73,503 | ​ |  | 53,221
Commercial construction and land | ​ |  | 53,267 | ​ |  | 42,874
Loans secured by farmland | ​ |  | 10,812 | ​ |  | 11,736
Multi-family (5 or more) residential | ​ |  | 52,962 | ​ |  | 55,811
Agricultural loans | ​ |  | 3,092 | ​ |  | 3,164
Other commercial loans | ​ |  | 17,312 | ​ |  | 17,289
Total commercial | ​ |  | 979,309 | ​ |  | 1,007,751
Residential mortgage: |  | ​ |  |  | ​ |
Residential mortgage loans - first liens | ​ | ​ | 494,376 | ​ | ​ | 532,947
Residential mortgage loans - junior liens | ​ |  | 24,303 | ​ |  | 27,311
Home equity lines of credit | ​ |  | 38,465 | ​ |  | 39,301
1-4 Family residential construction | ​ |  | 21,719 | ​ |  | 20,613
Total residential mortgage | ​ |  | 578,863 | ​ |  | 620,172
Consumer | ​ |  | 17,536 | ​ |  | 16,286
Total | ​ |  | 1,575,708 | ​ |  | 1,644,209
Less: allowance for loan losses | ​ |  | (12,700) | ​ |  | (11,385)
Loans, net | ​ | $ | 1,563,008 | ​ | $ | 1,632,824
​
Schedule of adjustments to the initial market rate and credit fair value adjustments recognized | ​
​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
(In Thousands) |  | ​ | ​ |  | ​ | ​ |  | ​ | ​ |  | ​ | ​
​ | ​ | Three Months Ended | ​ | Nine Months Ended
​ | ​ | September 30, | ​ | September 30, | ​ | September 30, | ​ | September 30,
​ | ​ | 2021 | ​ | 2020 | ​ | 2021 | ​ | 2020
Market Rate Adjustment |  | ​ |  |  | ​ |  |  | ​ |  |  | ​ |
Adjustments to gross amortized cost of loans at beginning of period | ​ | $ | (5) | ​ | $ | (1,103) | ​ | $ | 718 | ​ | $ | (1,415)
Market rate adjustment recorded in acquisition | ​ | ​ | 0 | ​ | ​ | 2,909 | ​ | ​ | 0 | ​ | ​ | 2,909
Amortization recognized in interest income | ​ | ​ | (368) | ​ | ​ | (452) | ​ | ​ | (1,091) | ​ | ​ | (140)
Adjustments to gross amortized cost of loans at end of period | ​ | $ | (373) | ​ | $ | 1,354 | ​ | $ | (373) | ​ | $ | 1,354
Credit Adjustment on Non-impaired Loans | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
Adjustments to gross amortized cost of loans at beginning of period | ​ | $ | (4,502) | ​ | $ | (878) | ​ | $ | (5,979) | ​ | $ | (1,216)
Credit adjustment recorded in acquisition | ​ | ​ | 0 | ​ | ​ | (7,219) | ​ | ​ | 0 | ​ | ​ | (7,219)
Accretion recognized in interest income | ​ |  | 666 | ​ |  | 970 | ​ |  | 2,143 | ​ |  | 1,308
Adjustments to gross amortized cost of loans at end of period | ​ | $ | (3,836) | ​ | $ | (7,127) | ​ | $ | (3,836) | ​ | $ | (7,127)
Schedule of PCI loans | ​
​ | ​ | ​ | ​ | ​ | ​ | ​
(In Thousands) | ​ | September 30, | ​ | December 31,
​ |  | 2021 |  | 2020
Outstanding balance | ​ | $ | 10,064 | ​ | $ | 10,316
Carrying amount | ​ |  | 6,624 | ​ |  | 6,841
Schedule of transactions within the allowance for loan losses | ​
​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
Three Months Ended September 30, 2021 | ​ | June 30, 2021 |  |  | ​ |  |  | ​ |  |  | ​ |  | September 30, 2021
(In Thousands) |  | Balance |  | Charge-offs |  | Recoveries |  | Provision (Credit) |  | Balance
Allowance for Loan Losses: |  | ​ |  | ​ | ​ |  | ​ | ​ |  | ​ | ​ |  | ​ | ​ |
Commercial: | ​ |  |  | ​ |  |  | ​ |  |  | ​ |  |  | ​ |  |
Commercial loans secured by real estate | ​ | $ | 3,452 | ​ | $ | 0 | ​ | $ | 0 | ​ | $ | 368 | ​ | $ | 3,820
Commercial and industrial | ​ |  | 2,781 | ​ |  | (1,194) | ​ |  | 6 | ​ |  | 947 | ​ |  | 2,540
Commercial construction and land | ​ |  | 452 | ​ |  | 0 | ​ |  | 0 | ​ |  | 107 | ​ |  | 559
Loans secured by farmland | ​ |  | 113 | ​ |  | 0 | ​ |  | 0 | ​ |  | (1) | ​ |  | 112
Multi-family (5 or more) residential | ​ |  | 150 | ​ |  | 0 | ​ |  | 0 | ​ |  | 46 | ​ |  | 196
Agricultural loans | ​ |  | 25 | ​ |  | 0 | ​ |  | 0 | ​ |  | 8 | ​ |  | 33
Other commercial loans | ​ |  | 145 | ​ |  | 0 | ​ |  | 0 | ​ |  | 28 | ​ |  | 173
Total commercial | ​ |  | 7,118 | ​ |  | (1,194) | ​ |  | 6 | ​ |  | 1,503 | ​ |  | 7,433
Residential mortgage: |  | ​ |  | ​ | ​ |  | ​ | ​ |  | ​ | ​ |  | ​ | ​ |
Residential mortgage loans - first liens | ​ | ​ | 3,536 | ​ | ​ | 0 | ​ | ​ | 1 | ​ | ​ | 29 | ​ | ​ | 3,566
Residential mortgage loans - junior liens | ​ |  | 327 | ​ |  | 0 | ​ |  | 0 | ​ |  | (6) | ​ |  | 321
Home equity lines of credit | ​ |  | 294 | ​ |  | 0 | ​ |  | 0 | ​ |  | (11) | ​ |  | 283
1-4 Family residential construction | ​ |  | 198 | ​ |  | 0 | ​ |  | 0 | ​ |  | (9) | ​ |  | 189
Total residential mortgage | ​ |  | 4,355 | ​ |  | 0 | ​ |  | 1 | ​ |  | 3 | ​ | ​ | 4,359
Consumer | ​ |  | 231 | ​ |  | (26) | ​ |  | 8 | ​ |  | 24 | ​ |  | 237
Unallocated | ​ |  | 671 | ​ |  | 0 | ​ |  | 0 | ​ |  | 0 | ​ |  | 671
Total Allowance for Loan Losses | ​ | $ | 12,375 | ​ | $ | (1,220) | ​ | $ | 15 | ​ | $ | 1,530 | ​ | $ | 12,700
​
​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
Three Months Ended September 30, 2020 | ​ | June 30, 2020 |  |  | ​ |  |  | ​ |  |  | ​ |  | September 30, 2020
(In Thousands) |  | Balance |  | Charge-offs |  | Recoveries |  | Provision (Credit) |  | Balance
Allowance for Loan Losses: |  | ​ |  | ​ | ​ |  | ​ | ​ |  | ​ | ​ |  | ​ | ​ |
Commercial: | ​ |  |  | ​ |  |  | ​ |  |  | ​ |  |  | ​ |  |
Commercial loans secured by real estate | ​ | $ | 2,426 | ​ | $ | 0 | ​ | $ | 0 | ​ | $ | (40) | ​ | $ | 2,386
Commercial and industrial | ​ |  | 2,496 | ​ |  | (2,219) | ​ |  | 0 | ​ |  | 1,974 | ​ |  | 2,251
Commercial construction and land | ​ |  | 420 | ​ |  | 0 | ​ |  | 0 | ​ |  | 20 | ​ |  | 440
Loans secured by farmland | ​ |  | 146 | ​ |  | 0 | ​ |  | 0 | ​ |  | (25) | ​ |  | 121
Multi-family (5 or more) residential | ​ |  | 163 | ​ |  | 0 | ​ |  | 0 | ​ |  | 64 | ​ |  | 227
Agricultural loans | ​ |  | 40 | ​ |  | 0 | ​ |  | 0 | ​ |  | (3) | ​ |  | 37
Other commercial loans | ​ |  | 167 | ​ |  | 0 | ​ |  | 0 | ​ |  | 0 | ​ |  | 167
Total commercial | ​ |  | 5,858 | ​ |  | (2,219) | ​ |  | 0 | ​ |  | 1,990 | ​ |  | 5,629
Residential mortgage: |  | ​ |  | ​ | ​ |  | ​ | ​ |  | ​ | ​ |  | ​ | ​ |
Residential mortgage loans - first liens | ​ | ​ | 3,531 | ​ | ​ | 0 | ​ | ​ | 26 | ​ | ​ | (92) | ​ | ​ | 3,465
Residential mortgage loans - junior liens | ​ |  | 365 | ​ |  | 0 | ​ |  | 0 | ​ |  | (7) | ​ |  | 358
Home equity lines of credit | ​ |  | 287 | ​ |  | 0 | ​ |  | 1 | ​ |  | 1 | ​ |  | 289
1-4 Family residential construction | ​ |  | 137 | ​ |  | 0 | ​ |  | 0 | ​ |  | 32 | ​ |  | 169
Total residential mortgage | ​ |  | 4,320 | ​ |  | 0 | ​ |  | 27 | ​ |  | (66) | ​ |  | 4,281
Consumer | ​ |  | 263 | ​ |  | (30) | ​ |  | 8 | ​ |  | 17 | ​ |  | 258
Unallocated | ​ |  | 585 | ​ |  | 0 | ​ |  | 0 | ​ |  | 0 | ​ |  | 585
Total Allowance for Loan Losses | ​ | $ | 11,026 | ​ | $ | (2,249) | ​ | $ | 35 | ​ | $ | 1,941 | ​ | $ | 10,753
​ ​
​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
​ |  | December 31, |  | ​ | ​ |  | ​ | ​ |  | ​ | ​ |  | September 30,
Nine Months Ended September 30, 2021 | ​ | 2020 | ​ | ​ | ​ | ​ | ​ | ​ | ​ | Provision | ​ | 2021
(In Thousands) | ​ | Balance | ​ | Charge-offs | ​ | Recoveries | ​ | (Credit) | ​ | Balance
Allowance for Loan Losses: | ​ |  | ​ | ​ |  | ​ | ​ |  | ​ | ​ |  | ​ | ​ |  | ​
Commercial: | ​ |  |  | ​ |  |  | ​ |  |  | ​ |  |  | ​ |  |
Commercial loans secured by real estate | ​ | $ | 3,051 | ​ | $ | 0 | ​ | $ | 2 | ​ | $ | 767 | ​ | $ | 3,820
Commercial and industrial | ​ |  | 2,245 | ​ |  | (1,194) | ​ |  | 20 | ​ |  | 1,469 | ​ |  | 2,540
Commercial construction and land | ​ |  | 454 | ​ |  | 0 | ​ |  | 0 | ​ |  | 105 | ​ |  | 559
Loans secured by farmland | ​ |  | 120 | ​ |  | 0 | ​ |  | 0 | ​ |  | (8) | ​ |  | 112
Multi-family (5 or more) residential | ​ |  | 236 | ​ |  | 0 | ​ |  | 0 | ​ |  | (40) | ​ |  | 196
Agricultural loans | ​ |  | 34 | ​ |  | 0 | ​ |  | 0 | ​ |  | (1) | ​ |  | 33
Other commercial loans | ​ |  | 168 | ​ |  | 0 | ​ |  | 0 | ​ |  | 5 | ​ |  | 173
Total commercial | ​ |  | 6,308 | ​ |  | (1,194) | ​ |  | 22 | ​ |  | 2,297 | ​ |  | 7,433
Residential mortgage: |  | ​ |  |  | ​ |  |  | ​ |  |  | ​ |  |  | ​ |
Residential mortgage loans - first liens | ​ | ​ | 3,524 | ​ | ​ | (11) | ​ | ​ | 3 | ​ | ​ | 50 | ​ | ​ | 3,566
Residential mortgage loans - junior liens | ​ |  | 349 | ​ |  | 0 | ​ |  | 0 | ​ |  | (28) | ​ |  | 321
Home equity lines of credit | ​ |  | 281 | ​ |  | 0 | ​ |  | 2 | ​ |  | 0 | ​ |  | 283
1-4 Family residential construction | ​ |  | 99 | ​ |  | 0 | ​ |  | 0 | ​ |  | 90 | ​ |  | 189
Total residential mortgage | ​ |  | 4,253 | ​ |  | (11) | ​ |  | 5 | ​ |  | 112 | ​ |  | 4,359
Consumer | ​ |  | 239 | ​ |  | (73) | ​ |  | 33 | ​ |  | 38 | ​ |  | 237
Unallocated | ​ |  | 585 | ​ |  | 0 | ​ |  | 0 | ​ |  | 86 | ​ |  | 671
Total Allowance for Loan Losses | ​ | $ | 11,385 | ​ | $ | (1,278) | ​ | $ | 60 | ​ | $ | 2,533 | ​ | $ | 12,700
​
​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
​ |  | December 31, |  | ​ | ​ |  | ​ | ​ |  | ​ | ​ |  | September 30,
Nine Months Ended September 30, 2020 | ​ | 2019 | ​ | ​ | ​ | ​ | ​ | ​ | ​ | Provision | ​ | 2020
(In Thousands) | ​ | Balance | ​ | Charge-offs | ​ | Recoveries | ​ | (Credit) | ​ | Balance
Allowance for Loan Losses: | ​ |  | ​ | ​ |  | ​ | ​ |  | ​ | ​ |  | ​ | ​ |  | ​
Commercial: | ​ |  | ​ | ​ |  | ​ | ​ |  | ​ | ​ |  | ​ | ​ |  |
Commercial loans secured by real estate | ​ | $ | 1,921 | ​ | $ | 0 | ​ | $ | 0 | ​ | $ | 465 | ​ | $ | 2,386
Commercial and industrial | ​ |  | 1,391 | ​ |  | (2,236) | ​ |  | 0 | ​ |  | 3,096 | ​ |  | 2,251
Commercial construction and land | ​ |  | 966 | ​ |  | (107) | ​ |  | 0 | ​ |  | (419) | ​ |  | 440
Loans secured by farmland | ​ |  | 158 | ​ |  | 0 | ​ |  | 0 | ​ |  | (37) | ​ |  | 121
Multi-family (5 or more) residential | ​ |  | 156 | ​ |  | 0 | ​ |  | 0 | ​ |  | 71 | ​ |  | 227
Agricultural loans | ​ |  | 41 | ​ |  | 0 | ​ |  | 0 | ​ |  | (4) | ​ |  | 37
Other commercial loans | ​ |  | 155 | ​ |  | 0 | ​ |  | 0 | ​ |  | 12 | ​ |  | 167
Total commercial | ​ |  | 4,788 | ​ |  | (2,343) | ​ |  | 0 | ​ |  | 3,184 | ​ |  | 5,629
Residential mortgage: |  | ​ |  |  | ​ |  |  | ​ |  |  | ​ |  |  | ​ |
Residential mortgage loans - first liens | ​ | ​ | 3,405 | ​ | ​ | 0 | ​ | ​ | 28 | ​ | ​ | 32 | ​ | ​ | 3,465
Residential mortgage loans - junior liens | ​ |  | 384 | ​ |  | 0 | ​ |  | 1 | ​ |  | (27) | ​ |  | 358
Home equity lines of credit | ​ |  | 276 | ​ |  | 0 | ​ |  | 3 | ​ |  | 10 | ​ |  | 289
1-4 Family residential construction | ​ |  | 117 | ​ |  | 0 | ​ |  | 0 | ​ |  | 52 | ​ |  | 169
Total residential mortgage | ​ |  | 4,182 | ​ |  | 0 | ​ |  | 32 | ​ |  | 67 | ​ |  | 4,281
Consumer | ​ |  | 281 | ​ |  | (100) | ​ |  | 35 | ​ |  | 42 | ​ |  | 258
Unallocated | ​ |  | 585 | ​ |  | 0 | ​ |  | 0 | ​ |  | 0 | ​ |  | 585
Total Allowance for Loan Losses | ​ | $ | 9,836 | ​ | $ | (2,443) | ​ | $ | 67 | ​ | $ | 3,293 | ​ | $ | 10,753
​ ​
Schedule of aggregate credit quality classification of outstanding loans by risk | ​
​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
September 30, 2021 |  | ​ | ​ |  | ​ | ​ |  | ​ | ​ |  | ​ | ​ |  | Purchased |  | ​ | ​
(In Thousands) | ​ | ​ | ​ | ​ | Special | ​ | ​ | ​ | ​ | ​ | ​ | ​ | Credit | ​ | ​ | ​
​ | ​ | Pass | ​ | Mention | ​ | Substandard | ​ | Doubtful | ​ | Impaired | ​ | Total
Commercial: | ​ |  | ​ | ​ |  | ​ | ​ |  | ​ | ​ |  | ​ | ​ |  | ​ | ​ |  | ​
Commercial loans secured by real estate | ​ | $ | 519,673 | ​ | $ | 15,055 | ​ | $ | 14,473 | ​ | $ | 0 | ​ | $ | 4,188 | ​ | $ | 553,389
Commercial and Industrial | ​ |  | 136,858 | ​ |  | 8,578 | ​ |  | 6,028 | ​ |  | 0 | ​ |  | 780 | ​ |  | 152,244
Paycheck Protection Program - 1st Draw | ​ | ​ | 5,747 | ​ | ​ | 0 | ​ | ​ | 0 | ​ | ​ | 0 | ​ | ​ | 0 | ​ | ​ | 5,747
Paycheck Protection Program - 2nd Draw | ​ | ​ | 56,981 | ​ | ​ | 0 | ​ | ​ | 0 | ​ | ​ | 0 | ​ | ​ | 0 | ​ | ​ | 56,981
Political subdivisions | ​ |  | 73,503 | ​ |  | 0 | ​ |  | 0 | ​ |  | 0 | ​ |  | 0 | ​ |  | 73,503
Commercial construction and land | ​ |  | 52,504 | ​ |  | 715 | ​ |  | 48 | ​ |  | 0 | ​ |  | 0 | ​ |  | 53,267
Loans secured by farmland | ​ |  | 9,639 | ​ |  | 194 | ​ |  | 979 | ​ |  | 0 | ​ |  | 0 | ​ |  | 10,812
Multi-family (5 or more) residential | ​ |  | 48,154 | ​ |  | 2,352 | ​ |  | 878 | ​ |  | 0 | ​ |  | 1,578 | ​ |  | 52,962
Agricultural loans | ​ |  | 2,533 | ​ |  | 0 | ​ |  | 559 | ​ |  | 0 | ​ |  | 0 | ​ |  | 3,092
Other commercial loans | ​ |  | 17,307 | ​ |  | 5 | ​ |  | 0 | ​ |  | 0 | ​ |  | 0 | ​ |  | 17,312
Total commercial | ​ |  | 922,899 | ​ |  | 26,899 | ​ |  | 22,965 | ​ |  | 0 | ​ |  | 6,546 | ​ |  | 979,309
Residential Mortgage: |  | ​ |  |  | ​ |  |  | ​ |  |  | ​ |  |  | ​ |  |  | ​ |
Residential mortgage loans - first liens | ​ | ​ | 482,710 | ​ | ​ | 5,066 | ​ | ​ | 6,528 | ​ | ​ | 0 | ​ | ​ | 72 | ​ | ​ | 494,376
Residential mortgage loans - junior liens | ​ |  | 23,676 | ​ |  | 107 | ​ |  | 514 | ​ |  | 0 | ​ |  | 6 | ​ |  | 24,303
Home equity lines of credit | ​ |  | 37,889 | ​ |  | 59 | ​ |  | 517 | ​ |  | 0 | ​ |  | 0 | ​ |  | 38,465
1-4 Family residential construction | ​ |  | 21,719 | ​ |  | 0 | ​ |  | 0 | ​ |  | 0 | ​ |  | 0 | ​ |  | 21,719
Total residential mortgage | ​ |  | 565,994 | ​ |  | 5,232 | ​ |  | 7,559 | ​ |  | 0 | ​ |  | 78 | ​ |  | 578,863
Consumer | ​ |  | 17,505 | ​ |  | 0 | ​ |  | 31 | ​ |  | 0 | ​ |  | 0 | ​ |  | 17,536
Totals | ​ | $ | 1,506,398 | ​ | $ | 32,131 | ​ | $ | 30,555 | ​ | $ | 0 | ​ | $ | 6,624 | ​ | $ | 1,575,708
​
​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
December 31, 2020 |  | ​ | ​ |  | ​ | ​ |  | ​ | ​ |  | ​ | ​ |  | Purchased |  | ​ | ​
(In Thousands) | ​ | ​ | ​ | ​ | Special | ​ | ​ | ​ | ​ | ​ | ​ | ​ | Credit | ​ | ​ | ​
​ | ​ | Pass | ​ | Mention | ​ | Substandard | ​ | Doubtful | ​ | Impaired | ​ | Total
Commercial: | ​ |  | ​ | ​ |  | ​ | ​ |  | ​ | ​ |  | ​ | ​ |  | ​ | ​ |  | ​
Commercial loans secured by real estate | ​ | $ | 494,876 | ​ | $ | 17,374 | ​ | $ | 15,262 | ​ | $ | 0 | ​ | $ | 4,298 | ​ | $ | 531,810
Commercial and Industrial | ​ |  | 143,500 | ​ |  | 8,025 | ​ |  | 7,268 | ​ |  | 0 | ​ |  | 784 | ​ |  | 159,577
Paycheck Protection Program - 1st Draw | ​ | ​ | 132,269 | ​ | ​ | 0 | ​ | ​ | 0 | ​ | ​ | 0 | ​ | ​ | 0 | ​ | ​ | 132,269
Political subdivisions | ​ |  | 53,221 | ​ |  | 0 | ​ |  | 0 | ​ |  | 0 | ​ |  | 0 | ​ |  | 53,221
Commercial construction and land | ​ |  | 42,110 | ​ |  | 715 | ​ |  | 49 | ​ |  | 0 | ​ |  | 0 | ​ |  | 42,874
Loans secured by farmland | ​ |  | 10,473 | ​ |  | 405 | ​ |  | 858 | ​ |  | 0 | ​ |  | 0 | ​ |  | 11,736
Multi-family (5 or more) residential | ​ |  | 50,563 | ​ |  | 2,405 | ​ |  | 1,229 | ​ |  | 0 | ​ |  | 1,614 | ​ |  | 55,811
Agricultural loans | ​ |  | 2,569 | ​ |  | 0 | ​ |  | 595 | ​ |  | 0 | ​ |  | 0 | ​ |  | 3,164
Other commercial loans | ​ |  | 17,289 | ​ |  | 0 | ​ |  | 0 | ​ |  | 0 | ​ |  | 0 | ​ |  | 17,289
Total commercial | ​ |  | 946,870 | ​ |  | 28,924 | ​ |  | 25,261 | ​ |  | 0 | ​ |  | 6,696 | ​ |  | 1,007,751
Residential Mortgage: |  | ​ |  |  | ​ |  |  | ​ |  |  | ​ |  |  | ​ |  |  | ​ |
Residential Mortgage loans - first liens | ​ | ​ | 516,685 | ​ | ​ | 6,192 | ​ | ​ | 9,994 | ​ | ​ | 0 | ​ | ​ | 76 | ​ | ​ | 532,947
Residential Mortgage loans - junior liens | ​ |  | 26,480 | ​ |  | 141 | ​ |  | 621 | ​ |  | 0 | ​ |  | 69 | ​ |  | 27,311
Home equity lines of credit | ​ |  | 38,529 | ​ |  | 59 | ​ |  | 713 | ​ |  | 0 | ​ |  | 0 | ​ |  | 39,301
1-4 Family residential construction | ​ |  | 20,613 | ​ |  | 0 | ​ |  | 0 | ​ |  | 0 | ​ |  | 0 | ​ |  | 20,613
Total residential mortgage | ​ |  | 602,307 | ​ |  | 6,392 | ​ |  | 11,328 | ​ |  | 0 | ​ |  | 145 | ​ |  | 620,172
Consumer | ​ |  | 16,172 | ​ |  | 0 | ​ |  | 114 | ​ |  | 0 | ​ |  | 0 | ​ |  | 16,286
Totals | ​ | $ | 1,565,349 | ​ | $ | 35,316 | ​ | $ | 36,703 | ​ | $ | 0 | ​ | $ | 6,841 | ​ | $ | 1,644,209
Summary of loan balances and the related allowance for loan losses | ​
​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
September 30, 2021 |  | Loans: | ​ | Allowance for Loan Losses:
(In Thousands) | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
​ | ​ | Individually | ​ | Collectively | ​ | ​ | ​ | ​ | Individually | ​ | Collectively | ​ |  | ​
​ |  | Evaluated |  | Evaluated |  | Totals |  | Evaluated |  | Evaluated |  | Totals
Commercial: | ​ |  | ​ | ​ |  | ​ | ​ |  | ​ | ​ |  | ​ | ​ |  | ​ | ​ |  | ​
Commercial loans secured by real estate | ​ | $ | 11,303 | ​ | $ | 542,086 | ​ | $ | 553,389 | ​ | $ | 672 | ​ | $ | 3,148 | ​ | $ | 3,820
Commercial and industrial | ​ |  | 3,598 | ​ |  | 148,646 | ​ |  | 152,244 | ​ |  | 72 | ​ |  | 2,468 | ​ |  | 2,540
Paycheck Protection Program - 1st Draw | ​ |  | 0 | ​ |  | 5,747 | ​ |  | 5,747 | ​ |  | 0 | ​ |  | 0 | ​ |  | 0
Paycheck Protection Program - 2nd Draw | ​ | ​ | 0 | ​ | ​ | 56,981 | ​ | ​ | 56,981 | ​ | ​ | 0 | ​ | ​ | 0 | ​ | ​ | 0
Political subdivisions | ​ |  | 0 | ​ |  | 73,503 | ​ |  | 73,503 | ​ |  | 0 | ​ |  | 0 | ​ |  | 0
Commercial construction and land | ​ |  | 0 | ​ |  | 53,267 | ​ |  | 53,267 | ​ |  | 0 | ​ |  | 559 | ​ |  | 559
Loans secured by farmland | ​ |  | 84 | ​ |  | 10,728 | ​ |  | 10,812 | ​ |  | 0 | ​ |  | 112 | ​ |  | 112
Multi-family (5 or more) residential | ​ |  | 1,578 | ​ |  | 51,384 | ​ |  | 52,962 | ​ |  | 0 | ​ |  | 196 | ​ |  | 196
Agricultural loans | ​ |  | 0 | ​ |  | 3,092 | ​ |  | 3,092 | ​ |  | 0 | ​ |  | 33 | ​ |  | 33
Other commercial loans | ​ |  | 0 | ​ |  | 17,312 | ​ |  | 17,312 | ​ |  | 0 | ​ |  | 173 | ​ |  | 173
Total commercial | ​ |  | 16,563 | ​ |  | 962,746 | ​ |  | 979,309 | ​ |  | 744 | ​ |  | 6,689 | ​ |  | 7,433
Residential mortgage: |  | ​ |  |  | ​ |  |  | ​ |  |  | ​ |  |  | ​ |  |  | ​ |
Residential mortgage loans - first liens | ​ | ​ | 1,134 | ​ | ​ | 493,242 | ​ | ​ | 494,376 | ​ | ​ | 0 | ​ | ​ | 3,566 | ​ | ​ | 3,566
Residential mortgage loans - junior liens | ​ |  | 317 | ​ |  | 23,986 | ​ |  | 24,303 | ​ |  | 139 | ​ |  | 182 | ​ |  | 321
Home equity lines of credit | ​ |  | 0 | ​ |  | 38,465 | ​ |  | 38,465 | ​ |  | 0 | ​ |  | 283 | ​ |  | 283
1-4 Family residential construction | ​ |  | 0 | ​ |  | 21,719 | ​ |  | 21,719 | ​ |  | 0 | ​ |  | 189 | ​ |  | 189
Total residential mortgage | ​ |  | 1,451 | ​ |  | 577,412 | ​ |  | 578,863 | ​ |  | 139 | ​ |  | 4,220 | ​ |  | 4,359
Consumer | ​ |  | 0 | ​ |  | 17,536 | ​ |  | 17,536 | ​ |  | 0 | ​ |  | 237 | ​ |  | 237
Unallocated | ​ |  | ​ | ​ |  | ​ | ​ |  | ​ | ​ |  | ​ | ​ |  | ​ | ​ |  | 671
​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
Total | ​ | $ | 18,014 | ​ | $ | 1,557,694 | ​ | $ | 1,575,708 | ​ | $ | 883 | ​ | $ | 11,146 | ​ | $ | 12,700
​
​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
December 31, 2020 |  | Loans: | ​ | Allowance for Loan Losses:
(In Thousands) | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
​ | ​ | Individually | ​ | Collectively | ​ | ​ | ​ | ​ | Individually | ​ | Collectively | ​ |  | ​
​ |  | Evaluated |  | Evaluated |  | Totals |  | Evaluated |  | Evaluated |  | Totals
Commercial: | ​ |  | ​ | ​ |  | ​ | ​ |  | ​ | ​ |  | ​ | ​ |  | ​ | ​ |  | ​
Commercial loans secured by real estate | ​ | $ | 11,962 | ​ | $ | 519,848 | ​ | $ | 531,810 | ​ | $ | 692 | ​ | $ | 2,359 | ​ | $ | 3,051
Commercial and industrial | ​ |  | 1,359 | ​ |  | 158,218 | ​ |  | 159,577 | ​ |  | 71 | ​ |  | 2,174 | ​ |  | 2,245
Paycheck Protection Program - 1st Draw | ​ |  | 0 | ​ |  | 132,269 | ​ |  | 132,269 | ​ |  | 0 | ​ |  | 0 | ​ |  | 0
Political subdivisions | ​ |  | 0 | ​ |  | 53,221 | ​ |  | 53,221 | ​ |  | 0 | ​ |  | 0 | ​ |  | 0
Commercial construction and land | ​ |  | 0 | ​ |  | 42,874 | ​ |  | 42,874 | ​ |  | 0 | ​ |  | 454 | ​ |  | 454
Loans secured by farmland | ​ |  | 84 | ​ |  | 11,652 | ​ |  | 11,736 | ​ |  | 0 | ​ |  | 120 | ​ |  | 120
Multi-family (5 or more) residential | ​ |  | 1,614 | ​ |  | 54,197 | ​ |  | 55,811 | ​ |  | 0 | ​ |  | 236 | ​ |  | 236
Agricultural loans | ​ |  | 0 | ​ |  | 3,164 | ​ |  | 3,164 | ​ |  | 0 | ​ |  | 34 | ​ |  | 34
Other commercial loans | ​ |  | 0 | ​ |  | 17,289 | ​ |  | 17,289 | ​ |  | 0 | ​ |  | 168 | ​ |  | 168
Total commercial | ​ |  | 15,019 | ​ |  | 992,732 | ​ |  | 1,007,751 | ​ |  | 763 | ​ |  | 5,545 | ​ |  | 6,308
Residential mortgage: |  | ​ |  |  | ​ |  |  | ​ |  |  | ​ |  |  | ​ |  |  | ​ |
Residential mortgage loans - first liens | ​ | ​ | 2,385 | ​ | ​ | 530,562 | ​ | ​ | 532,947 | ​ | ​ | 9 | ​ | ​ | 3,515 | ​ | ​ | 3,524
Residential mortgage loans - junior liens | ​ |  | 414 | ​ |  | 26,897 | ​ |  | 27,311 | ​ |  | 153 | ​ |  | 196 | ​ |  | 349
Home equity lines of credit | ​ |  | 0 | ​ |  | 39,301 | ​ |  | 39,301 | ​ |  | 0 | ​ |  | 281 | ​ |  | 281
1-4 Family residential construction | ​ |  | 0 | ​ |  | 20,613 | ​ |  | 20,613 | ​ |  | 0 | ​ |  | 99 | ​ |  | 99
Total residential mortgage | ​ |  | 2,799 | ​ |  | 617,373 | ​ |  | 620,172 | ​ |  | 162 | ​ |  | 4,091 | ​ |  | 4,253
Consumer | ​ |  | 0 | ​ |  | 16,286 | ​ |  | 16,286 | ​ |  | 0 | ​ |  | 239 | ​ |  | 239
Unallocated | ​ |  | ​ | ​ |  | ​ | ​ |  | ​ | ​ |  | ​ | ​ |  | ​ | ​ |  | 585
​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
Total | ​ | $ | 17,818 | ​ | $ | 1,626,391 | ​ | $ | 1,644,209 | ​ | $ | 925 | ​ | $ | 9,875 | ​ | $ | 11,385
Summary of information related to impaired loans | ​
​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
(In Thousands) | ​ | September 30, 2021 | ​ | December 31, 2020
​ | ​ | Unpaid | ​ | ​ | ​ | ​ | ​ | ​ | ​ | Unpaid | ​ | ​ | ​ | ​ | ​ | ​
​ | ​ | Principal | ​ | Recorded | ​ | Related | ​ | Principal | ​ | Recorded | ​ | Related
​ |  | Balance |  | Investment |  | Allowance |  | Balance |  | Investment |  | Allowance
With no related allowance recorded: |  | ​ |  |  | ​ |  |  | ​ |  |  | ​ |  |  | ​ |  |  | ​ |
Commercial loans secured by real estate | ​ | $ | 7,068 | ​ | $ | 4,823 | ​ | $ | 0 | ​ | $ | 7,168 | ​ | $ | 5,398 | ​ | $ | 0
Commercial and industrial | ​ |  | 5,930 | ​ |  | 3,526 | ​ |  | 0 | ​ |  | 1,781 | ​ |  | 1,287 | ​ |  | 0
Residential mortgage loans - first liens | ​ | ​ | 786 | ​ | ​ | 760 | ​ | ​ | 0 | ​ | ​ | 1,248 | ​ | ​ | 1,248 | ​ | ​ | 0
Residential mortgage loans - junior liens | ​ |  | 65 | ​ |  | 18 | ​ |  | 0 | ​ |  | 160 | ​ |  | 105 | ​ |  | 0
Loans secured by farmland | ​ |  | 84 | ​ |  | 84 | ​ |  | 0 | ​ |  | 84 | ​ |  | 84 | ​ |  | 0
Multi-family (5 or more) residential | ​ | ​ | 2,734 | ​ | ​ | 1,578 | ​ | ​ | 0 | ​ | ​ | 2,770 | ​ | ​ | 1,614 | ​ | ​ | 0
Total with no related allowance recorded | ​ |  | 16,667 | ​ |  | 10,789 | ​ |  | 0 | ​ |  | 13,211 | ​ |  | 9,736 | ​ |  | 0
​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
With a related allowance recorded: | ​ |  | ​ | ​ |  | ​ | ​ |  | ​ | ​ |  | ​ | ​ |  | ​ | ​ |  | ​
Commercial loans secured by real estate | ​ | ​ | 6,480 | ​ | ​ | 6,480 | ​ | ​ | 672 | ​ | ​ | 6,501 | ​ | ​ | 6,501 | ​ | ​ | 691
Commercial and industrial | ​ |  | 72 | ​ |  | 72 | ​ |  | 72 | ​ |  | 72 | ​ |  | 72 | ​ |  | 72
Residential mortgage loans - first liens | ​ |  | 374 | ​ |  | 374 | ​ |  | 0 | ​ |  | 1,200 | ​ |  | 1,200 | ​ |  | 9
Residential mortgage loans - junior liens | ​ |  | 299 | ​ |  | 299 | ​ |  | 139 | ​ |  | 309 | ​ |  | 309 | ​ |  | 153
Total with a related allowance recorded | ​ |  | 7,225 | ​ |  | 7,225 | ​ |  | 883 | ​ |  | 8,082 | ​ |  | 8,082 | ​ |  | 925
Total | ​ | $ | 23,892 | ​ | $ | 18,014 | ​ | $ | 883 | ​ | $ | 21,293 | ​ | $ | 17,818 | ​ | $ | 925
Schedule of average balance of impaired loans and interest income recognized on impaired loans | ​
​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
(In Thousands) | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | Interest Income Recognized on
​ | ​ | Average Investment in Impaired Loans | ​ | Impaired Loans on a Cash Basis
​ | ​ | Three Months Ended | ​ | Nine Months Ended | ​ | Three Months Ended | ​ | Nine Months Ended
​ | ​ | September 30, | ​ | September 30, | ​ | September 30, | ​ | September 30,
​ |  | 2021 | ​ | 2020 | ​ | 2021 |  | 2020 | ​ | 2021 | ​ | 2020 | ​ | 2021 |  | 2020
Commercial: | ​ | ​ | ​ | ​ | ​ | ​ | ​ |  | ​ | ​ |  | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ |  | ​ | ​ |  | ​
Commercial loans secured by real estate | ​ | $ | 11,252 | ​ | $ | 7,298 | ​ | $ | 11,811 | ​ | $ | 3,779 | ​ | $ | 172 | ​ | $ | 65 | ​ | $ | 401 | ​ | $ | 81
Commercial and industrial | ​ | ​ | 3,844 | ​ | ​ | 2,235 | ​ |  | 2,566 | ​ |  | 3,178 | ​ | ​ | 4 | ​ | ​ | 1 | ​ |  | 25 | ​ |  | 21
Commercial construction and land | ​ | ​ | 48 | ​ | ​ | 49 | ​ |  | 48 | ​ |  | 678 | ​ | ​ | 2 | ​ | ​ | 1 | ​ |  | 2 | ​ |  | 14
Loans secured by farmland | ​ | ​ | 84 | ​ | ​ | 253 | ​ |  | 84 | ​ |  | 397 | ​ | ​ | 0 | ​ | ​ | 2 | ​ |  | 1 | ​ |  | 26
Multi-family (5 or more) residential | ​ | ​ | 1,578 | ​ | ​ | 0 | ​ | ​ | 1,584 | ​ | ​ | 0 | ​ | ​ | 31 | ​ | ​ | 0 | ​ | ​ | 122 | ​ | ​ | 0
Agricultural loans | ​ | ​ | 66 | ​ | ​ | 76 | ​ |  | 67 | ​ |  | 76 | ​ | ​ | 0 | ​ | ​ | 2 | ​ |  | 3 | ​ |  | 4
Other commercial loans | ​ | ​ | 0 | ​ | ​ | 0 | ​ |  | 0 | ​ |  | 25 | ​ | ​ | 0 | ​ | ​ | 0 | ​ |  | 0 | ​ |  | 1
Total commercial | ​ | ​ | 16,872 | ​ | ​ | 9,911 | ​ |  | 16,160 | ​ |  | 8,133 | ​ | ​ | 209 | ​ | ​ | 71 | ​ |  | 554 | ​ |  | 147
Residential mortgage: |  | ​ | ​ | ​ | ​ | ​ | ​ | ​ |  |  | ​ |  | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ |  |  | ​ |
Residential mortgage loans - first lien | ​ | ​ | 1,322 | ​ | ​ | 2,159 | ​ | ​ | 1,830 | ​ | ​ | 1,579 | ​ | ​ | 11 | ​ | ​ | 27 | ​ | ​ | 68 | ​ | ​ | 70
Residential mortgage loans - junior lien | ​ | ​ | 386 | ​ | ​ | 384 | ​ |  | 417 | ​ |  | 386 | ​ | ​ | 1 | ​ | ​ | 5 | ​ |  | 10 | ​ |  | 18
Home equity lines of credit | ​ | ​ | 0 | ​ | ​ | 65 | ​ |  | 0 | ​ |  | 65 | ​ | ​ | 0 | ​ | ​ | 0 | ​ |  | 0 | ​ |  | 2
Total residential mortgage | ​ | ​ | 1,708 | ​ | ​ | 2,608 | ​ |  | 2,247 | ​ |  | 2,030 | ​ | ​ | 12 | ​ | ​ | 32 | ​ |  | 78 | ​ |  | 90
Total | ​ | $ | 18,580 | ​ | $ | 12,519 | ​ | $ | 18,407 | ​ | $ | 10,163 | ​ | $ | 221 | ​ | $ | 103 | ​ | $ | 632 | ​ | $ | 237
Schedule of breakdown by portfolio segment and class of non accrual loans | ​
​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
(In Thousands) | ​ | September 30, 2021 | ​ | December 31, 2020
​ | ​ | Past Due | ​ | ​ | ​ | ​ | Past Due | ​ | ​ | ​
​ | ​ | 90+ Days and | ​ | ​ | ​ | ​ | 90+ Days and | ​ | ​ | ​
​ |  | Accruing |  | Nonaccrual |  | Accruing |  | Nonaccrual
Commercial: | ​ |  | ​ | ​ |  | ​ | ​ |  |  | ​ |  |
Commercial loans secured by real estate | ​ | $ | 752 | ​ | $ | 11,205 | ​ | $ | 395 | ​ | $ | 11,550
Commercial and industrial | ​ |  | 99 | ​ |  | 3,232 | ​ |  | 142 | ​ |  | 970
Commercial construction and land | ​ |  | 0 | ​ |  | 48 | ​ |  | 0 | ​ |  | 49
Loans secured by farmland | ​ |  | 30 | ​ |  | 84 | ​ |  | 188 | ​ |  | 84
Multi-family (5 or more) residential | ​ | ​ | 0 | ​ | ​ | 1,578 | ​ | ​ | 0 | ​ | ​ | 1,614
Agricultural loans | ​ | ​ | 66 | ​ | ​ | 0 | ​ | ​ | 0 | ​ | ​ | 0
Other commercial | ​ |  | 0 | ​ |  | 0 | ​ |  | 71 | ​ |  | 0
Total commercial | ​ |  | 947 | ​ |  | 16,147 | ​ |  | 796 | ​ |  | 14,267
Residential mortgage: |  | ​ |  |  | ​ |  |  | ​ |  |  | ​ |
Residential mortgage loans - first liens | ​ | ​ | 832 | ​ | ​ | 4,569 | ​ | ​ | 838 | ​ | ​ | 6,387
Residential mortgage loans - junior liens | ​ |  | 71 | ​ |  | 305 | ​ |  | 52 | ​ |  | 378
Home equity lines of credit | ​ |  | 64 | ​ |  | 289 | ​ |  | 233 | ​ |  | 299
Total residential mortgage | ​ |  | 967 | ​ |  | 5,163 | ​ |  | 1,123 | ​ |  | 7,064
Consumer | ​ |  | 10 | ​ |  | 31 | ​ |  | 56 | ​ |  | 85
Totals | ​ | $ | 1,924 | ​ | $ | 21,341 | ​ | $ | 1,975 | ​ | $ | 21,416
Summary of the contractual aging of loans | ​
​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
(In Thousands) | ​ | As of September 30, 2021 | ​ | As of December 31, 2020
​ |  | Current & |  | ​ | ​ |  | ​ | ​ |  | ​ | ​ |  | Current & |  | ​ | ​ |  | ​ | ​ |  | ​ | ​
​ | ​ | Past Due | ​ | Past Due | ​ | Past Due | ​ | ​ | ​ | ​ | Past Due | ​ | Past Due | ​ | Past Due | ​ | ​ | ​
​ | ​ | Less than | ​ | 30-89 | ​ | 90+ | ​ | ​ | ​ | ​ | Less than | ​ | 30-89 | ​ | 90+ | ​ | ​ | ​
​ | ​ | 30 Days | ​ | Days | ​ | Days | ​ | Total | ​ | 30 Days | ​ | Days | ​ | Days | ​ | Total
Commercial: | ​ |  | ​ | ​ |  | ​ | ​ |  | ​ | ​ |  | ​ | ​ |  |  | ​ |  |  | ​ |  |  | ​ |  |
Commercial loans secured by real estate | ​ | $ | 547,885 | ​ | $ | 142 | ​ | $ | 5,362 | ​ | $ | 553,389 | ​ | $ | 529,998 | ​ | $ | 66 | ​ | $ | 1,746 | ​ | $ | 531,810
Commercial and industrial | ​ |  | 151,119 | ​ |  | 218 | ​ |  | 907 | ​ |  | 152,244 | ​ |  | 158,523 | ​ |  | 55 | ​ |  | 999 | ​ |  | 159,577
Paycheck Protection Program - 1st Draw | ​ | ​ | 5,747 | ​ | ​ | 0 | ​ | ​ | 0 | ​ | ​ | 5,747 | ​ | ​ | 132,269 | ​ | ​ | 0 | ​ | ​ | 0 | ​ | ​ | 132,269
Paycheck Protection Program - 2nd Draw | ​ | ​ | 56,981 | ​ | ​ | 0 | ​ | ​ | 0 | ​ | ​ | 56,981 | ​ | ​ | 0 | ​ | ​ | 0 | ​ | ​ | 0 | ​ | ​ | 0
Political subdivisions | ​ |  | 73,503 | ​ |  | 0 | ​ |  | 0 | ​ |  | 73,503 | ​ |  | 53,221 | ​ |  | 0 | ​ |  | 0 | ​ |  | 53,221
Commercial construction and land | ​ |  | 53,125 | ​ |  | 142 | ​ |  | 0 | ​ |  | 53,267 | ​ |  | 42,590 | ​ |  | 284 | ​ |  | 0 | ​ |  | 42,874
Loans secured by farmland | ​ |  | 10,667 | ​ |  | 31 | ​ |  | 114 | ​ |  | 10,812 | ​ |  | 11,419 | ​ |  | 95 | ​ |  | 222 | ​ |  | 11,736
Multi-family (5 or more) residential | ​ |  | 52,962 | ​ |  | 0 | ​ |  | 0 | ​ |  | 52,962 | ​ |  | 53,860 | ​ |  | 1,951 | ​ |  | 0 | ​ |  | 55,811
Agricultural loans | ​ |  | 3,026 | ​ |  | 0 | ​ |  | 66 | ​ |  | 3,092 | ​ |  | 3,091 | ​ |  | 2 | ​ |  | 71 | ​ |  | 3,164
Other commercial loans | ​ |  | 17,312 | ​ |  | 0 | ​ |  | 0 | ​ |  | 17,312 | ​ |  | 17,289 | ​ |  | 0 | ​ |  | 0 | ​ |  | 17,289
Total commercial | ​ |  | 972,327 | ​ |  | 533 | ​ |  | 6,449 | ​ |  | 979,309 | ​ |  | 1,002,260 | ​ |  | 2,453 | ​ |  | 3,038 | ​ |  | 1,007,751
​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
Residential mortgage: |  | ​ |  |  | ​ |  |  | ​ |  |  | ​ |  |  | ​ |  |  | ​ |  |  | ​ |  |  | ​ |
Residential mortgage loans - first liens | ​ | ​ | 489,339 | ​ | ​ | 2,212 | ​ | ​ | 2,825 | ​ | ​ | 494,376 | ​ | ​ | 523,191 | ​ | ​ | 5,703 | ​ | ​ | 4,053 | ​ | ​ | 532,947
Residential mortgage loans - junior liens | ​ |  | 24,200 | ​ |  | 32 | ​ |  | 71 | ​ |  | 24,303 | ​ |  | 27,009 | ​ |  | 111 | ​ |  | 191 | ​ |  | 27,311
Home equity lines of credit | ​ |  | 38,059 | ​ |  | 342 | ​ |  | 64 | ​ |  | 38,465 | ​ |  | 38,919 | ​ |  | 101 | ​ |  | 281 | ​ |  | 39,301
1-4 Family residential construction | ​ |  | 21,719 | ​ |  | 0 | ​ |  | 0 | ​ |  | 21,719 | ​ |  | 20,457 | ​ |  | 156 | ​ |  | 0 | ​ |  | 20,613
Total residential mortgage | ​ |  | 573,317 | ​ |  | 2,586 | ​ |  | 2,960 | ​ |  | 578,863 | ​ |  | 609,576 | ​ |  | 6,071 | ​ |  | 4,525 | ​ |  | 620,172
Consumer | ​ |  | 17,447 | ​ |  | 48 | ​ |  | 41 | ​ |  | 17,536 | ​ |  | 16,063 | ​ |  | 83 | ​ |  | 140 | ​ |  | 16,286
Totals | ​ | $ | 1,563,091 | ​ | $ | 3,167 | ​ | $ | 9,450 | ​ | $ | 1,575,708 | ​ | $ | 1,627,899 | ​ | $ | 8,607 | ​ | $ | 7,703 | ​ | $ | 1,644,209
Summary of the contractual aging of nonaccrual loans | ​
​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
(In Thousands) | ​ | Current & | ​ | ​ | ​ | ​ | ​ | ​ | ​ |  | ​
​ | ​ | Past Due | ​ | Past Due | ​ | Past Due | ​ |  | ​
​ | ​ | Less than | ​ | 30-89 | ​ | 90+ | ​ |  | ​
​ |  | 30 Days |  | Days |  | Days |  | Total
September 30, 2021 Nonaccrual Totals | ​ | $ | 12,787 | ​ | $ | 1,028 | ​ | $ | 7,526 | ​ | $ | 21,341
December 31, 2020 Nonaccrual Totals | ​ | $ | 12,999 | ​ | $ | 2,689 | ​ | $ | 5,728 | ​ | $ | 21,416
Summary of troubled debt restructurings | ​
​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
(In Thousands) | ​ | Current & | ​ | ​ | ​ | ​ | ​ | ​ | ​ |  | ​ | ​ |  | ​
​ | ​ | Past Due | ​ | Past Due | ​ | Past Due | ​ |  | ​ | ​ |  | ​
​ | ​ | Less than | ​ | 30-89 | ​ | 90+ | ​ |  | ​ | ​ |  | ​
​ |  | 30 Days |  | Days |  | Days |  | Nonaccrual |  | Total
September 30, 2021 Totals | ​ | $ | 144 | ​ | $ | 88 | ​ | $ | 134 | ​ | $ | 5,457 | ​ | $ | 5,823
December 31, 2020 Totals | ​ | $ | 166 | ​ | $ | 0 | ​ | $ | 418 | ​ | $ | 6,867 | ​ | $ | 7,451
Summary of loans for which modifications considered to be TDRs were entered into within the previous 12 months | ​
​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
(Balances in Thousands) | ​ | Three Months Ended | ​ | Three Months Ended
​ | ​ | September 30, 2021 | ​ | September 30, 2020
​ | ​ | Number | ​ | ​ | ​ | Number | ​ | ​
​ | ​ | of | ​ | Recorded | ​ | of | ​ | Recorded
​ | ​ | Loans | ​ | Investment | ​ | Loans | ​ | Investment
Commercial loans secured by real estate | ​ | 0 | ​ | $ | 0 | ​ | 1 | ​ | $ | 240
Total |  | 0 | ​ | $ | 0 |  | 1 | ​ | $ | 240
​
​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
(Balances in Thousands) | ​ | Nine Months Ended | ​ | Nine Months Ended
​ | ​ | September 30, 2021 | ​ | September 30, 2020
​ | ​ | Number | ​ | ​ | ​ | Number | ​ | ​
​ | ​ | of | ​ | Recorded | ​ | of | ​ | Recorded
​ | ​ | Loans | ​ | Investment | ​ | Loans | ​ | Investment
Commercial loans secured by real estate | ​ | 1 | ​ | $ | 3,392 | ​ | 1 | ​ | $ | 240
Total |  | 1 | ​ | $ | 3,392 |  | 1 | ​ | $ | 240
Schedule of carrying amount of foreclosed residential real estate properties | ​
​ | ​ | ​ | ​ | ​ | ​ | ​
(In Thousands) |  | September 30, |  | December 31,
​ | ​ | 2021 | ​ | 2020
Foreclosed residential real estate | ​ | $ | 179 | ​ | $ | 80
Schedule of mortgage loans secured by residential real properties | ​
​ | ​ | ​ | ​ | ​ | ​ | ​
(In Thousands) |  | September 30, |  | December 31,
​ | ​ | 2021 | ​ | 2020
Residential real estate in process of foreclosure | ​ | $ | 1,392 | ​ | $ | 1,246
Troubled Debt Restructuring |
LOANS |
Summary of troubled debt restructurings | ​
​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
(Balances in Thousands) | ​ | Three Months Ended | ​ | Three Months Ended
​ | ​ | September 30, 2021 | ​ | September 30, 2020
​ | ​ | ​ | ​ | Post- | ​ | ​ | ​ | Post-
​ | ​ | Number | ​ | Modification | ​ | Number | ​ | Modification
​ | ​ | of | ​ | Recorded | ​ | of | ​ | Recorded
​ | ​ | Loans | ​ | Investment | ​ | Loans | ​ | Investment
Home equity lines of credit, | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
Reduced monthly payments for an eighteen-month period |  | 1 |  | $ | 70 |  | 0 |  | $ | 0
Commercial loans secured by real estate, | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
Principal and interest payment deferral non-COVID related | ​ | 0 | ​ | ​ | 0 | ​ | 2 | ​ | ​ | 4,831
Multi-family (5 or more) residential, | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
Principal and interest payment deferral non-COVID related | ​ | 0 | ​ | ​ | 0 | ​ | 3 | ​ | ​ | 2,170
Total |  | 1 |  | $ | 70 |  | 5 |  | $ | 7,001
​
​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
(Balances in Thousands) | ​ | Nine Months Ended | ​ | Nine Months Ended
​ | ​ | September 30, 2021 | ​ | September 30, 2020
​ |  | ​ |  | Post- |  | ​ |  | Post-
​ | ​ | Number | ​ | Modification | ​ | Number | ​ | Modification
​ | ​ | of | ​ | Recorded | ​ | of | ​ | Recorded
​ | ​ | Loans | ​ | Investment | ​ | Loans | ​ | Investment
Residential mortgage - first liens: |  |  |  | ​ |  |  |  |  | ​ |
Reduced monthly payments and extended maturity date |  | 1 | ​ | $ | 12 |  | 0 | ​ | $ | 0
Reduced monthly payments for a fifteen-month period | ​ | 1 | ​ | ​ | 116 | ​ | 0 | ​ | ​ | 0
Residential mortgage - junior liens, |  |  | ​ | ​ |  |  |  | ​ | ​ |
New loan at lower than risk-adjusted market rate to borrower from whom short sale of other collateral was accepted |  | 0 | ​ |  | 0 |  | 1 | ​ |  | 30
Home equity lines of credit: | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
Reduced monthly payments and extended maturity date | ​ | 1 | ​ | ​ | 24 | ​ | 0 | ​ | ​ | 0
Reduced monthly payments for an eighteen-month period | ​ | 1 | ​ | ​ | 70 | ​ | 0 | ​ | ​ | 0
Commercial loans secured by real estate: | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
Interest only payments for a nine-month period | ​ | 0 | ​ | ​ | 0 | ​ | 1 | ​ | ​ | 240
Principal and interest payment deferral non-COVID related | ​ | 0 | ​ | ​ | 0 | ​ | 2 | ​ | ​ | 4,831
Multi-family (5 or more) residential, | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
Principal and interest payment deferral non-COVID related | ​ | 0 | ​ | ​ | 0 | ​ | 3 | ​ | ​ | 2,170
Total |  | 4 | ​ | $ | 222 |  | 7 | ​ | $ | 7,271

X
- Definition Tabular disclosure of contractual aging of nonaccrual loans. + References No definition available. + Details
Name: | cznc_ContractualAgingOfNonaccrualLoansTableTextBlock
Namespace Prefix: | cznc_
Data Type: | nonnum:textBlockItemType
Balance Type: | na
Period Type: | duration

X
- Definition The tabular disclosure of payments defaults on financing receivable modified as troubled debt restructuring. + References No definition available. + Details
Name: | cznc_FinancingReceivableTroubledDebtRestructuringPaymentDefaultsTableTextBlock
Namespace Prefix: | cznc_
Data Type: | nonnum:textBlockItemType
Balance Type: | na
Period Type: | duration

X
- Definition Tabular disclosure for impaired financing receivables by portfolio segment. + References No definition available. + Details
Name: | cznc_ImpairedFinancingReceivableByPortfolioSegmentTableTextBlock
Namespace Prefix: | cznc_
Data Type: | nonnum:textBlockItemType
Balance Type: | na
Period Type: | duration

X
- Definition Tabular disclosure of purchased credit impaired loans. + References No definition available. + Details
Name: | cznc_PurchasedCreditImpairedLoansTableTextBlock
Namespace Prefix: | cznc_
Data Type: | nonnum:textBlockItemType
Balance Type: | na
Period Type: | duration

X
- Definition Tabular disclosure of additional information on impaired loans. + References No definition available. + Details
Name: | cznc_ScheduleOfAdditionalInformationOnImpairedLoansTableTextBlock
Namespace Prefix: | cznc_
Data Type: | nonnum:textBlockItemType
Balance Type: | na
Period Type: | duration

X
- Definition Tabular disclosure of Mortgage Loans in Process of Foreclosure. + References No definition available. + Details
Name: | cznc_ScheduleOfMortgageLoansInProcessOfForeclosureTableTextBlock
Namespace Prefix: | cznc_
Data Type: | nonnum:textBlockItemType
Balance Type: | na
Period Type: | duration

X
- Definition Tabular disclosure of real estate properties and units acquired through foreclosure. + References No definition available. + Details
Name: | cznc_ScheduleOfRealEstateAcquiredThroughForeclosureTableTextBlock
Namespace Prefix: | cznc_
Data Type: | nonnum:textBlockItemType
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=121611835&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=121599337&loc=SL82919249-210447 + Details
Name: | us-gaap_AllowanceForCreditLossesOnFinancingReceivablesTableTextBlock
Namespace Prefix: | us-gaap_
Data Type: | nonnum:textBlockItemType
Balance Type: | na
Period Type: | duration

X
- Definition Tabular disclosure of the reconciliation of contractual cash flows to the carrying amount relating to certain loans acquired in a transfer. + References No definition available. + Details
Name: | us-gaap_CertainLoansAcquiredInTransferNotAccountedForAsDebtSecuritiesAcquiredDuringPeriodTableTextBlock
Namespace Prefix: | us-gaap_
Data Type: | nonnum: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=121599337&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=121611835&loc=SL6953659-111524 + Details
Name: | us-gaap_FinancingReceivableCreditQualityIndicatorsTableTextBlock
Namespace Prefix: | us-gaap_
Data Type: | nonnum: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_FinancingReceivableImpairedLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
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=121611835&loc=d3e5212-111524 + Details
Name: | us-gaap_ImpairedFinancingReceivablesTableTextBlock
Namespace Prefix: | us-gaap_
Data Type: | nonnum: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=121599337&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=121611835&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=121647567&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=121611835&loc=d3e5111-111524 + Details
Name: | us-gaap_PastDueFinancingReceivablesTableTextBlock
Namespace Prefix: | us-gaap_
Data Type: | nonnum: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: | nonnum: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=121611835&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=121599337&loc=SL82919258-210447 + Details
Name: | us-gaap_ScheduleOfFinancingReceivablesNonAccrualStatusTableTextBlock
Namespace Prefix: | us-gaap_
Data Type: | nonnum: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=121611835&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=121611835&loc=SL6953682-111524 + Details
Name: | us-gaap_TroubledDebtRestructuringsOnFinancingReceivablesTableTextBlock
Namespace Prefix: | us-gaap_
Data Type: | nonnum:textBlockItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | us-gaap_ClassOfFinancingReceivableTypeOfBorrowerAxis=cznc_TroubledDebtRestructuringMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |