Loans and allowance for loan losses - Additional Information (Details)
3 Months Ended 12 Months Ended
Mar. 31, 2021
USD ($)
Mar. 31, 2020
USD ($)
Mar. 31, 2021
USD ($)
loan
Mar. 31, 2020
USD ($)
loan
Dec. 31, 2020
USD ($)
Dec. 31, 2019
USD ($)
Accounts, Notes, Loans and Financing Receivable [Line Items]            
Loans Pledged as Collateral $ 44,419,000   $ 44,419,000   $ 65,587,000  
Defaults on TDRs that were modified as TDRs | loan     0 0    
Amount of loans under modified terms 19,000,000   $ 19,000,000   38,000,000  
Provision for loan losses 0 $ 400,000        
Loans and Leases Receivable, Allowance $ 3,992,000 3,444,000 $ 3,992,000 $ 3,444,000 3,970,000 $ 3,186,000
Guaranteed Student loans [Member]            
Accounts, Notes, Loans and Financing Receivable [Line Items]            
Percentage Of Recovery Loss On Portfolio From Historical Experience 98.00%   98.00%      
Unallocated Financing Receivable [Member]            
Accounts, Notes, Loans and Financing Receivable [Line Items]            
Loans and Leases Receivable, Allowance $ 748,000 $ 142,000 $ 748,000 $ 142,000 $ 154,000