Loans and allowance for loan losses - Classified by type (Details) - USD ($)
$ in Thousands
Sep. 30, 2020
Jun. 30, 2020
Mar. 31, 2020
Dec. 31, 2019
Sep. 30, 2019
Jun. 30, 2019
Mar. 31, 2019
Dec. 31, 2018
Accounts, Notes, Loans and Financing Receivable [Line Items]                
Total loans $ 600,089     $ 429,295        
Deferred fees and costs, net (3,606)     764        
Less: allowance for loan losses (4,050)   $ (3,759) (3,186) $ (3,101)   $ (3,047) $ (3,051)
Total loans, net $ 592,433     $ 426,873        
Percentage of class of loans to loan portfolio (in percent) 100.00%     100.00%        
Construction and land development                
Accounts, Notes, Loans and Financing Receivable [Line Items]                
Total loans $ 33,337     $ 31,950        
Less: allowance for loan losses $ (522) $ (508)   $ (185) (208) $ (190)   (262)
Percentage of class of loans to loan portfolio (in percent) 5.56%     7.44%        
Commercial real estate                
Accounts, Notes, Loans and Financing Receivable [Line Items]                
Total loans $ 224,863     $ 228,349        
Less: allowance for loan losses $ (2,445) (2,153)   $ (1,589) (1,529) (1,493)   (1,435)
Percentage of class of loans to loan portfolio (in percent) 37.46%     53.19%        
Consumer real estate                
Accounts, Notes, Loans and Financing Receivable [Line Items]                
Total loans $ 85,766     $ 87,776        
Less: allowance for loan losses $ (327) (281)   $ (678) (657)   $ (660) (680)
Percentage of class of loans to loan portfolio (in percent) 14.30%     20.45%        
Residential [Member] | Construction and land development                
Accounts, Notes, Loans and Financing Receivable [Line Items]                
Total loans $ 7,723     $ 7,887        
Less: allowance for loan losses $ (204) (213)   $ (48) (47) (31)   (42)
Percentage of class of loans to loan portfolio (in percent) 1.29%     1.84%        
Commercial [Member] | Construction and land development                
Accounts, Notes, Loans and Financing Receivable [Line Items]                
Total loans $ 25,614     $ 24,063        
Less: allowance for loan losses $ (318) (295)   $ (137) (161) (159)   (220)
Percentage of class of loans to loan portfolio (in percent) 4.27%     5.60%        
Owner Occupied [Member] | Commercial real estate                
Accounts, Notes, Loans and Financing Receivable [Line Items]                
Total loans $ 97,467     $ 98,353        
Less: allowance for loan losses $ (1,022) (904)   $ (671) (663) (659)   (673)
Percentage of class of loans to loan portfolio (in percent) 16.24%     22.91%        
Non-Owner Occupied [Member] | Commercial real estate                
Accounts, Notes, Loans and Financing Receivable [Line Items]                
Total loans $ 116,863     $ 116,508        
Less: allowance for loan losses $ (1,373) (1,202)   $ (831) (774) (747)   (673)
Percentage of class of loans to loan portfolio (in percent) 19.47%     27.14%        
Multifamily [Member] | Commercial real estate                
Accounts, Notes, Loans and Financing Receivable [Line Items]                
Total loans $ 10,155     $ 13,332        
Less: allowance for loan losses $ (48) (47)   $ (85) (90) (85)   (87)
Percentage of class of loans to loan portfolio (in percent) 1.69%     3.10%        
Farmland [Member] | Commercial real estate                
Accounts, Notes, Loans and Financing Receivable [Line Items]                
Total loans $ 378     $ 156        
Less: allowance for loan losses $ (2)     $ (2) (2) (2)   (2)
Percentage of class of loans to loan portfolio (in percent) 0.06%     0.04%        
Home equity lines [Member] | Consumer real estate                
Accounts, Notes, Loans and Financing Receivable [Line Items]                
Total loans $ 19,307     $ 21,509        
Less: allowance for loan losses $ (10) (40)   $ (271) (220) (233)   (244)
Percentage of class of loans to loan portfolio (in percent) 3.22%     5.01%        
First Deed of Trust [Member] | Consumer real estate                
Accounts, Notes, Loans and Financing Receivable [Line Items]                
Total loans $ 55,070     $ 55,856        
Less: allowance for loan losses $ (160) (166)   $ (343) (369) (367)   (385)
Percentage of class of loans to loan portfolio (in percent) 9.18%     13.01%        
Second Deed of Trust [Member] | Consumer real estate                
Accounts, Notes, Loans and Financing Receivable [Line Items]                
Total loans $ 11,389     $ 10,411        
Less: allowance for loan losses $ (157) (75)   $ (64) (68) (60)   (51)
Percentage of class of loans to loan portfolio (in percent) 1.90%     2.43%        
Commercial and industrial loans (except those secured by real estate)                
Accounts, Notes, Loans and Financing Receivable [Line Items]                
Total loans $ 222,469     $ 45,074        
Less: allowance for loan losses (348)     (572) (372) (385)    
Commercial and industrial loans (except those secured by real estate) | Commercial and industrial loans                
Accounts, Notes, Loans and Financing Receivable [Line Items]                
Total loans 222,469     45,074        
Less: allowance for loan losses $ (348) (317)   $ (572) (372)     (308)
Percentage of class of loans to loan portfolio (in percent) 37.07%     10.50%        
Guaranteed student loans [Member]                
Accounts, Notes, Loans and Financing Receivable [Line Items]                
Total loans $ 30,656     $ 33,525        
Less: allowance for loan losses (97)     (108)        
Guaranteed student loans [Member] | Commercial and industrial loans                
Accounts, Notes, Loans and Financing Receivable [Line Items]                
Total loans 30,656     33,525        
Less: allowance for loan losses $ (97) (101)   $ (108) (107) (109)   (121)
Percentage of class of loans to loan portfolio (in percent) 5.11%     7.81%        
Consumer And Other [Member]                
Accounts, Notes, Loans and Financing Receivable [Line Items]                
Total loans $ 2,998     $ 2,621        
Less: allowance for loan losses (311)     (54)        
Consumer And Other [Member] | Commercial and industrial loans                
Accounts, Notes, Loans and Financing Receivable [Line Items]                
Total loans 2,998     2,621        
Less: allowance for loan losses $ (38) $ (40)   $ (30) $ (38) $ (34)   $ (34)
Percentage of class of loans to loan portfolio (in percent) 0.50%     0.61%