XML 49 R34.htm IDEA: XBRL DOCUMENT
v3.20.4

Loans, net and allowance for loan losses (Tables) | 12 Months Ended
--- | ---
Dec. 31, 2020
Loans, net and allowance for loan losses |
Schedule of major classifications of loans outstanding |
​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
​ |  | ​ | December 31, 2020 |  | ​ | December 31, 2019 |
Commercial | ​ | $ | 679,286 | ​ | $ | 522,957 | ​
Real estate: | ​ | ​ | ​ | ​ | ​ | ​ | ​
Commercial | ​ |  | 1,137,990 | ​ |  | 1,011,423 | ​
Residential | ​ |  | 277,414 | ​ |  | 301,378 | ​
Consumer | ​ |  | 83,292 | ​ |  | 102,482 | ​
Total | ​ | $ | 2,177,982 | ​ | $ | 1,938,240 | ​
Schedule of changes in allowance for loan losses account by major classification of loans |
​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
​ | ​ | ​ | ​ | ​ | Real estate | ​ | ​ | ​ | ​ | ​ | ​ |
December 31, 2020 | ​ | Commercial | ​ | Commercial | ​ | Residential | ​ | Consumer | ​ | Total |
Allowance for loan losses: |  | ​ | ​ |  | ​ | ​ |  | ​ | ​ |  | ​ |  |  | ​ | ​ | ​
Beginning balance | ​ | $ | 6,888 | ​ | $ | 11,496 | ​ | $ | 3,226 | ​ | $ | 1,067 | ​ | $ | 22,677 | ​
Charge-offs | ​ |  | (2,771) | ​ |  | (144) | ​ |  | (247) | ​ |  | (317) | ​ |  | (3,479) | ​
Recoveries | ​ |  | 525 | ​ |  | 16 | ​ |  | 57 | ​ |  | 148 | ​ |  | 746 | ​
Provisions | ​ |  | 4,092 | ​ |  | 3,191 | ​ |  | 93 | ​ |  | 24 | ​ |  | 7,400 | ​
Ending balance | ​ | $ | 8,734 | ​ | $ | 14,559 | ​ | $ | 3,129 | ​ | $ | 922 | ​ | $ | 27,344 | ​
Ending balance: individually evaluated for impairment | ​ |  | 947 | ​ |  | 180 | ​ |  | 75 | ​ |  | ​ | ​ |  | 1,202 | ​
Ending balance: collectively evaluated for impairment | ​ | $ | 7,787 | ​ | $ | 14,379 | ​ | $ | 3,054 | ​ | $ | 922 | ​ | $ | 26,142 | ​
Loans receivable: | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
Ending balance | ​ | $ | 679,286 | ​ | $ | 1,137,990 | ​ | $ | 277,414 | ​ | $ | 83,292 | ​ | $ | 2,177,982 | ​
Ending balance: individually evaluated for impairment | ​ |  | 4,297 | ​ |  | 3,952 | ​ |  | 1,546 | ​ | ​ | 111 | ​ |  | 9,906 | ​
Ending balance: collectively evaluated for impairment | ​ | $ | 674,989 | ​ | $ | 1,134,038 | ​ | $ | 275,868 | ​ | $ | 83,181 | ​ | $ | 2,168,076 | ​
​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
​ | ​ | ​ | ​ | ​ | Real estate | ​ | ​ | ​ | ​ | ​ |
December 31, 2019 | ​ | Commercial | ​ | Commercial | ​ | Residential | ​ | Consumer | ​ | Total
Allowance for loan losses: |  | ​ | ​ |  | ​ | ​ |  | ​ | ​ |  | ​ |  |  | ​ | ​
Beginning balance | ​ | $ | 5,516 | ​ | $ | 10,736 | ​ | $ | 3,892 | ​ | $ | 1,235 | ​ | $ | 21,379
Charge-offs | ​ |  | (3,314) | ​ |  | (817) | ​ |  | (477) | ​ |  | (459) | ​ |  | (5,067)
Recoveries | ​ |  | 69 | ​ |  | 1 | ​ |  | 29 | ​ |  | 166 | ​ |  | 265
Provisions | ​ |  | 4,617 | ​ |  | 1,576 | ​ |  | (218) | ​ |  | 125 | ​ |  | 6,100
Ending balance | ​ | $ | 6,888 | ​ | $ | 11,496 | ​ | $ | 3,226 | ​ | $ | 1,067 | ​ | $ | 22,677
Ending balance: individually evaluated for impairment | ​ |  | 363 | ​ |  | 279 | ​ |  | 135 | ​ |  | ​ | ​ |  | 777
Ending balance: collectively evaluated for impairment | ​ | $ | 6,525 | ​ | $ | 11,217 | ​ | $ | 3,091 | ​ | $ | 1,067 | ​ | $ | 21,900
Loans receivable: | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
Ending balance | ​ | $ | 522,957 | ​ | $ | 1,011,423 | ​ | $ | 301,378 | ​ | $ | 102,482 | ​ | $ | 1,938,240
Ending balance: individually evaluated for impairment | ​ |  | 4,658 | ​ |  | 3,048 | ​ |  | 2,153 | ​ | ​ | 261 | ​ |  | 10,120
Ending balance: collectively evaluated for impairment | ​ | $ | 518,299 | ​ | $ | 1,008,375 | ​ | $ | 299,225 | ​ | $ | 102,221 | ​ | $ | 1,928,120
Real estate
Schedule of major classification of loans portfolio summarized by credit quality |
​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
​ | ​ | ​ | ​ | ​ | Special | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ |
December 31, 2020 |  | Pass |  | Mention |  | Substandard |  | Doubtful |  | Total |
Commercial | ​ | $ | 660,559 | ​ | $ | 14,305 | ​ | $ | 4,422 | ​ | $ | ​ | ​ | $ | 679,286 | ​
Real estate: | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
Commercial | ​ |  | 1,107,699 | ​ |  | 17,517 | ​ |  | 12,774 | ​ | ​ | ​ | ​ |  | 1,137,990 | ​
Residential | ​ |  | 274,327 | ​ |  | 144 | ​ |  | 2,943 | ​ | ​ | ​ | ​ |  | 277,414 | ​
Consumer | ​ |  | 83,215 | ​ |  | ​ | ​ |  | 77 | ​ | ​ | ​ | ​ |  | 83,292 | ​
Total | ​ | $ | 2,125,800 | ​ | $ | 31,966 | ​ | $ | 20,216 | ​ | $ | ​ | ​ | $ | 2,177,982 | ​
​ ​
​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
​ | ​ | ​ | ​ | ​ | Special | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ |
December 31, 2019 |  | Pass |  | Mention |  | Substandard |  | Doubtful |  | Total |
Commercial | ​ | $ | 513,994 | ​ | $ | 3,837 | ​ | $ | 5,126 | ​ | $ | ​ | ​ | $ | 522,957 | ​
Real estate: | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
Commercial | ​ |  | 993,645 | ​ |  | 2,508 | ​ |  | 15,270 | ​ | ​ | ​ | ​ |  | 1,011,423 | ​
Residential | ​ |  | 298,449 | ​ |  | 597 | ​ |  | 2,332 | ​ | ​ | ​ | ​ |  | 301,378 | ​
Consumer | ​ |  | 102,145 | ​ |  | ​ | ​ |  | 337 | ​ | ​ | ​ | ​ |  | 102,482 | ​
Total | ​ | $ | 1,908,233 | ​ | $ | 6,942 | ​ | $ | 23,065 | ​ | $ | ​ | ​ | $ | 1,938,240 | ​
Schedule of information concerning nonaccrual loans by major loan classification |
​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
​ |  | ​ | December 31, 2020 |  | ​ | December 31, 2019 |
Commercial | ​ | $ | 3,822 | ​ | $ | 3,336 | ​
Real estate: | ​ | ​ | ​ | ​ | ​ | ​ | ​
Commercial | ​ |  | 3,262 | ​ |  | 2,765 | ​
Residential | ​ |  | 922 | ​ |  | 1,148 | ​
Consumer | ​ |  | 111 | ​ |  | 261 | ​
Total | ​ | $ | 8,117 | ​ | $ | 7,510 | ​
Schedule of major classifications of loans by past due status |
​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
​ |  | ​ | ​ |  | ​ | ​ |  | Greater |  | ​ | ​ |  | ​ | ​ |  | ​ | ​ |  | Loans > 90 |
​ | ​ | 30-59 Days | ​ | 60-89 Days | ​ | than 90 | ​ | Total Past | ​ | ​ | ​ | ​ | ​ | ​ | ​ | Days and |
December 31, 2020 | ​ | Past Due | ​ | Past Due | ​ | Days | ​ | Due | ​ | Current | ​ | Total Loans | ​ | Accruing |
Commercial | ​ | $ | 73 | ​ | ​ | ​ | ​ | $ | 3,822 | ​ | $ | 3,895 | ​ | $ | 675,391 | ​ | $ | 679,286 | ​ | ​ | ​ | ​
Real estate: | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
Commercial | ​ |  | 344 | ​ | $ | 134 | ​ |  | 3,262 | ​ |  | 3,740 | ​ |  | 1,134,250 | ​ |  | 1,137,990 | ​ | ​ | ​ | ​
Residential | ​ |  | 2,072 | ​ |  | 480 | ​ | ​ | 993 | ​ |  | 3,545 | ​ |  | 273,869 | ​ |  | 277,414 | ​ | $ | 71 | ​
Consumer | ​ |  | 374 | ​ |  | 63 | ​ |  | 111 | ​ |  | 548 | ​ |  | 82,744 | ​ |  | 83,292 | ​ |  | ​ | ​
Total | ​ | $ | 2,863 | ​ | $ | 677 | ​ | $ | 8,188 | ​ | $ | 11,728 | ​ | $ | 2,166,254 | ​ | $ | 2,177,982 | ​ | $ | 71 | ​
​ ​
​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
​ |  | ​ | ​ |  | ​ | ​ |  | Greater |  | ​ | ​ |  | ​ | ​ |  | ​ | ​ |  | Loans > 90 |
​ | ​ | 30-59 Days | ​ | 60-89 Days | ​ | than 90 | ​ | Total Past | ​ | ​ | ​ | ​ | ​ | ​ | ​ | Days and |
December 31, 2019 | ​ | Past Due | ​ | Past Due | ​ | Days | ​ | Due | ​ | Current | ​ | Total Loans | ​ | Accruing |
Commercial | ​ | $ | 75 | ​ | ​ | ​ | ​ | $ | 3,036 | ​ | $ | 3,111 | ​ | $ | 519,846 | ​ | $ | 522,957 | ​ | ​ | ​ | ​
Real estate: | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
Commercial | ​ |  | 926 | ​ | $ | 175 | ​ |  | 2,765 | ​ |  | 3,866 | ​ |  | 1,007,557 | ​ |  | 1,011,423 | ​ | ​ | ​ | ​
Residential | ​ |  | 2,164 | ​ |  | 1,227 | ​ |  | 1,526 | ​ |  | 4,917 | ​ |  | 296,461 | ​ |  | 301,378 | ​ | $ | 378 | ​
Consumer | ​ |  | 523 | ​ |  | 123 | ​ |  | 261 | ​ |  | 907 | ​ |  | 101,575 | ​ |  | 102,482 | ​ |  | ​ | ​
Total | ​ | $ | 3,688 | ​ | $ | 1,525 | ​ | $ | 7,588 | ​ | $ | 12,801 | ​ | $ | 1,925,439 | ​ | $ | 1,938,240 | ​ | $ | 378 | ​
Summarized information concerning impaired loans |
​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | For the Year Ended | ​
​ | ​ | ​ | ​ | ​ | Unpaid | ​ | ​ | ​ | ​ | Average | ​ | Interest |
​ | ​ | Recorded | ​ | Principal | ​ | Related | ​ | Recorded | ​ | Income |
December 31, 2020 |  | Investment |  | Balance |  | Allowance |  | Investment |  | Recognized |
With no related allowance: |  | ​ | ​ |  | ​ | ​ |  | ​ | ​ |  | ​ | ​ |  | ​ | ​ | ​
Commercial | ​ | $ | 2,251 | ​ | $ | 3,421 | ​ | ​ | ​ | ​ | $ | 2,915 | ​ | $ | 30 | ​
Real estate: | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
Commercial | ​ |  | 2,372 | ​ |  | 2,964 | ​ | ​ | ​ | ​ |  | 2,148 | ​ |  | 28 | ​
Residential | ​ |  | 1,086 | ​ |  | 1,263 | ​ | ​ | ​ | ​ |  | 1,223 | ​ |  | 21 | ​
Consumer | ​ |  | 111 | ​ |  | 121 | ​ | ​ | ​ | ​ |  | 167 | ​ | ​ | ​ | ​
Total | ​ |  | 5,820 | ​ |  | 7,769 | ​ | ​ | ​ | ​ |  | 6,453 | ​ |  | 79 | ​
With an allowance recorded: | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
Commercial | ​ |  | 2,046 | ​ |  | 2,094 | ​ | ​ | 947 | ​ |  | 2,038 | ​ |  | 17 | ​
Real estate: | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
Commercial | ​ |  | 1,580 | ​ |  | 1,710 | ​ |  | 180 | ​ |  | 1,687 | ​ |  | 36 | ​
Residential | ​ |  | 460 | ​ |  | 482 | ​ |  | 75 | ​ |  | 624 | ​ |  | 13 | ​
Consumer | ​ |  | ​ | ​ |  | ​ | ​ |  | ​ | ​ |  | ​ | ​ |  | ​ | ​
Total | ​ |  | 4,086 | ​ |  | 4,286 | ​ |  | 1,202 | ​ |  | 4,349 | ​ |  | 66 | ​
Total impaired loans | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
Commercial | ​ |  | 4,297 | ​ |  | 5,515 | ​ |  | 947 | ​ |  | 4,953 | ​ |  | 47 | ​
Real estate: | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
Commercial | ​ |  | 3,952 | ​ |  | 4,674 | ​ |  | 180 | ​ |  | 3,835 | ​ |  | 64 | ​
Residential | ​ |  | 1,546 | ​ |  | 1,745 | ​ |  | 75 | ​ |  | 1,847 | ​ |  | 34 | ​
Consumer | ​ |  | 111 | ​ |  | 121 | ​ |  | ​ | ​ |  | 167 | ​ |  | ​ | ​
Total | ​ | $ | 9,906 | ​ | $ | 12,055 | ​ | $ | 1,202 | ​ | $ | 10,802 | ​ | $ | 145 | ​
​ ​
​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | For the Year Ended |
​ | ​ | ​ | ​ | ​ | Unpaid | ​ | ​ | ​ | ​ | Average | ​ | Interest |
​ | ​ | Recorded | ​ | Principal | ​ | Related | ​ | Recorded | ​ | Income |
December 31, 2019 |  | Investment |  | Balance |  | Allowance |  | Investment |  | Recognized |
With no related allowance: |  | ​ | ​ |  | ​ | ​ |  | ​ | ​ |  | ​ | ​ |  | ​ | ​ | ​
Commercial | ​ | $ | 3,638 | ​ | $ | 4,175 | ​ | ​ | ​ | ​ | $ | 3,907 | ​ | $ | 63 | ​
Real estate: | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
Commercial | ​ |  | 1,918 | ​ |  | 2,205 | ​ | ​ | ​ | ​ |  | 2,385 | ​ |  | 38 | ​
Residential | ​ |  | 1,718 | ​ |  | 2,060 | ​ | ​ | ​ | ​ |  | 1,362 | ​ |  | 25 | ​
Consumer | ​ |  | 261 | ​ |  | 274 | ​ | ​ | ​ | ​ |  | 233 | ​ | ​ | ​ | ​
Total | ​ |  | 7,535 | ​ |  | 8,714 | ​ | ​ | ​ | ​ |  | 7,887 | ​ |  | 126 | ​
With an allowance recorded: | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
Commercial | ​ |  | 1,020 | ​ |  | 1,038 | ​ | ​ | 363 | ​ |  | 1,012 | ​ |  | 32 | ​
Real estate: | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
Commercial | ​ |  | 1,130 | ​ |  | 1,811 | ​ |  | 279 | ​ |  | 1,050 | ​ |  | 10 | ​
Residential | ​ |  | 435 | ​ |  | 450 | ​ |  | 135 | ​ |  | 1,408 | ​ |  | 29 | ​
Consumer | ​ | ​ | ​ | ​ |  | ​ | ​ |  | ​ | ​ |  | 20 | ​ |  | ​ | ​
Total | ​ |  | 2,585 | ​ |  | 3,299 | ​ |  | 777 | ​ |  | 3,490 | ​ |  | 71 | ​
Total impaired loans | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
Commercial | ​ |  | 4,658 | ​ |  | 5,213 | ​ |  | 363 | ​ |  | 4,919 | ​ |  | 95 | ​
Real estate: | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
Commercial | ​ |  | 3,048 | ​ |  | 4,016 | ​ |  | 279 | ​ |  | 3,435 | ​ |  | 48 | ​
Residential | ​ |  | 2,153 | ​ |  | 2,510 | ​ |  | 135 | ​ |  | 2,770 | ​ |  | 54 | ​
Consumer | ​ |  | 261 | ​ |  | 274 | ​ |  | ​ | ​ |  | 253 | ​ |  | ​ | ​
Total | ​ | $ | 10,120 | ​ | $ | 12,013 | ​ | $ | 777 | ​ | $ | 11,377 | ​ | $ | 197 | ​
​ ​
​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | For the Year Ended | ​
​ | ​ | ​ | ​ | ​ | Unpaid | ​ | ​ | ​ | ​ | Average | ​ | Interest |
​ | ​ | Recorded | ​ | Principal | ​ | Related | ​ | Recorded | ​ | Income |
December 31, 2018 |  | Investment |  | Balance |  | Allowance |  | Investment |  | Recognized |
With no related allowance: |  | ​ | ​ |  | ​ | ​ |  | ​ | ​ |  | ​ | ​ |  | ​ | ​ | ​
Commercial | ​ | $ | 1,562 | ​ | $ | 1,900 | ​ | ​ | ​ | ​ | $ | 1,318 | ​ | $ | 67 | ​
Real estate: | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
Commercial | ​ |  | 1,969 | ​ |  | 2,299 | ​ | ​ | ​ | ​ |  | 2,822 | ​ | ​ | 28 | ​
Residential | ​ |  | 1,970 | ​ |  | 2,658 | ​ | ​ | ​ | ​ |  | 2,193 | ​ | ​ | 22 | ​
Consumer | ​ |  | 152 | ​ |  | 160 | ​ | ​ | ​ | ​ |  | 135 | ​ | ​ | ​ | ​
Total | ​ |  | 5,653 | ​ |  | 7,017 | ​ | ​ | ​ | ​ |  | 6,468 | ​ | ​ | 117 | ​
With an allowance recorded: | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
Commercial | ​ |  | 675 | ​ |  | 675 | ​ | $ | 50 | ​ |  | 1,006 | ​ | ​ | 30 | ​
Real estate: | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
Commercial | ​ |  | 1,152 | ​ |  | 1,323 | ​ |  | 403 | ​ |  | 1,676 | ​ |  | 18 | ​
Residential | ​ |  | 2,101 | ​ |  | 2,328 | ​ |  | 666 | ​ |  | 1,585 | ​ |  | 22 | ​
Consumer | ​ | ​ | 60 | ​ | ​ | 60 | ​ | ​ | 60 | ​ | ​ | 21 | ​ | ​ | ​ | ​
Total | ​ |  | 3,988 | ​ |  | 4,386 | ​ |  | 1,179 | ​ |  | 4,288 | ​ |  | 70 | ​
Total impaired loans | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
Commercial | ​ |  | 2,237 | ​ |  | 2,575 | ​ |  | 50 | ​ |  | 2,324 | ​ |  | 97 | ​
Real estate: | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
Commercial | ​ |  | 3,121 | ​ |  | 3,622 | ​ |  | 403 | ​ |  | 4,498 | ​ |  | 46 | ​
Residential | ​ |  | 4,071 | ​ |  | 4,986 | ​ |  | 666 | ​ |  | 3,778 | ​ |  | 44 | ​
Consumer | ​ |  | 212 | ​ |  | 220 | ​ | ​ | 60 | ​ |  | 156 | ​ | ​ | ​ | ​
Total | ​ | $ | 9,641 | ​ | $ | 11,403 | ​ | $ | 1,179 | ​ | $ | 10,756 | ​ | $ | 187 | ​
Summary loans whose terms have been modified resulting in troubled debt restructurings |
​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
​ |  | ​ |  | Pre-Modification |  | Post-Modification |  | ​ | ​ |
​ | ​ | Number | ​ | Outstanding Recorded | ​ | Outstanding | ​ | Recorded |
December 31, 2020 | ​ | of Contracts | ​ | Investment | ​ | Recorded Investment | ​ | Investment |
Commercial | ​ | 1 | ​ | $ | 12 | ​ | $ | 12 | ​ | $ | 5 | ​
Commercial real estate |  | 3 | ​ | ​ | 1,073 | ​ | ​ | 1,073 | ​ | ​ | 1,046 | ​
Total |  | 4 | ​ | $ | 1,085 | ​ | $ | 1,085 | ​ | $ | 1,051 | ​
​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
​ |  | ​ |  | Pre-Modification |  | Post-Modification |  | ​ | ​ |
​ | ​ | Number | ​ | Outstanding Recorded | ​ | Outstanding | ​ | Recorded |
December 31, 2019 | ​ | of Contracts | ​ | Investment | ​ | Recorded Investment | ​ | Investment |
Commercial real estate |  | 1 | ​ | $ | 346 | ​ | $ | 346 | ​ | $ | 241 | ​
​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
​ |  | ​ |  | Pre-Modification |  | Post-Modification |  | ​ | ​ | ​
​ | ​ | Number | ​ | Outstanding Recorded | ​ | Outstanding | ​ | Recorded | ​
December 31, 2018 | ​ | of Contracts | ​ | Investment | ​ | Recorded Investment | ​ | Investment | ​
Commercial real estate |  | 1 | ​ | $ | 340 | ​ | $ | 340 | ​ | $ | 340 | ​
Schedule of payment deferrals granted on commercial loans | ​
​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
​ | ​ | ​ | ​ | ​ | ​ | ​ | Percentage | ​ | ​ | Percentage | ​
​ | ​ | Number | ​ | ​ | ​ | ​ | of Total | ​ | ​ | of Tier 1 | ​
​ | ​ | of | ​ | ​ | ​ | ​ | Loan | ​ | ​ | Capital | ​
December 31, 2020 NAICS category | ​ | Loans | ​ | ​ | Balance | ​ | Portfolio | ​ | ​ | (Bank) | ​
Lessors of Residential Buildings and Dwellings | ​ | 3 | ​ | $ | 143 | ​ | ​ | ​ | ​ | 0.1 | %
Full-Service Restaurants | ​ | 3 | ​ | ​ | 1,961 | ​ | 0.1 | % | ​ | 0.8 | ​
General Automotive Repair | ​ | 1 | ​ | ​ | 1,459 | ​ | 0.1 | ​ | ​ | 0.6 | ​
School and Employee Bus Transportation | ​ | 1 | ​ | ​ | 725 | ​ | ​ | ​ | ​ | 0.3 | ​
All Others | ​ | 10 | ​ | ​ | 1,508 | ​ | 0.1 | ​ | ​ | 0.6 | ​
​ | ​ | 18 | ​ | $ | 5,796 | ​ | 0.3 | % | ​ | 2.3 | %
​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
​ | ​ | ​ | ​ | ​ | ​ | ​ | Percentage | ​ | ​ | Percentage | ​
​ | ​ | Number | ​ | ​ | ​ | ​ | of Total | ​ | ​ | of Tier 1 | ​
​ | ​ | of | ​ | ​ | ​ | ​ | Loan | ​ | ​ | Capital | ​
2020 NAICS category | ​ | Loans | ​ | ​ | Balance | ​ | Portfolio | ​ | ​ | (Bank) | ​
Lessors of Nonresidential Buildings | ​ | 65 | ​ | $ | 71,899 | ​ | 3.3 | % | ​ | 26.9 | %
Lessors of Residential Buildings and Dwellings | ​ | 64 | ​ | ​ | 53,564 | ​ | 2.5 | ​ | ​ | 19.9 | ​
Hotels and Motels | ​ | 27 | ​ | ​ | 39,261 | ​ | 1.8 | ​ | ​ | 14.5 | ​
Full-Service Restaurants | ​ | 33 | ​ | ​ | 27,783 | ​ | 1.3 | ​ | ​ | 10.3 | ​
Limited-Service Restaurants | ​ | 8 | ​ | ​ | 11,829 | ​ | 0.5 | ​ | ​ | 4.4 | ​
Gasoline Stations with Convenience Stores | ​ | 18 | ​ | ​ | 12,422 | ​ | 0.6 | ​ | ​ | 4.6 | ​
Construction and Mining | ​ | 13 | ​ | ​ | 9,718 | ​ | 0.4 | ​ | ​ | 3.6 | ​
Assisted Living Facilities for the Elderly | ​ | 2 | ​ | ​ | 6,319 | ​ | 0.3 | ​ | ​ | 2.3 | ​
Colleges, Universities, and Professional Schools | ​ | 1 | ​ | ​ | 6,301 | ​ | 0.3 | ​ | ​ | 2.3 | ​
All Others | ​ | 248 | ​ | ​ | 67,674 | ​ | 3.1 | ​ | ​ | 24.9 | ​
​ | ​ | 479 | ​ | $ | 306,770 | ​ | 14.1 | % | ​ | 113.7 | %

X
- Definition Tabular disclosure of financing receivable payment deferrals granted. + References No definition available. + Details
Name: | pfis_FinancingReceivablePaymentDeferralGrantedTableTextBlock
Namespace Prefix: | pfis_
Data Type: | nonnum:textBlockItemType
Balance Type: | na
Period Type: | duration

X
- References No definition available. + Details
Name: | us-gaap_AccountsNotesAndLoansReceivableClassifiedAbstract
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=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 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 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