Comprehensive Income (Loss) (Tables)
12 Months Ended
Dec. 31, 2021
Equity [Abstract]  
Comprehensive (Loss) Income
The following table presents a reconciliation of the changes in the components of other comprehensive income (loss) for the dates indicated, including the amount of income tax (expense) benefit allocated to each component of other comprehensive income (loss):
Year ended December 31, 2021Year ended December 31, 2020
(Dollars in thousands)Pre-TaxTax (Expense) BenefitAfter Tax AmountPre-TaxTax (Expense) BenefitAfter Tax Amount
Change in fair value of debt securities$(25,077)$5,622 $(19,455)$17,841 $(3,958)$13,883 
Less: net security gains reclassified into non-interest income128 (29)99 227 (50)177 
Net change in fair value of debt securities(25,205)5,651 (19,554)17,614 (3,908)13,706 
Change in fair value of cash flow hedges378 (106)272 (3,328)935 (2,393)
Less: net cash flow hedges losses reclassified into interest expense(2,436)685 (1,751)(514)144 (370)
Net change in fair value of cash flow hedges2,814 (791)2,023 (2,814)791 (2,023)
Total other comprehensive (loss) income, net$(22,391)$4,860 $(17,531)$14,800 $(3,117)$11,683 
Schedule of Accumulated Other Comprehensive Income (Loss)
Information on the Company's accumulated other comprehensive income (loss), net of tax, is comprised of the following components as of the periods indicated:
Year ended December 31, 2021Year ended December 31, 2020
(Dollars in thousands)Unrealized Gains on Debt SecuritiesUnrealized Losses on Cash Flow HedgesTotalUnrealized Gains (Losses) on Debt SecuritiesUnrealized Gains (Losses) on Cash Flow Hedges Total
Accumulated other comprehensive income - beginning balance$24,216 $(2,023)$22,193 $10,510 $— $10,510 
Total other comprehensive (loss) income, net(19,554)2,023 (17,531)13,706 (2,023)11,683 
Accumulated other comprehensive income - ending balance$4,662 $— $4,662 $24,216 $(2,023)$22,193