XML 82 R69.htm IDEA: XBRL DOCUMENT v3.22.1
SBA loan servicing activities - Schedule of net gain on sale of SBA loans (Details) - SBA Loan - USD ($)
$ in Thousands
12 Months Ended
Dec. 31, 2021
Dec. 31, 2020
Servicing Asset at Amortized Cost [Line Items]    
Gain on sale of guaranteed SBA loans $ 3,435 $ 2,087
Loss on sale of unguaranteed SBA loans (406) (70)
Costs recognized on sale of SBA loans (51) (895)
Fair value of servicing rights created 1,229 530
Net gain realized on sale of residential loans held for sale $ 4,207 $ 1,652