XML 45 R32.htm IDEA: XBRL DOCUMENT
v3.22.4

Loans, net and allowance for loan losses (Tables) | 12 Months Ended
--- | ---
Dec. 31, 2022
Loans, net and allowance for loan losses |
Schedule of major classifications of loans outstanding | ​
​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
(Dollars in thousands) |  | ​ | December 31, 2022 |  | December 31, 2021 |
Commercial | ​ | ​ | ​ | ​ | ​ | ​ | ​
Taxable | ​ | $ | 377,215 | ​ | $ | 424,455 | ​
Non-taxable | ​ | ​ | 222,043 | ​ | ​ | 188,672 | ​
Total | ​ | ​ | 599,258 | ​ | ​ | 613,127 | ​
Real estate | ​ | ​ | ​ | ​ | ​ | ​ | ​
Commercial | ​ | ​ | 1,709,827 | ​ |  | 1,343,539 | ​
Residential | ​ | ​ | 330,728 | ​ |  | 297,624 | ​
Total | ​ | ​ | 2,040,555 | ​ | ​ | 1,641,163 | ​
Consumer | ​ | ​ | ​ | ​ | ​ | ​ | ​
Indirect Auto | ​ | ​ | 76,461 | ​ | ​ | 65,791 | ​
Consumer Other | ​ | ​ | 13,842 | ​ |  | 9,092 | ​
Total | ​ | ​ | 90,303 | ​ | ​ | 74,883 | ​
Total | ​ | $ | 2,730,116 | ​ | $ | 2,329,173 | ​
Schedule of changes in allowance for loan losses account by major classification of loans | ​
​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
​ | ​ | December 31, 2022 |
​ | ​ | ​ | ​ | ​ | Real estate | ​ | ​ | ​ | ​ | ​ | ​ |
(Dollars in thousands) | ​ | Commercial | ​ | Commercial | ​ | Residential | ​ | Consumer | ​ | Total |
Allowance for loan losses: |  | ​ | ​ |  | ​ | ​ |  | ​ | ​ |  | ​ |  |  | ​ | ​ | ​
Beginning balance | ​ | $ | 8,453 | ​ | $ | 15,928 | ​ | $ | 3,209 | ​ | $ | 793 | ​ | $ | 28,383 | ​
Charge-offs | ​ |  | (161) | ​ |  | (284) | ​ |  | (31) | ​ |  | (311) | ​ |  | (787) | ​
Recoveries | ​ |  | 40 | ​ |  | 110 | ​ |  | 4 | ​ |  | 171 | ​ |  | 325 | ​
Provisions (credits) | ​ |  | (2,720) | ​ |  | 2,161 | ​ |  | (110) | ​ |  | 220 | ​ |  | (449) | ​
Ending balance | ​ | $ | 5,612 | ​ | $ | 17,915 | ​ | $ | 3,072 | ​ | $ | 873 | ​ | $ | 27,472 | ​
Ending balance: individually evaluated for impairment | ​ |  | 19 | ​ |  | ​ | ​ |  | 21 | ​ |  | ​ | ​ |  | 40 | ​
Ending balance: collectively evaluated for impairment | ​ | $ | 5,593 | ​ | $ | 17,915 | ​ | $ | 3,051 | ​ | $ | 873 | ​ | $ | 27,432 | ​
Loans receivable: | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
Ending balance | ​ | $ | 599,258 | ​ | $ | 1,709,827 | ​ | $ | 330,728 | ​ | $ | 90,303 | ​ | $ | 2,730,116 | ​
Ending balance: individually evaluated for impairment | ​ |  | 98 | ​ |  | 2,063 | ​ |  | 1,760 | ​ | ​ | ​ | ​ |  | 3,921 | ​
Ending balance: collectively evaluated for impairment | ​ | $ | 599,160 | ​ | $ | 1,707,764 | ​ | $ | 328,968 | ​ | $ | 90,303 | ​ | $ | 2,726,195 | ​
​ ​
​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
​ | ​ | December 31, 2021
​ | ​ | ​ | ​ | ​ | Real estate | ​ | ​ | ​ | ​ | ​ |
(Dollars in thousands) | ​ | Commercial | ​ | Commercial | ​ | Residential | ​ | Consumer | ​ | Total
Allowance for loan losses: |  | ​ | ​ |  | ​ | ​ |  | ​ | ​ |  | ​ |  |  | ​ | ​
Beginning balance | ​ | $ | 8,734 | ​ | $ | 14,559 | ​ | $ | 3,129 | ​ | $ | 922 | ​ | $ | 27,344
Charge-offs | ​ |  | (492) | ​ |  | (252) | ​ |  | (24) | ​ |  | (188) | ​ |  | (956)
Recoveries | ​ |  | 89 | ​ |  | 68 | ​ |  | 7 | ​ |  | 81 | ​ |  | 245
Provisions | ​ |  | 122 | ​ |  | 1,553 | ​ |  | 97 | ​ |  | (22) | ​ |  | 1,750
Ending balance | ​ | $ | 8,453 | ​ | $ | 15,928 | ​ | $ | 3,209 | ​ | $ | 793 | ​ | $ | 28,383
Ending balance: individually evaluated for impairment | ​ |  | 40 | ​ |  | 109 | ​ |  | 26 | ​ |  | ​ | ​ |  | 175
Ending balance: collectively evaluated for impairment | ​ | $ | 8,413 | ​ | $ | 15,819 | ​ | $ | 3,183 | ​ | $ | 793 | ​ | $ | 28,208
Loans receivable: | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
Ending balance | ​ | $ | 613,127 | ​ | $ | 1,343,539 | ​ | $ | 297,624 | ​ | $ | 74,883 | ​ | $ | 2,329,173
Ending balance: individually evaluated for impairment | ​ |  | 199 | ​ |  | 2,890 | ​ |  | 1,273 | ​ | ​ | ​ | ​ |  | 4,362
Ending balance: collectively evaluated for impairment | ​ | $ | 612,928 | ​ | $ | 1,340,649 | ​ | $ | 296,351 | ​ | $ | 74,883 | ​ | $ | 2,324,811
​ ​
​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
​ | ​ | December 31, 2020 | ​
​ | ​ | ​ | ​ | ​ | Real estate | ​ | ​ | ​ | ​ | ​ | ​ |
(Dollars in thousands) | ​ | 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 (credit) | ​ |  | 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 | ​ | ​ | ​ | ​ |  | 9,795 | ​
Ending balance: collectively evaluated for impairment | ​ | $ | 674,989 | ​ | $ | 1,134,038 | ​ | $ | 275,868 | ​ | $ | 83,292 | ​ | $ | 2,168,187 | ​
Schedule of major classification of loans portfolio summarized by credit quality | ​
​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
​ | ​ | December 31, 2022 |
​ | ​ | ​ | ​ | ​ | Special | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
(Dollars in thousands) |  | Pass |  | Mention |  | Substandard |  | Doubtful |  | Total |
Commercial | ​ | $ | 590,621 | ​ | $ | 7,822 | ​ | $ | 815 | ​ | $ | ​ | ​ | $ | 599,258 | ​
Real estate: | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
Commercial | ​ |  | 1,699,041 | ​ |  | 7,509 | ​ |  | 3,277 | ​ | ​ | ​ | ​ |  | 1,709,827 | ​
Residential | ​ |  | 329,098 | ​ |  | ​ | ​ |  | 1,630 | ​ | ​ | ​ | ​ |  | 330,728 | ​
Consumer | ​ |  | 90,020 | ​ |  | ​ | ​ |  | 283 | ​ | ​ | ​ | ​ |  | 90,303 | ​
Total | ​ | $ | 2,708,780 | ​ | $ | 15,331 | ​ | $ | 6,005 | ​ | $ | ​ | ​ | $ | 2,730,116 | ​
​ ​
​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
​ | ​ | December 31, 2021 | ​
​ | ​ | ​ | ​ | ​ | Special | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ |
(Dollars in thousands) |  | Pass |  | Mention |  | Substandard |  | Doubtful |  | Total |
Commercial | ​ | $ | 611,151 | ​ | $ | 896 | ​ | $ | 1,080 | ​ | $ | ​ | ​ | $ | 613,127 | ​
Real estate: | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
Commercial | ​ |  | 1,324,646 | ​ |  | 13,939 | ​ |  | 4,954 | ​ | ​ | ​ | ​ |  | 1,343,539 | ​
Residential | ​ |  | 294,892 | ​ |  | 333 | ​ |  | 2,399 | ​ | ​ | ​ | ​ |  | 297,624 | ​
Consumer | ​ |  | 74,744 | ​ |  | ​ | ​ |  | 139 | ​ | ​ | ​ | ​ |  | 74,883 | ​
Total | ​ | $ | 2,305,433 | ​ | $ | 15,168 | ​ | $ | 8,572 | ​ | $ | ​ | ​ | $ | 2,329,173 | ​
​
Schedule of information concerning nonaccrual loans by major loan classification | ​
​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
(Dollars in thousands) |  | ​ | December 31, 2022 |  | ​ | December 31, 2021 |
Commercial | ​ | $ | 86 | ​ | $ | 185 | ​
Real estate: | ​ | ​ | ​ | ​ | ​ | ​ | ​
Commercial | ​ |  | 1,155 | ​ |  | 1,793 | ​
Residential | ​ |  | 562 | ​ |  | 694 | ​
Consumer | ​ |  | 232 | ​ |  | 139 | ​
Total | ​ | $ | 2,035 | ​ | $ | 2,811 | ​
​
Schedule of major classifications of loans by past due status | ​
​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
​ |  | December 31, 2022 |
​ |  | ​ | ​ |  | ​ | ​ |  | Greater |  | ​ | ​ |  | ​ | ​ |  | ​ | ​ |  | Loans > 90 |
​ | ​ | 30-59 Days | ​ | 60-89 Days | ​ | than 90 | ​ | Total Past | ​ | ​ | ​ | ​ | ​ | ​ | ​ | Days and |
(Dollars in thousands) | ​ | Past Due | ​ | Past Due | ​ | Days | ​ | Due | ​ | Current | ​ | Total Loans | ​ | Accruing |
Commercial | ​ | $ | 137 | ​ | $ | 38 | ​ | $ | 86 | ​ | $ | 261 | ​ | $ | 598,997 | ​ | $ | 599,258 | ​ | $ | ​ | ​
Real estate: | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
Commercial | ​ |  | 102 | ​ | ​ | 2 | ​ |  | 334 | ​ |  | 438 | ​ |  | 1,709,389 | ​ |  | 1,709,827 | ​ | ​ | ​ | ​
Residential | ​ |  | 1,162 | ​ | ​ | 128 | ​ | ​ | 988 | ​ |  | 2,278 | ​ |  | 328,450 | ​ |  | 330,728 | ​ | ​ | 748 | ​
Consumer | ​ |  | 690 | ​ | ​ | 199 | ​ |  | 120 | ​ |  | 1,009 | ​ |  | 89,294 | ​ |  | 90,303 | ​ |  | ​ | ​
Total | ​ | $ | 2,091 | ​ | $ | 367 | ​ | $ | 1,528 | ​ | $ | 3,986 | ​ | $ | 2,726,130 | ​ | $ | 2,730,116 | ​ | $ | 748 | ​
​ ​
​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
​ |  | December 31, 2021 |
​ |  | ​ | ​ |  | ​ | ​ |  | Greater |  | ​ | ​ |  | ​ | ​ |  | ​ | ​ |  | Loans > 90 |
​ | ​ | 30-59 Days | ​ | 60-89 Days | ​ | than 90 | ​ | Total Past | ​ | ​ | ​ | ​ | ​ | ​ | ​ | Days and |
(Dollars in thousands) | ​ | Past Due | ​ | Past Due | ​ | Days | ​ | Due | ​ | Current | ​ | Total Loans | ​ | Accruing |
Commercial | ​ | $ | 101 | ​ | $ | 155 | ​ | $ | 158 | ​ | $ | 414 | ​ | $ | 612,713 | ​ | $ | 613,127 | ​ | $ | ​ | ​
Real estate: | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
Commercial | ​ |  | 768 | ​ | ​ | 423 | ​ |  | 834 | ​ |  | 2,025 | ​ |  | 1,341,514 | ​ |  | 1,343,539 | ​ | ​ | ​ | ​
Residential | ​ |  | 1,552 | ​ |  | 207 | ​ |  | 265 | ​ |  | 2,024 | ​ |  | 295,600 | ​ |  | 297,624 | ​ | ​ | 13 | ​
Consumer | ​ |  | 477 | ​ |  | 163 | ​ |  | 51 | ​ |  | 691 | ​ |  | 74,192 | ​ |  | 74,883 | ​ |  | ​ | ​
Total | ​ | $ | 2,898 | ​ | $ | 948 | ​ | $ | 1,308 | ​ | $ | 5,154 | ​ | $ | 2,324,019 | ​ | $ | 2,329,173 | ​ | $ | 13 | ​
Summarized information concerning impaired loans | ​
​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
​ | ​ | December 31, 2022 | ​
​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | For the Year Ended | ​
​ | ​ | ​ | ​ | ​ | Unpaid | ​ | ​ | ​ | ​ | Average | ​ | Interest |
​ | ​ | Recorded | ​ | Principal | ​ | Related | ​ | Recorded | ​ | Income |
(Dollars in thousands) |  | Investment |  | Balance |  | Allowance |  | Investment |  | Recognized |
With no related allowance: |  | ​ | ​ |  | ​ | ​ |  | ​ | ​ |  | ​ | ​ |  | ​ | ​ | ​
Commercial | ​ | $ | 78 | ​ | $ | 421 | ​ | $ | ​ | ​ | $ | 119 | ​ | $ | 7 | ​
Real estate: | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
Commercial | ​ |  | 2,063 | ​ |  | 2,654 | ​ | ​ | ​ | ​ |  | 2,753 | ​ |  | 59 | ​
Residential | ​ |  | 1,520 | ​ |  | 1,733 | ​ | ​ | ​ | ​ |  | 1,036 | ​ |  | 28 | ​
Consumer | ​ |  | 232 | ​ |  | 244 | ​ | ​ | ​ | ​ |  | 218 | ​ | ​ | ​ | ​
Total | ​ |  | 3,893 | ​ |  | 5,052 | ​ | ​ | ​ | ​ |  | 4,126 | ​ |  | 94 | ​
With an allowance recorded: | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
Commercial | ​ |  | 20 | ​ |  | 20 | ​ | ​ | 19 | ​ |  | 27 | ​ |  | 2 | ​
Real estate: | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
Residential | ​ |  | 240 | ​ |  | 244 | ​ |  | 21 | ​ |  | 286 | ​ |  | 12 | ​
Total | ​ |  | 260 | ​ |  | 264 | ​ |  | 40 | ​ |  | 313 | ​ |  | 14 | ​
Total impaired loans | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
Commercial | ​ |  | 98 | ​ |  | 441 | ​ |  | 19 | ​ |  | 146 | ​ |  | 9 | ​
Real estate: | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
Commercial | ​ |  | 2,063 | ​ |  | 2,654 | ​ |  | ​ | ​ |  | 2,753 | ​ |  | 59 | ​
Residential | ​ |  | 1,760 | ​ |  | 1,977 | ​ |  | 21 | ​ |  | 1,322 | ​ |  | 40 | ​
Consumer | ​ |  | 232 | ​ |  | 244 | ​ |  | ​ | ​ |  | 218 | ​ |  | ​ | ​
Total | ​ | $ | 4,153 | ​ | $ | 5,316 | ​ | $ | 40 | ​ | $ | 4,439 | ​ | $ | 108 | ​
​ ​
​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
​ | ​ | December 31, 2021 |
​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | For the Year Ended |
​ | ​ | ​ | ​ | ​ | Unpaid | ​ | ​ | ​ | ​ | Average | ​ | Interest |
​ | ​ | Recorded | ​ | Principal | ​ | Related | ​ | Recorded | ​ | Income |
(Dollars in thousands) |  | Investment |  | Balance |  | Allowance |  | Investment |  | Recognized |
With no related allowance: |  | ​ | ​ |  | ​ | ​ |  | ​ | ​ |  | ​ | ​ |  | ​ | ​ | ​
Commercial | ​ | $ | 158 | ​ | $ | 481 | ​ | $ | ​ | ​ | $ | 964 | ​ | $ | 13 | ​
Real estate: | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
Commercial | ​ |  | 2,376 | ​ |  | 3,120 | ​ | ​ | ​ | ​ |  | 2,719 | ​ |  | 22 | ​
Residential | ​ |  | 873 | ​ |  | 1,073 | ​ | ​ | ​ | ​ |  | 1,016 | ​ |  | 19 | ​
Consumer | ​ |  | 139 | ​ |  | 148 | ​ | ​ | ​ | ​ |  | 100 | ​ | ​ | ​ | ​
Total | ​ |  | 3,546 | ​ |  | 4,822 | ​ | ​ | ​ | ​ |  | 4,799 | ​ |  | 54 | ​
With an allowance recorded: | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
Commercial | ​ |  | 41 | ​ |  | 41 | ​ | ​ | 40 | ​ |  | 1,091 | ​ |  | 15 | ​
Real estate: | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
Commercial | ​ |  | 513 | ​ |  | 543 | ​ |  | 109 | ​ |  | 802 | ​ |  | 22 | ​
Residential | ​ |  | 401 | ​ |  | 401 | ​ |  | 26 | ​ |  | 436 | ​ |  | 13 | ​
Consumer | ​ | ​ | ​ | ​ |  | ​ | ​ |  | ​ | ​ |  | ​ | ​ |  | ​ | ​
Total | ​ |  | 955 | ​ |  | 985 | ​ |  | 175 | ​ |  | 2,329 | ​ |  | 50 | ​
Total impaired loans | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
Commercial | ​ |  | 199 | ​ |  | 522 | ​ |  | 40 | ​ |  | 2,055 | ​ |  | 28 | ​
Real estate: | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
Commercial | ​ |  | 2,889 | ​ |  | 3,663 | ​ |  | 109 | ​ |  | 3,521 | ​ |  | 44 | ​
Residential | ​ |  | 1,274 | ​ |  | 1,474 | ​ |  | 26 | ​ |  | 1,452 | ​ |  | 32 | ​
Consumer | ​ |  | 139 | ​ |  | 148 | ​ |  | ​ | ​ |  | 100 | ​ |  | ​ | ​
Total | ​ | $ | 4,501 | ​ | $ | 5,807 | ​ | $ | 175 | ​ | $ | 7,128 | ​ | $ | 104 | ​
​ ​
​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
​ | ​ | December 31, 2020 | ​
​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | For the Year Ended | ​
​ | ​ | ​ | ​ | ​ | Unpaid | ​ | ​ | ​ | ​ | Average | ​ | Interest |
​ | ​ | Recorded | ​ | Principal | ​ | Related | ​ | Recorded | ​ | Income |
(Dollars in thousands) |  | 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 | ​
Summary loans whose terms have been modified resulting in troubled debt restructurings | ​
​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
​ |  | December 31, 2020 | ​
​ |  | ​ |  | Pre-Modification |  | Post-Modification |  | ​ | ​ | ​
​ | ​ | Number | ​ | Outstanding Recorded | ​ | Outstanding | ​ | Recorded | ​
(Dollars in thousands except number of contracts) | ​ | 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 | ​
​

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 https://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 https://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 https://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 https://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 https://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 https://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 https://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 https://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 https://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 https://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 https://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 https://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 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 https://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 https://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