XML 185 R10.htm IDEA: XBRL DOCUMENT
v3.25.1

Investment securities | 12 Months Ended
--- | ---
Dec. 31, 2024
Investment securities |
Investment securities | 3. Investment securities: The amortized cost and fair value of investment securities aggregated by investment category at December 31, 2024 and December 31, 2023 are summarized below. There was no ACL recorded for available for sale or held to maturity debt securities at December 31, 2024 and 2023. ​
​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
​ | ​ | December 31, 2024 | ​
​ | ​ | ​ | ​ | ​ | Gross | ​ | Gross | ​ | ​ | ​ | ​
​ | ​ | Amortized | ​ | Unrealized | ​ | Unrealized | ​ | Fair |
(Dollars in thousands) |  | Cost |  | Gains |  | Losses |  | Value |
Available for sale: | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
U.S. Treasury securities | ​ | $ | 176,302 | ​ | $ | ​ | ​ | $ | 8,751 | ​ | $ | 167,551 | ​
State and municipals: | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
Taxable | ​ |  | 79,341 | ​ | ​ | 39 | ​ | ​ | 10,481 | ​ |  | 68,899 | ​
Tax-exempt | ​ |  | 76,390 | ​ |  | 7 | ​ | ​ | 10,280 | ​ |  | 66,117 | ​
Residential mortgage-backed securities: | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
U.S. government agencies | ​ |  | 1,403 | ​ |  | 1 | ​ | ​ | 28 | ​ |  | 1,376 | ​
U.S. government-sponsored enterprises | ​ |  | 145,831 | ​ |  | 92 | ​ |  | 19,547 | ​ |  | 126,376 | ​
Commercial mortgage-backed securities: | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
U.S. government-sponsored enterprises | ​ |  | 1,927 | ​ |  | ​ | ​ |  | 71 | ​ |  | 1,856 | ​
Private collateralized mortgage obligations | ​ | ​ | 38,366 | ​ | ​ | 358 | ​ | ​ | 152 | ​ | ​ | 38,572 | ​
Asset backed securities | ​ | ​ | 23,586 | ​ | ​ | 66 | ​ | ​ | 400 | ​ | ​ | 23,252 | ​
Corporate debt securities | ​ | ​ | 31,442 | ​ | ​ | 894 | ​ | ​ | 715 | ​ | ​ | 31,621 | ​
Negotiable certificates of deposit | ​ | ​ | 700 | ​ | ​ | 9 | ​ | ​ | ​ | ​ | ​ | 709 | ​
Total available for sale | ​ | $ | 575,288 | ​ | $ | 1,466 | ​ | $ | 50,425 | ​ | $ | 526,329 | ​
Held to maturity: | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
Tax-exempt state and municipals | ​ | $ | 10,846 | ​ | $ | ​ | ​ | $ | 1,103 | ​ | $ | 9,743 | ​
Residential mortgage-backed securities: | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
U.S. government agencies | ​ |  | 13,847 | ​ |  | ​ | ​ | ​ | 2,643 | ​ |  | 11,204 | ​
U.S. government-sponsored enterprises | ​ |  | 53,491 | ​ |  | ​ | ​ | ​ | 9,286 | ​ |  | 44,205 | ​
Total held to maturity | ​ | $ | 78,184 | ​ | $ | ​ | ​ | $ | 13,032 | ​ | $ | 65,152 | ​
​
​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
​ |  | December 31, 2023 |
​ | ​ | ​ | ​ | ​ | Gross |  | Gross | ​ | ​ | ​ | ​
​ | ​ | Amortized | ​ | Unrealized | ​ | Unrealized | ​ | Fair |
(Dollars in thousands) |  | Cost |  | Gains |  | Losses |  | Value |
Available for sale: | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
U.S. Treasury securities | ​ | $ | 197,920 | ​ | $ | ​ | ​ | $ | 13,863 | ​ | $ | 184,057 | ​
U.S. government-sponsored enterprises | ​ | ​ | 2,539 | ​ | ​ | ​ | ​ | ​ | 387 | ​ |  | 2,152 | ​
State and municipals: | ​ |  | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
Taxable | ​ |  | 67,831 | ​ |  | ​ | ​ | ​ | 10,731 | ​ |  | 57,100 | ​
Tax-exempt | ​ |  | 75,742 | ​ |  | ​ | ​ |  | 8,618 | ​ |  | 67,124 | ​
Residential mortgage-backed securities: | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
U.S. government agencies | ​ |  | 758 | ​ |  | ​ | ​ |  | 34 | ​ |  | 724 | ​
U.S. government-sponsored enterprises | ​ |  | 89,935 | ​ |  | ​ | ​ |  | 17,264 | ​ |  | 72,671 | ​
Commercial mortgage-backed securities: | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
U.S. government-sponsored enterprises | ​ | ​ | 11,729 | ​ | ​ | ​ | ​ | ​ | 360 | ​ | ​ | 11,369 | ​
Corporate debt securities | ​ | ​ | 4,000 | ​ | ​ | ​ | ​ | ​ | 270 | ​ | ​ | 3,730 | ​
Total available for sale | ​ | $ | 450,454 | ​ | $ | ​ | ​ | $ | 51,527 | ​ | $ | 398,927 | ​
Held to maturity: | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
Tax-exempt state and municipals | ​ | $ | 11,201 | ​ | $ | 1 | ​ | $ | 660 | ​ | $ | 10,542 | ​
Residential mortgage-backed securities: | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
U.S. government agencies | ​ | ​ | 15,400 | ​ |  | ​ | ​ | ​ | 2,653 | ​ |  | 12,747 | ​
U.S. government-sponsored enterprises | ​ |  | 58,250 | ​ |  | ​ | ​ | ​ | 9,841 | ​ |  | 48,409 | ​
Total held to maturity | ​ | $ | 84,851 | ​ | $ | 1 | ​ | $ | 13,154 | ​ | $ | 71,698 | ​
​ The Company did not sell any investments from its legacy securities portfolio during the year ended December 31, 2024. Immediately after the merger, the Company sold a significant portion of the available for sale investments acquired from FNCB with proceeds of $241.3 million, with no gross gains or losses realized upon sale. During the twelve-month period ended December 31, 2023, investment securities, including U.S. Treasury bonds and mortgage-backed securities, with a par value of $65.6 million were sold at a net gain of $81 thousand. The proceeds were used to pay-down higher costing short-term borrowings. During the twelve-month period ended December 31, 2022, investment securities with a par value of $45.5 million were sold at a net loss of $2.0 million. The following table summarizes the maturity distribution of the fair value, which is the net carrying amount, of the debt securities classified as available for sale at December 31, 2024. Expected maturities will differ from contractual maturities because borrowers have the right to call or prepay obligations with or without call or prepayment penalties: ​
​ | ​ | ​ | ​ | ​ | ​ | ​
​ | ​ | Amortized |  | Fair
(Dollars in thousands) |  | Cost |  | Value
Within one year | ​ | $ | 77,505 | ​ | $ | 76,127
After one but within five years | ​ |  | 147,076 | ​ |  | 137,382
After five but within ten years | ​ |  | 74,391 | ​ |  | 67,208
After ten years | ​ |  | 65,203 | ​ |  | 54,180
​ | ​ |  | 364,175 | ​ |  | 334,897
Mortgage-backed and other amortizing securities | ​ |  | 211,113 | ​ |  | 191,432
Total | ​ | $ | 575,288 | ​ | $ | 526,329
​ Expected maturities will differ from contractual maturities because borrowers have the right to call or prepay obligations with or without call or prepayment penalties. The maturity distribution of the amortized cost and fair value, of debt securities classified as held to maturity at December 31, 2024, is summarized as follows:
​ | ​ | ​ | ​ | ​ | ​ | ​
​ | ​ | Amortized | ​ | Fair
(Dollars in thousands) |  | Cost |  | Value
After one but within five years | ​ | $ | 1,189 | ​ | $ | 1,069
After five but within ten years | ​ | ​ | 9,657 | ​ | ​ | 8,674
​ | ​ |  | 10,846 | ​ |  | 9,743
Mortgage-backed securities | ​ |  | 67,338 | ​ |  | 55,409
Total | ​ | $ | 78,184 | ​ | $ | 65,152
​ Securities with a carrying value of $441.5 million and $322.4 million at December 31, 2024 and 2023, respectively, were pledged to secure public deposits and certain other deposits as required or permitted by law; and pledged to the Discount Window at the Federal Reserve. Securities and short-term investment activities are conducted with a diverse group of government entities, corporations and state and local municipalities. The counterparty’s creditworthiness and type of collateral is evaluated on a case-by-case basis. At December 31, 2024, there were no significant concentrations of credit risk from any one issuer, with the exception of U.S. government agencies and sponsored enterprises, which exceeded 10.0 percent of stockholders’ equity. The fair value and gross unrealized losses of investment securities with unrealized losses at December 31, 2024 and December 31, 2023, aggregated by investment category and length of time that the individual securities have been in a continuous unrealized loss position, are summarized as follows: ​
​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
​ | ​ | December 31, 2024
​ | ​ | Less than Twelve Months | ​ | Twelve Months or Longer | ​ | Total
​ | ​ | Total # in a loss | ​ | ​ | ​ | ​ | Unrealized | ​ | Total # in a loss | ​ | ​ | ​ | ​ | Unrealized | ​ | Total # in a loss | ​ | ​ | ​ | ​ | Unrealized
(Dollars in thousands) | ​ | Position | ​ | ​ | Fair Value | ​ | Losses | ​ | Position | ​ | ​ | Fair Value | ​ | Losses | ​ | Position | ​ | ​ | Fair Value | ​ | Losses
Securities Available for Sale | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
U.S. Treasury securities | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | 38 | ​ | $ | 167,551 | ​ | $ | 8,751 | ​ | 38 | ​ | $ | 167,551 | ​ | $ | 8,751
State and municipals: | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
Taxable | ​ | 2 | ​ | ​ | 1,097 | ​ | ​ | 6 | ​ | 64 | ​ | ​ | 55,712 | ​ | ​ | 10,475 | ​ | 66 | ​ | ​ | 56,809 | ​ | ​ | 10,481
Tax-exempt | ​ | 6 | ​ | ​ | 1,874 | ​ | ​ | 41 | ​ | 91 | ​ | ​ | 62,329 | ​ | ​ | 10,239 | ​ | 97 | ​ | ​ | 64,203 | ​ | ​ | 10,280
Residential mortgage-backed securities: | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
U.S. government agencies | ​ | 1 | ​ | ​ | 1,299 | ​ | ​ | 27 | ​ | 1 | ​ | ​ | 3 | ​ | ​ | 1 | ​ | 2 | ​ | ​ | 1,302 | ​ | ​ | 28
U.S. government-sponsored enterprises | ​ | 29 | ​ | ​ | 40,886 | ​ | ​ | 622 | ​ | 31 | ​ | ​ | 68,732 | ​ | ​ | 18,925 | ​ | 60 | ​ | ​ | 109,618 | ​ | ​ | 19,547
Commercial mortgage-backed securities: | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
U.S. government-sponsored enterprises | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | 1 | ​ | ​ | 1,856 | ​ | ​ | 71 | ​ | 1 | ​ | ​ | 1,856 | ​ | ​ | 71
Private collateralized mortgage obligations | ​ | 15 | ​ | ​ | 12,854 | ​ | ​ | 152 | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | 15 | ​ | ​ | 12,854 | ​ | ​ | 152
Asset-backed securities | ​ | 2 | ​ | ​ | 2,659 | ​ | ​ | 11 | ​ | 1 | ​ | ​ | 1,939 | ​ | ​ | 389 | ​ | 3 | ​ | ​ | 4,598 | ​ | ​ | 400
Corporate debt securities | ​ | 5 | ​ | ​ | 6,083 | ​ | ​ | 316 | ​ | 6 | ​ | ​ | 3,601 | ​ | ​ | 399 | ​ | 11 | ​ | ​ | 9,684 | ​ | ​ | 715
Total | ​ | 60 | ​ | $ | 66,752 | ​ | $ | 1175 | ​ | 233 | ​ | $ | 361,723 | ​ | $ | 49,250 | ​ | 293 | ​ | $ | 428,475 | ​ | $ | 50,425
​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
Securities Held to Maturity | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
U.S. government-sponsored enterprises | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
Tax-exempt | ​ | 4 | ​ | $ | 2,508 | ​ | $ | 66 | ​ | 12 | ​ | $ | 7,235 | ​ | $ | 1,037 | ​ | 16 | ​ | $ | 9,743 | ​ | $ | 1,103
Residential mortgage-backed securities: | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
U.S. government agencies | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | 4 | ​ | ​ | 11,204 | ​ | ​ | 2,643 | ​ | 4 | ​ | ​ | 11,204 | ​ | ​ | 2,643
U.S. government-sponsored enterprises | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | 8 | ​ | ​ | 44,205 | ​ | ​ | 9,286 | ​ | 8 | ​ | ​ | 44,205 | ​ | ​ | 9,286
Total | ​ | 4 | ​ | $ | 2,508 | ​ | $ | 66 | ​ | 24 | ​ | $ | 62,644 | ​ | $ | 12,966 | ​ | 28 | ​ | $ | 65,152 | ​ | $ | 13,032
​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
​
​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
​ | ​ | December 31, 2023
​ | ​ | Less than Twelve Months | ​ | Twelve Months or Longer | ​ | Total
​ | ​ | Total # in a loss | ​ | ​ | ​ | ​ | ​ | Unrealized | ​ | Total # in a loss | ​ | ​ | ​ | ​ | ​ | Unrealized | ​ | Total # in a loss | ​ | ​ | ​ | ​ | ​ | Unrealized
(Dollars in thousands) | ​ | Position | ​ | ​ | Fair Value | ​ | ​ | Losses | ​ | Position | ​ | ​ | Fair Value | ​ | ​ | Losses | ​ | Position | ​ | ​ | Fair Value | ​ | ​ | Losses
Securities Available for Sale | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
U.S. Treasury securities | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | 43 | ​ | $ | 184,057 | ​ | $ | 13,863 | ​ | 43 | ​ | $ | 184,057 | ​ | $ | 13,863
U.S. government-sponsored enterprises | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | 2 | ​ | ​ | 2,152 | ​ | ​ | 387 | ​ | 2 | ​ | ​ | 2,152 | ​ | ​ | 387
State and municipals: | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
Taxable | ​ | 1 | ​ | $ | 995 | ​ | $ | 6 | ​ | 65 | ​ | ​ | 56,105 | ​ | ​ | 10,725 | ​ | 66 | ​ | ​ | 57,100 | ​ | ​ | 10,731
Tax-exempt | ​ | 2 | ​ | ​ | 575 | ​ | ​ | 5 | ​ | 93 | ​ | ​ | 66,393 | ​ | ​ | 8,613 | ​ | 95 | ​ | ​ | 66,968 | ​ | ​ | 8,618
Residential mortgage-backed securities: | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
U.S. government agencies | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | 3 | ​ | ​ | 724 | ​ | ​ | 34 | ​ | 3 | ​ | ​ | 724 | ​ | ​ | 34
U.S. government-sponsored enterprises | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | 32 | ​ | ​ | 72,671 | ​ | ​ | 17,264 | ​ | 32 | ​ | ​ | 72,671 | ​ | ​ | 17,264
Commercial mortgage-backed securities: | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
U.S. government-sponsored enterprises | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | 4 | ​ | ​ | 11,369 | ​ | ​ | 360 | ​ | 4 | ​ | ​ | 11,369 | ​ | ​ | 360
Corporate debt securities | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | 6 | ​ | ​ | 3,730 | ​ | ​ | 270 | ​ | 6 | ​ | ​ | 3,730 | ​ | ​ | 270
Total | ​ | 3 | ​ | $ | 1,570 | ​ | $ | 11 | ​ | 248 | ​ | $ | 397,201 | ​ | $ | 51,516 | ​ | 251 | ​ | $ | 398,771 | ​ | $ | 51,527
​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
Securities Held to Maturity | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
State and municipals: | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
Tax-exempt | ​ | 2 | ​ | $ | 1,438 | ​ | $ | 36 | ​ | 10 | ​ | $ | 6,209 | ​ | $ | 624 | ​ | 12 | ​ | $ | 7,647 | ​ | $ | 660
Residential mortgage-backed securities: | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
U.S. government agencies | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | 4 | ​ | ​ | 12,747 | ​ | ​ | 2,653 | ​ | 4 | ​ | ​ | 12,747 | ​ | ​ | 2,653
U.S. government-sponsored enterprises | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | 8 | ​ | ​ | 48,409 | ​ | ​ | 9,841 | ​ | 8 | ​ | ​ | 48,409 | ​ | ​ | 9,841
Total | ​ | 2 | ​ | $ | 1,438 | ​ | $ | 36 | ​ | 22 | ​ | $ | 67,365 | ​ | $ | 13,118 | ​ | 24 | ​ | $ | 68,803 | ​ | $ | 13,154
​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
​ Management considered whether a credit loss existed related to the investments in an unrealized loss position by determining (i) whether the decline in fair value is attributable to adverse conditions specifically related to the financial condition of the security issuer or specific conditions in an industry or geographic area; (ii) whether the credit rating of the issuer of the security has been downgraded; (iii) whether dividend or interest payments have been reduced or have not been made and (iv) an adverse change in the remaining expected cash flows from the security such that the Company will not recover the amortized cost of the security. If the decline is judged to be due to factors related to credit, the credit loss should be recorded as an ACL with an offsetting entry to earnings. The portion of the loss related to non-credit factors are recorded in OCI. Based on management’s assessment of the factors identified above, it is determined the fair value of all the identified investments being less than the amortized costs is primarily caused by the rapid increase in market rates and not credit quality. All interest payments have been received as scheduled, substantially all debt securities are rated above investment grade and no material downgrades announced. Because the Company does not intend to sell the investments and it is not more likely than not that the Company will be required to sell the investments before recovery of their amortized cost bases, which may be maturity, the Company does not consider the unrealized loss to be credit related, thus no allowance for credit loss was recorded at December 31, 2024 or December 31, 2023. There was no credit loss to investment securities recognized for the years ended December 31, 2024 and 2023. Equity Securities Equity securities totaled $2.4 million and $0.1 million at December 31, 2024 and 2023, respectively. Included in equity securities with readily determinable fair values at December 31, 2024 and 2023 were investments in the common or preferred stock of publicly traded bank holding companies and an investment in a mutual fund comprised of 1-4 family residential mortgage-backed securities collateralized by properties within the Company’s market area. Equity securities with readily determinable fair values are reported at fair value with net unrealized gains and losses recognized in the consolidated statements of income and comprehensive income (loss). The following is a summary of unrealized and realized gains and losses recognized on equity investment securities during 2024, 2023 and 2022. ​
​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
(Dollars in thousands) |  | ​ | 2024 |  | ​ | 2023 |  | ​ | 2022
Net gains (losses) recognized during the period on equity securities | ​ | $ | 132 | ​ | $ | (11) | ​ | $ | (31)
Less: net gains recognized during the period on equity securities sold during the period | ​ |  | 157 | ​ |  | ​ | ​ |  | ​
Unrealized losses recognized during the reporting period on equity securities still held at the reporting date | ​ | $ | (25) | ​ | $ | (11) | ​ | $ | (31)
​ Equity Securities without Readily Determinable Fair Values At December 31, 2024 and December 31, 2023, equity securities without readily determinable fair values consisted primarily of FHLB stock totaling $10.2 million and $5.2 million, respectively. At December 31, 2024, equity securities without readily determinable fair values also included $4.3 million in FinTech investments and non-cumulative perpetual preferred stock of a privately-held bank holding company acquired through the merger with FNCB. Equity securities without readily determinable fair values are evaluated for impairment whenever events or circumstances suggest that their carrying value may not be recoverable and are included in other assets in the Consolidated Balance Sheets. There was no credit loss to equity securities without readily determinable values recognized for the years ended December 31, 2024, 2023 and 2022.

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

X
- Definition The entire disclosure for investments in certain debt and equity securities. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 940 -SubTopic 320 -Name Accounting Standards Codification -Publisher FASB -URI https://asc.fasb.org/940-320/tableOfContent Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Name Regulation S-K (SK) -Number 229 -Section 1403 -Paragraph b -Publisher SEC Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Topic 320 -Name Accounting Standards Codification -Publisher FASB -URI https://asc.fasb.org/320/tableOfContent Reference 4: http://www.xbrl.org/2003/role/disclosureRef -Topic 320 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 10 -Subparagraph (d) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481800/320-10-50-10 Reference 5: http://www.xbrl.org/2003/role/disclosureRef -Topic 820 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 6B -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org/1943274/2147482106/820-10-50-6B Reference 6: http://www.xbrl.org/2003/role/disclosureRef -Topic 820 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 6B -Subparagraph (c) -Publisher FASB -URI https://asc.fasb.org/1943274/2147482106/820-10-50-6B Reference 7: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 942 -SubTopic 320 -Name Accounting Standards Codification -Publisher FASB -URI https://asc.fasb.org/942-320/tableOfContent + Details
Name: | us-gaap_InvestmentsInDebtAndMarketableEquitySecuritiesAndCertainTradingAssetsDisclosureTextBlock
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:textBlockItemType
Balance Type: | na
Period Type: | duration