XML 27 R16.htm IDEA: XBRL DOCUMENT
v3.23.2

DERIVATIVE FINANCIAL INSTRUMENTS AND HEDGING ACTIVITIES | 6 Months Ended
--- | ---
Jun. 30, 2023
DERIVATIVE FINANCIAL INSTRUMENTS AND HEDGING ACTIVITIES |
DERIVATIVE FINANCIAL INSTRUMENTS AND HEDGING ACTIVITIES | ​ ​ NOTE 8. DERIVATIVE FINANCIAL INSTRUMENTS AND HEDGING ACTIVITIES ​ We use derivative instruments to minimize fluctuations in earnings and cash flows caused by interest rate volatility. Our interest rate risk management strategy involves modifying the re-pricing characteristics of certain assets or liabilities so the changes in interest rates do not have a significant effect on net interest income. Thus, all of our derivative contracts are considered to be interest rate contracts. ​ We recognize our derivative instruments on the consolidated balance sheet at fair value. On the date the derivative instrument is entered into, we designate whether the derivative is part of a hedging relationship (i.e., cash flow or fair value hedge). We formally document relationships between hedging instruments and hedged items, as well as our risk management objective and strategy for undertaking hedge transactions. We also assess, both at the hedge’s inception and on an ongoing basis, whether the derivatives used in hedging transactions are highly effective in offsetting the changes in cash flows or fair values of hedged items. Changes in fair value of derivative instruments that are highly effective and qualify as cash flow hedges are recorded in other comprehensive income or loss. ​ We offer derivative products in the form of interest rate swaps, to commercial loan customers to facilitate their risk management strategies. These instruments are executed through Master Netting Arrangements (“MNA”) with financial institution counterparties or Risk Participation Agreements (“RPA”) with commercial bank counterparties, for which we assumes a pro rata share of the credit exposure associated with a borrower's performance related to the derivative contract with the counterparty. ​ The following tables present information about derivative assets and liabilities at June 30, 2023 and December 31, 2022: ​
​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
​ | ​ | June 30, 2023
​ | ​ | ​ | ​ | Weighted | ​ | ​ |  | ​
​ | ​ | Notional | ​ | Average | ​ | Fair Value | ​ | Location Fair
​ | ​ | Amount | ​ | Maturity | ​ | Asset (Liability) |  | Value Asset
​ |  | (in thousands) |  | (in years) |  | (in thousands) |  | (Liability)
Cash flow hedges: | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
Interest rate swap on wholesale fundings | ​ | $ | 75,000 |  | ​ | 1.5 | ​ | $ | 4,687 | ​ | Other assets
Interest rate swap on variable rate loans | ​ | ​ | 50,000 | ​ | ​ | 2.7 | ​ | ​ | (4,770) | ​ | Other liabilities
Total cash flow hedges | ​ |  | 125,000 |  | ​ | ​ | ​ | ​ | (83) | ​ | ​
​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
Fair value hedges: | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
Interest rate swap on securities | ​ |  | 37,190 |  | ​ | 6.1 | ​ |  | 4,646 | ​ | Other assets
Total fair value hedges | ​ |  | 37,190 |  | ​ | ​ | ​ | ​ | 4,646 | ​ | ​
​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
Economic hedges: | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
Forward sale commitments | ​ |  | 11,508 |  | ​ | — | ​ |  | 49 | ​ | Other assets
Customer Loan Swaps-MNA Counterparty | ​ | ​ | 188,948 | ​ | ​ | 5.2 | ​ | ​ | (19,837) | ​ | Other liabilities
Customer Loan Swaps-RPA Counterparty | ​ | ​ | 112,750 | ​ | ​ | 5.5 | ​ | ​ | — | ​ | Other liabilities
Customer Loan Swaps-Customer | ​ | ​ | 301,698 | ​ | ​ | 5.3 | ​ | ​ | 19,837 | ​ | Other assets
Total economic hedges | ​ |  | 614,904 |  | ​ | ​ | ​ | ​ | 49 | ​ | ​
​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
Non-hedging derivatives: | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
Interest rate lock commitments | ​ |  | 9,169 |  | ​ | 0.1 | ​ |  | 36 | ​ | Other assets
Total non-hedging derivatives | ​ |  | 9,169 |  | ​ | ​ | ​ | ​ | 36 | ​ | ​
​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
Total | ​ | $ | 786,263 | ​ | ​ | ​ | ​ | $ | 4,648 | ​ | ​
​ ​
​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
​ | ​ | December 31, 2022
​ | ​ | ​ | ​ | Weighted | ​ | ​ |  | ​
​ | ​ | Notional | ​ | Average | ​ | Fair Value | ​ | Location Fair
​ | ​ | Amount | ​ | Maturity | ​ | Asset (Liability) |  | Value Asset
​ |  | (in thousands) |  | (in years) |  | (in thousands) |  | (Liability)
Cash flow hedges: |  | ​ |  |  | ​ |  |  | ​ |  | ​ | ​
Interest rate swap on wholesale fundings | ​ | $ | 75,000 |  | ​ | 2.0 | ​ | $ | 4,978 | ​ | Other assets
Interest rate swap on variable rate loans | ​ | ​ | 50,000 | ​ | ​ | 3.2 | ​ | ​ | (4,941) | ​ | Other liabilities
Total cash flow hedges | ​ |  | 125,000 |  | ​ | ​ | ​ | ​ | 37 | ​ | ​
​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
Fair value hedges: | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
Interest rate swap on securities | ​ |  | 37,190 |  | ​ | 6.6 | ​ |  | 4,774 | ​ | Other assets
Total fair value hedges | ​ |  | 37,190 |  | ​ | ​ | ​ | ​ | 4,774 | ​ | ​
​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
Economic hedges: | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
Forward sale commitments | ​ | ​ | — |  | ​ | — | ​ |  | — | ​ | Other assets
Customer Loan Swaps-MNA Counterparty | ​ | ​ | 191,987 | ​ | ​ | 5.8 | ​ | ​ | (20,287) | ​ | Other liabilities
Customer Loan Swaps-RPA Counterparty | ​ | ​ | 113,928 | ​ | ​ | 6.0 | ​ | ​ | — | ​ | Other liabilities
Customer Loan Swaps-Customer | ​ | ​ | 305,914 | ​ | ​ | 5.9 | ​ | ​ | 20,287 | ​ | Other assets
Total economic hedges | ​ |  | 611,829 |  | ​ | ​ | ​ | ​ | — | ​ | ​
​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
Non-hedging derivatives: | ​ |  | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
Interest rate lock commitments | ​ |  | — |  | ​ | — | ​ |  | — | ​ | Other assets
Total non-hedging derivatives | ​ |  | — |  | ​ | ​ | ​ | ​ | — | ​ | ​
​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
Total | ​ | $ | 774,019 | ​ | ​ | ​ | ​ | $ | 4,811 | ​ | ​
​ ​ As of June 30, 2023 and December 31, 2022, the following amounts were recorded on the balance sheet related to cumulative basis adjustments for fair value hedges: ​
​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
​ |  | ​ |  | ​ | ​ |  | Cumulative Amount of Fair
​ | ​ | Location of Hedged Item on | ​ | Carrying Amount of Hedged | ​ | Value Hedging Adjustment in
​ |  | Balance Sheet |  | Assets |  | Carrying Amount
June 30, 2023 |  |  |  | ​ |  |  | ​ |
Interest rate swap on securities |  | Securities available for sale | ​ | $ | 31,381 | ​ | $ | (5,809)
​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
December 31, 2022 |  |  | ​ |  |  | ​ |  |
Interest rate swap on securities |  | Securities available for sale | ​ | $ | 30,045 | ​ | $ | (7,145)
​ ​ Information about derivative assets and liabilities for the three and six months ended June 30, 2023 and 2022, follows: ​
​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
​ | ​ | Three Months Ended June 30, 2023
​ |  | Amount of |  | ​ |  | Amount of |  | ​ |  | ​
​ | ​ | Gain (Loss) | ​ | ​ | ​ | Gain (Loss) | ​ | ​ | ​ | ​
​ | ​ | Recognized in | ​ | ​ | ​ | Reclassified | ​ | Location of | ​ | Amount of
​ | ​ | Other | ​ | Location of Gain (Loss) | ​ | from Other | ​ | Gain (Loss) | ​ | Gain (Loss)
​ | ​ | Comprehensive | ​ | Reclassified from Other | ​ | Comprehensive | ​ | Recognized in | ​ | Recognized
(in thousands) |  | Income |  | Comprehensive Income |  | Income |  | Income |  | in Income
Cash flow hedges: |  | ​ |  |  |  |  | ​ |  |  |  |  | ​ |
Interest rate swap on wholesale funding | ​ | $ | 387 | ​ | Interest expense | ​ | $ | — |  | Interest expense | ​ | $ | 745
Interest rate swap on variable rate loans | ​ | ​ | (462) | ​ | Interest income | ​ | ​ | — | ​ | Interest income | ​ | ​ | (531)
Total cash flow hedges | ​ |  | (75) |  | ​ | ​ |  | — |  |  | ​ |  | 214
​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
Fair value hedges: | ​ |  | ​ |  |  | ​ |  | ​ |  |  | ​ |  | ​
Interest rate swap on securities | ​ |  | 321 |  | Interest income | ​ |  | — |  | Interest income | ​ |  | 330
Total fair value hedges | ​ |  | 321 |  | ​ | ​ |  | — |  |  | ​ |  | 330
​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
Economic hedges: | ​ |  | ​ |  |  | ​ |  | ​ |  |  | ​ |  | ​
Forward commitments | ​ |  | — |  | Other income | ​ |  | — |  | Mortgage banking income | ​ |  | 49
Total economic hedges | ​ |  | — |  | ​ | ​ |  | — |  |  | ​ |  | 49
​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
Non-hedging derivatives: | ​ |  | ​ |  |  | ​ |  | ​ |  |  | ​ |  | ​
Interest rate lock commitments | ​ |  | — |  | Other expense | ​ |  | — |  | Mortgage banking income | ​ |  | (111)
Total non-hedging derivatives | ​ |  | — |  | ​ | ​ |  | — |  |  | ​ |  | (111)
​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
Total | ​ | $ | 246 | ​ | ​ | ​ | $ | — |  |  | ​ | $ | 482
​ ​ ​
​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
​ | ​ | Three Months Ended June 30, 2022
​ |  | Amount of |  | ​ |  | Amount of |  | ​ |  | ​
​ | ​ | Gain (Loss) | ​ | ​ | ​ | Gain (Loss) | ​ | ​ | ​ | ​
​ | ​ | Recognized in | ​ | ​ | ​ | Reclassified | ​ | Location of | ​ | Amount of
​ | ​ | Other | ​ | Location of Gain (Loss) | ​ | from Other | ​ | Gain (Loss) | ​ | Gain (Loss)
​ | ​ | Comprehensive | ​ | Reclassified from Other | ​ | Comprehensive | ​ | Recognized in | ​ | Recognized
(in thousands) | ​ | Income | ​ | Comprehensive Income | ​ | Income | ​ | Income | ​ | in Income
Cash flow hedges: |  | ​ |  |  |  | ​ |  |  |  |  |  | ​ |
Interest rate swap on wholesale funding | ​ | $ | 605 |  | Interest expense | ​ | $ | — |  | Interest expense | ​ | $ | (28)
Interest rate swap on variable rate loans | ​ | ​ | (510) | ​ | Interest income | ​ | ​ | — | ​ | Interest income | ​ | ​ | (17)
Total cash flow hedges | ​ | ​ | 95 | ​ | ​ | ​ |  | — |  | ​ | ​ |  | (45)
​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
Fair value hedges: | ​ | ​ | ​ |  |  | ​ |  | ​ |  |  | ​ |  | ​
Interest rate swap on securities | ​ |  | (1,632) |  | Interest income | ​ |  | — |  | Interest income | ​ |  | (68)
Total economic hedges | ​ | ​ | (1,632) | ​ | ​ | ​ |  | — |  |  | ​ |  | (68)
​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
Economic hedges: | ​ | ​ | ​ |  |  | ​ |  | ​ |  |  | ​ |  | ​
Forward commitments | ​ |  | — |  | Other income | ​ |  | — |  | Mortgage banking income | ​ |  | (213)
Total economic hedges | ​ | ​ | — | ​ | ​ | ​ |  | — |  |  | ​ |  | (213)
​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
Non-hedging derivatives: | ​ |  | ​ |  |  | ​ |  | ​ |  |  | ​ |  | ​
Interest rate lock commitments | ​ |  | — |  | Other income | ​ |  | — |  | Mortgage banking income | ​ |  | 55
Total non-hedging derivatives | ​ | ​ | — | ​ | ​ | ​ |  | — |  |  | ​ |  | 55
​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
Total | ​ | $ | (1,537) |  |  | ​ | $ | — |  |  | ​ | $ | (271)
​ ​ ​
​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
​ | ​ | Six Months Ended June 30, 2023
​ |  | Amount of |  | ​ |  | Amount of |  | ​ |  | ​
​ | ​ | Gain (Loss) | ​ | ​ | ​ | Gain (Loss) | ​ | ​ | ​ | ​
​ | ​ | Recognized in | ​ | ​ | ​ | Reclassified | ​ | Location of | ​ | Amount of
​ | ​ | Other | ​ | Location of Gain (Loss) | ​ | from Other | ​ | Gain (Loss) | ​ | Gain (Loss)
​ | ​ | Comprehensive | ​ | Reclassified from Other | ​ | Comprehensive | ​ | Recognized in | ​ | Recognized
(in thousands) |  | Income |  | Comprehensive Income |  | Income |  | Income |  | in Income
Cash flow hedges: |  | ​ |  |  |  |  | ​ |  |  |  |  | ​ |
Interest rate swap on wholesale funding | ​ | $ | (222) | ​ | Interest expense | ​ | $ | — |  | Interest expense | ​ | $ | 1,409
Interest rate swap on variable rate loans | ​ | ​ | 130 | ​ | Interest income | ​ | ​ | — | ​ | Interest income | ​ | ​ | (997)
Total cash flow hedges | ​ |  | (92) |  | ​ | ​ |  | — |  |  | ​ |  | 412
​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
Fair value hedges: | ​ |  | ​ |  |  | ​ |  | ​ |  |  | ​ |  | ​
Interest rate swap on securities | ​ |  | 929 |  | Interest income | ​ |  | — |  | Interest income | ​ |  | 616
Total fair value hedges | ​ |  | 929 |  | ​ | ​ |  | — |  |  | ​ |  | 616
​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
Economic hedges: | ​ |  | ​ |  |  | ​ |  | ​ |  |  | ​ |  | ​
Forward commitments | ​ |  | — |  | Other income | ​ |  | — |  | Mortgage banking income | ​ |  | 49
Total economic hedges | ​ |  | — |  | ​ | ​ |  | — |  |  | ​ |  | 49
​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
Non-hedging derivatives: | ​ |  | ​ |  |  | ​ |  | ​ |  |  | ​ |  | ​
Interest rate lock commitments | ​ |  | — |  | Other expense | ​ |  | — |  | Mortgage banking income | ​ |  | (103)
Total non-hedging derivatives | ​ |  | — |  | ​ | ​ |  | — |  |  | ​ |  | (103)
​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
Total | ​ | $ | 837 | ​ | ​ | ​ | $ | — |  |  | ​ | $ | 974
​ ​ ​ ​ ​
​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
​ | ​ | Six Months Ended June 30, 2022
​ |  | Amount of |  | ​ |  | Amount of |  | ​ |  | ​
​ | ​ | Gain (Loss) | ​ | ​ | ​ | Gain (Loss) | ​ | ​ | ​ | ​
​ | ​ | Recognized in | ​ | ​ | ​ | Reclassified | ​ | Location of | ​ | Amount of
​ | ​ | Other | ​ | Location of Gain (Loss) | ​ | from Other | ​ | Gain (Loss) | ​ | Gain (Loss)
​ | ​ | Comprehensive | ​ | Reclassified from Other | ​ | Comprehensive | ​ | Recognized in | ​ | Recognized
(in thousands) | ​ | Income | ​ | Comprehensive Income | ​ | Income | ​ | Income | ​ | in Income
Cash flow hedges: |  | ​ |  |  |  | ​ |  |  |  |  |  | ​ |
Interest rate swap on wholesale funding | ​ | $ | 2,796 |  | Interest expense | ​ | $ | — |  | Interest expense | ​ | $ | (141)
Interest rate swap on variable rate loans | ​ | ​ | (2,308) | ​ | Interest income | ​ | ​ | — | ​ | Interest income | ​ | ​ | (1)
Total cash flow hedges | ​ | ​ | 488 | ​ | ​ | ​ |  | — |  | ​ | ​ |  | (142)
​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
Fair value hedges: | ​ | ​ | ​ |  |  | ​ |  | ​ |  |  | ​ |  | ​
Interest rate swap on securities | ​ |  | (3,473) |  | Interest income | ​ |  | — |  | Interest income | ​ |  | (203)
Total economic hedges | ​ | ​ | (3,473) | ​ | ​ | ​ |  | — |  |  | ​ |  | (203)
​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
Economic hedges: | ​ | ​ | ​ |  |  | ​ |  | ​ |  |  | ​ |  | ​
Forward commitments | ​ |  | — |  | Other income | ​ |  | — |  | Mortgage banking income | ​ |  | (26)
Total economic hedges | ​ | ​ | — | ​ | ​ | ​ |  | — |  |  | ​ |  | (26)
​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
Non-hedging derivatives: | ​ |  | ​ |  |  | ​ |  | ​ |  |  | ​ |  | ​
Interest rate lock commitments | ​ |  | — |  | Other income | ​ |  | — |  | Mortgage banking income | ​ |  | (233)
Total non-hedging derivatives | ​ | ​ | — | ​ | ​ | ​ |  | — |  |  | ​ |  | (233)
​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
Total | ​ | $ | (2,985) |  |  | ​ | $ | — |  |  | ​ | $ | (604)
​ ​ ​ The effect of cash flow hedging and fair value accounting on the consolidated statements of income for the three and six months ended June 30, 2023 and 2022:
​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
​ | ​ | Three Months Ended June 30, 2023
​ | ​ | Interest and Dividend Income | ​ | Interest Expense | ​ | ​ | ​
(in thousands) |  | Loans | ​ | Securities and other |  | Deposits | ​ | Borrowings |  | Non-interest Income
Income and expense line items presented in the consolidated statements of income |  | $ | 36,917 | ​ | $ | 5,964 | ​ | $ | 8,590 | ​ | $ | 5,501 | ​ | $ | 8,980
​ |  | ​ |  | ​ | ​ | ​ |  | ​ |  | ​ | ​ | ​ |  | ​ |
The effects of cash flow and fair value hedging: | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
​ | ​ |  |  | ​ | ​ | ​ | ​ |  |  | ​ | ​ | ​ | ​ |  |
Gain (loss) on cash flow hedges: | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
Interest rate swap on wholesale funding | ​ | ​ | — | ​ | ​ | — | ​ | ​ | — | ​ | ​ | 745 | ​ | ​ | —
Interest rate swap on variable rate loans | ​ |  | (531) | ​ | ​ | — | ​ |  | — | ​ | ​ | — | ​ |  | —
​ | ​ |  |  | ​ | ​ | ​ | ​ |  |  | ​ | ​ | ​ | ​ |  |
Gain (loss) on fair value hedges: | ​ |  | ​ | ​ | ​ | ​ | ​ |  |  | ​ | ​ | ​ | ​ |  |
Interest rate swap on securities | ​ | ​ | — | ​ | ​ | 330 | ​ | ​ | — | ​ | ​ | — | ​ | ​ | —
​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
​ | ​ | Three Months Ended June 30, 2022
​ | ​ | Interest and Dividend Income | ​ | Interest Expense | ​ | ​ | ​
(in thousands) |  | Loans | ​ | Securities and other |  | Deposits | ​ | Borrowings |  | Non-interest Income
Income and expense line items presented in the consolidated statements of income |  | $ | 24,581 | ​ | $ | 4,207 | ​ | $ | 1,195 | ​ | $ | 1,074 | ​ | $ | 8,961
​ |  | ​ |  | ​ | ​ | ​ |  | ​ |  | ​ | ​ | ​ |  | ​ |
The effects of cash flow and fair value hedging: | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
​ | ​ |  |  | ​ | ​ | ​ | ​ |  |  | ​ | ​ | ​ | ​ |  |
Gain (loss) on cash flow hedges: | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
Interest rate swap on wholesale funding | ​ | ​ | — | ​ | ​ | — | ​ | ​ | — | ​ | ​ | (28) | ​ | ​ | —
Interest rate swap on variable rate loans | ​ |  | (17) | ​ | ​ | — | ​ |  | — | ​ | ​ | — | ​ |  | —
​ | ​ |  |  | ​ | ​ | ​ | ​ |  |  | ​ | ​ | ​ | ​ |  |
Gain (loss) on fair value hedges: | ​ |  | ​ | ​ | ​ | ​ | ​ |  |  | ​ | ​ | ​ | ​ |  |
Interest rate swap on securities | ​ | ​ | — | ​ | ​ | (68) | ​ | ​ | — | ​ | ​ | — | ​ | ​ | —
​ ​
​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
​ | ​ | Six Months Ended June 30, 2023
​ | ​ | Interest and Dividend Income | ​ | Interest Expense | ​ | ​ | ​
(in thousands) |  | Loans | ​ | Securities and other |  | Deposits | ​ | Borrowings |  | Non-interest Income
Income and expense line items presented in the consolidated statements of income |  | $ | 71,477 | ​ | $ | 11,755 | ​ | $ | 13,855 | ​ | $ | 9,681 | ​ | $ | 18,164
​ |  | ​ |  | ​ | ​ | ​ |  | ​ |  | ​ | ​ | ​ |  | ​ |
The effects of cash flow and fair value hedging: | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
​ | ​ |  |  | ​ | ​ | ​ | ​ |  |  | ​ | ​ | ​ | ​ |  |
Gain (loss) on cash flow hedges: | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
Interest rate swap on wholesale funding | ​ | ​ | — | ​ | ​ | — | ​ | ​ | — | ​ | ​ | 1,409 | ​ | ​ | —
Interest rate swap on variable rate loans | ​ |  | (997) | ​ | ​ | — | ​ |  | — | ​ | ​ | — | ​ |  | —
​ | ​ |  |  | ​ | ​ | ​ | ​ |  |  | ​ | ​ | ​ | ​ |  |
Gain (loss) on fair value hedges: | ​ |  | ​ | ​ | ​ | ​ | ​ |  |  | ​ | ​ | ​ | ​ |  |
Interest rate swap on securities | ​ | ​ | — | ​ | ​ | 616 | ​ | ​ | — | ​ | ​ | — | ​ | ​ | —
​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
​ | ​ | Six Months Ended June 30, 2022
​ | ​ | Interest and Dividend Income | ​ | Interest Expense | ​ | ​ | ​
(in thousands) |  | Loans | ​ | Securities and other |  | Deposits | ​ | Borrowings |  | Non-interest Income
Income and expense line items presented in the consolidated statements of income |  | $ | 47,252 | ​ | $ | 8,033 | ​ | $ | 2,384 | ​ | $ | 2,084 | ​ | $ | 18,270
​ |  | ​ |  | ​ | ​ | ​ |  | ​ |  | ​ | ​ | ​ |  | ​ |
The effects of cash flow and fair value hedging: | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
​ | ​ |  |  | ​ | ​ | ​ | ​ |  |  | ​ | ​ | ​ | ​ |  |
Gain (loss) on cash flow hedges: | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
Interest rate swap on wholesale funding | ​ | ​ | — | ​ | ​ | — | ​ | ​ | — | ​ | ​ | (141) | ​ | ​ | —
Interest rate swap on variable rate loans | ​ |  | (1) | ​ | ​ | — | ​ |  | — | ​ | ​ | — | ​ |  | —
​ | ​ |  |  | ​ | ​ | ​ | ​ |  |  | ​ | ​ | ​ | ​ |  |
Gain (loss) on fair value hedges: | ​ |  | ​ | ​ | ​ | ​ | ​ |  |  | ​ | ​ | ​ | ​ |  |
Interest rate swap on securities | ​ | ​ | — | ​ | ​ | (203) | ​ | ​ | — | ​ | ​ | — | ​ | ​ | —
The effect of derivatives not designated as hedging instruments on the consolidated statements of income for the three and six months ended June 30, 2023 and 2022: ​
​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
​ | ​ | Location of Gain (Loss) Recognized | ​ | Three Months Ended June 30, | ​ | Six Months Ended June 30,
(In thousands) | ​ | in Non-interest Income | ​ | 2023 | ​ | ​ | 2022 | ​ | 2023 | ​ | ​ | 2022
Derivatives not designated as hedging instruments | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
Economic hedges: | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
Forward commitments | ​ | Mortgage banking income | ​ | $ | 49 | ​ | $ | (213) | ​ | $ | 49 | ​ | $ | (26)
Non-hedging derivatives: | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
Interest rate lock commitments | ​ | Mortgage banking income | ​ | ​ | (111) | ​ | ​ | 55 | ​ | ​ | (103) | ​ | ​ | (233)
​ Cash flow hedges ​ Interest rate swaps on wholesale funding As of June 30, 2023, we have two interest rate swaps on wholesale borrowings to limit our exposure to rising interest rates over a five-year term on 3-month FHLB borrowings or brokered certificates, or a combination thereof at each maturity date. The first of the two agreements was entered into in November 2019 with a $50.0 million notional amount and pays a fixed interest rate of 1.53%. A second agreement was entered into in April 2020 with a $25.0 million notional amount and pays a fixed rate of 0.59%. The financial institution counterparty pays us interest on the three-month LIBOR rate. We designated the swaps as cash flow hedges. ​ Interest rate swap on variable rate loans We have an interest rate swap that effectively fixes our interest rate on $50 million of 1 month USD-LIBOR-BBA (or LIBOR less two days) based loan assets at 0.806% plus the credit spread on the loans that reprices on weighted average basis. The instrument is specifically designed to hedge the risk of changes in its cash flows from interest receipts attributable to changes in a contractually specified interest rate, on an amount of our variable rate loan assets equal to $50 million. We designated the swap as a cash flow hedge. ​ Fair value hedges ​ Interest rate swap on securities For derivative instruments that are designated and qualify as a fair value hedge, the gain or loss on the derivative instrument as well as the offsetting loss or gain on the hedged asset or liability attributable to the hedged risk are recognized in current earnings. We utilize interest rate swaps designated as fair value hedges to mitigate the effect of changing interest rates on the fair values of fixed rate callable securities available-for-sale. The hedging strategy on securities converts the fixed interest rates to LIBOR-based variable interest rates. These derivatives are designated as partial term hedges of selected cash flows covering specified periods of time prior to the call dates of the hedged securities. During 2019, we entered into eight swap transactions with a notional amount of $37.2 million designated as fair value hedges. These derivatives are intended to protect against the effects of changing interest rates on the fair values of fixed rate securities. The fixed rates on the transactions have a weighted average of 2.19%. ​ Economic hedges ​ Forward sale commitments We utilize forward sale commitments on residential mortgage loans to hedge interest rate risk and the associated effects on the fair value of interest rate lock commitments and loans originated for sale. The forward sale commitments are accounted for as derivatives. We typically use a combination of best efforts and mandatory delivery contracts. The contracts are loan sale agreements where we commit to deliver a certain principal amount of mortgage loans to an investor at a specified price on or before a specified date. Generally, we enter into contracts just prior to the loan closing with a customer. ​ Customer loan derivatives We enter into customer loan derivatives to facilitate the risk management strategies for commercial banking customers. We mitigate this risk by entering into equal and offsetting loan swap agreements with highly rated third-party financial institutions. The loan swap agreements are free standing derivatives and are recorded at fair value in our consolidated balance sheet. We are party to MNAs with our financial institutional counterparties; however, we do not offset assets and liabilities under these arrangements for financial statement presentation purposes. ​ ​ The MNAs provide for a single net settlement of all loan swap agreements, as well as collateral or cash funds, in the event of default on, or termination of, any one contract. Collateral is provided by cash or securities received or posted by the counterparty with net liability positions, respectively, in accordance with contract thresholds. ​
​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
​ | ​ | Gross Amounts Offset in the Consolidated Balance Sheet
​ | ​ | Derivative | ​ | ​ | ​ | Cash Collateral | ​ | ​ | ​
(in thousands) |  | Liabilities |  | Derivative Assets |  | Pledged |  | Net Amount
As of June 30, 2023 | ​ |  | ​ | ​ |  | ​ | ​ |  | ​ | ​ |  | ​
Customer Loan Derivatives: |  | ​ |  |  | ​ |  |  | ​ |  |  | ​ |
MNA counterparty | ​ | $ | (19,837) | ​ | $ | 19,837 | ​ | $ | — | ​ | $ | —
RPA counterparty | ​ |  | — | ​ |  | — | ​ |  | — | ​ |  | —
Total | ​ | $ | (19,837) | ​ | $ | 19,837 | ​ | $ | — | ​ | $ | —
​
​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
​ | ​ | Gross Amounts Offset in the Consolidated Balance Sheet
​ | ​ | Derivative | ​ | ​ | ​ | Cash Collateral | ​ | ​ | ​
(in thousands) |  | Liabilities |  | Derivative Assets |  | Pledged |  | Net Amount
As of December 31, 2022 | ​ |  | ​ | ​ |  | ​ | ​ |  | ​ | ​ |  | ​
Customer Loan Derivatives: |  | ​ |  |  | ​ |  |  | ​ |  |  | ​ |
MNA counterparty | ​ | $ | (20,287) | ​ | $ | 20,287 | ​ | $ | — | ​ | $ | —
RPA counterparty | ​ |  | — | ​ |  | — | ​ |  | — | ​ |  | —
Total | ​ | $ | (20,287) | ​ | $ | 20,287 | ​ | $ | — | ​ | $ | —
​ Non-hedging derivatives ​ Interest rate lock commitments We enter into interest rate lock commitments (“IRLCs”) for residential mortgage loans, which commit us to lend funds to a potential borrower at a specific interest rate and within a specified period of time. IRLCs relate to the origination of residential mortgage loans that are held for sale and are considered derivative financial instruments under applicable accounting guidance. Outstanding IRLCs expose us to the risk that the price of the mortgage loans underlying the commitments may decline due to increases in mortgage interest rates from inception of the rate lock to the funding of the loan. The IRLCs are free standing derivatives, which are carried at fair value with changes recorded in non-interest income in our Consolidated Statements of Income. Changes in the fair value of IRLCs subsequent to inception are based on (i) changes in the fair value of the underlying loan resulting from the fulfillment of the commitment and (ii) changes in the probability when the loan will fund within the terms of the commitment, which is affected primarily by changes in interest rates and the passage of time.

X
- References No definition available. + Details
Name: | us-gaap_DerivativeInstrumentsAndHedgingActivitiesDisclosureAbstract
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition The entire disclosure for derivative instruments and hedging activities including, but not limited to, risk management strategies, non-hedging derivative instruments, assets, liabilities, revenue and expenses, and methodologies and assumptions used in determining the amounts. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 815 -SubTopic 40 -Name Accounting Standards Codification -Section 50 -Paragraph 5 -Subparagraph (f) -Publisher FASB -URI https://asc.fasb.org//1943274/2147480237/815-40-50-5 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 815 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 5C -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org//1943274/2147480434/815-10-50-5C Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 815 -Name Accounting Standards Codification -Publisher FASB -URI https://asc.fasb.org//815/tableOfContent + Details
Name: | us-gaap_DerivativeInstrumentsAndHedgingActivitiesDisclosureTextBlock
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:textBlockItemType
Balance Type: | na
Period Type: | duration