Loans and allowance for loan losses - Impaired loans (Details) - USD ($) $ in Thousands |
Jun. 30, 2021 |
Dec. 31, 2020 |
| With no related allowance recorded |
|
|
| Recorded Investment |
$ 10,033
|
$ 7,848
|
| Unpaid Principal Balance |
10,341
|
8,159
|
| Total |
|
|
| Recorded Investment |
10,183
|
9,047
|
| Unpaid Principal Balance |
10,491
|
9,358
|
| Related Allowance |
8
|
17
|
| Commercial real estate |
|
|
| With no related allowance recorded |
|
|
| Recorded Investment |
7,040
|
4,771
|
| Unpaid Principal Balance |
7,055
|
4,786
|
| With an allowance recorded |
|
|
| Recorded Investment |
|
1,125
|
| Unpaid Principal Balance |
|
1,125
|
| Related Allowance |
|
9
|
| Total |
|
|
| Recorded Investment |
7,040
|
5,896
|
| Unpaid Principal Balance |
7,055
|
5,911
|
| Related Allowance |
|
9
|
| Commercial real estate | Owner occupied |
|
|
| With no related allowance recorded |
|
|
| Recorded Investment |
5,167
|
2,780
|
| Unpaid Principal Balance |
5,182
|
2,795
|
| With an allowance recorded |
|
|
| Recorded Investment |
|
1,125
|
| Unpaid Principal Balance |
|
1,125
|
| Related Allowance |
|
9
|
| Total |
|
|
| Recorded Investment |
5,167
|
3,905
|
| Unpaid Principal Balance |
5,182
|
3,920
|
| Related Allowance |
|
9
|
| Commercial real estate | Non-Owner Occupied [Member] |
|
|
| With no related allowance recorded |
|
|
| Recorded Investment |
1,873
|
1,991
|
| Unpaid Principal Balance |
1,873
|
1,991
|
| Total |
|
|
| Recorded Investment |
1,873
|
1,991
|
| Unpaid Principal Balance |
1,873
|
1,991
|
| Consumer real estate |
|
|
| With no related allowance recorded |
|
|
| Recorded Investment |
2,792
|
2,936
|
| Unpaid Principal Balance |
3,085
|
3,232
|
| With an allowance recorded |
|
|
| Recorded Investment |
150
|
74
|
| Unpaid Principal Balance |
150
|
74
|
| Related Allowance |
8
|
8
|
| Total |
|
|
| Recorded Investment |
2,942
|
3,010
|
| Unpaid Principal Balance |
3,235
|
3,306
|
| Related Allowance |
8
|
8
|
| Consumer real estate | Home equity lines [Member] |
|
|
| With no related allowance recorded |
|
|
| Recorded Investment |
300
|
300
|
| Unpaid Principal Balance |
300
|
300
|
| Total |
|
|
| Recorded Investment |
300
|
300
|
| Unpaid Principal Balance |
300
|
300
|
| Consumer real estate | First deed of trust |
|
|
| With no related allowance recorded |
|
|
| Recorded Investment |
1,867
|
1,937
|
| Unpaid Principal Balance |
1,867
|
1,940
|
| With an allowance recorded |
|
|
| Recorded Investment |
150
|
74
|
| Unpaid Principal Balance |
150
|
74
|
| Related Allowance |
8
|
8
|
| Total |
|
|
| Recorded Investment |
2,017
|
2,011
|
| Unpaid Principal Balance |
2,017
|
2,014
|
| Related Allowance |
8
|
8
|
| Consumer real estate | Second Deed of Trust [Member] |
|
|
| With no related allowance recorded |
|
|
| Recorded Investment |
625
|
699
|
| Unpaid Principal Balance |
918
|
992
|
| Total |
|
|
| Recorded Investment |
625
|
699
|
| Unpaid Principal Balance |
918
|
992
|
| Commercial and industrial loans | Commercial and industrial loans (except those secured by real estate) |
|
|
| With no related allowance recorded |
|
|
| Recorded Investment |
201
|
141
|
| Unpaid Principal Balance |
201
|
141
|
| Total |
|
|
| Recorded Investment |
201
|
141
|
| Unpaid Principal Balance |
$ 201
|
$ 141
|