XML 76 R63.htm IDEA: XBRL DOCUMENT
v3.22.4

Investment securities - Fair Value and Unrealized Losses of Investment Securities in Continuous Unrealized Loss Position (Details) $ in Thousands | Dec. 31, 2022 USD ($) security | Dec. 31, 2021 USD ($) security
--- | --- | ---
Available-for-sale and Held-to-maturity securities |  |
Less Than 12 Months, Number of Securities in a Loss Position | security | 98 | 150
Less Than 12 Months, Fair Value | $ 159,303 | $ 344,216
Less Than 12 Months, Unrealized Losses | $ 9,341 | $ 5,354
12 Months or Greater, Number of Securities in a Loss Position | security | 204 | 18
12 Months or Greater, Fair Value | $ 385,821 | $ 67,073
12 Months or Greater, Unrealized Losses | $ 71,619 | $ 2,627
Total, Number of Securities in a Loss Position | security | 302 | 168
Total, Fair Value | $ 545,124 | $ 411,289
Total, Unrealized Losses | $ 80,960 | $ 7,981
U.S. Treasury securities |  |
Available-for-sale and Held-to-maturity securities |  |
Less Than 12 Months, Number of Securities in a Loss Position | security | 5 | 42
Less Than 12 Months, Fair Value | $ 23,700 | $ 179,974
Less Than 12 Months, Unrealized Losses | $ 1,887 | $ 2,382
12 Months or Greater, Number of Securities in a Loss Position | security | 40 |
12 Months or Greater, Fair Value | $ 156,597 |
12 Months or Greater, Unrealized Losses | $ 17,753 |
Total, Number of Securities in a Loss Position | security | 45 | 42
Total, Fair Value | $ 180,297 | $ 179,974
Total, Unrealized Losses | $ 19,640 | $ 2,382
U.S. Government-sponsored enterprises state and municipals |  |
Available-for-sale and Held-to-maturity securities |  |
Less Than 12 Months, Number of Securities in a Loss Position | security | 4 |
Less Than 12 Months, Fair Value | $ 14,104 |
Less Than 12 Months, Unrealized Losses | $ 197 |
12 Months or Greater, Number of Securities in a Loss Position | security | 1 |
12 Months or Greater, Fair Value | $ 2,266 |
12 Months or Greater, Unrealized Losses | $ 388 |
Total, Number of Securities in a Loss Position | security | 5 |
Total, Fair Value | $ 16,370 |
Total, Unrealized Losses | $ 585 |
State and Municipals, Taxable |  |
Available-for-sale and Held-to-maturity securities |  |
Less Than 12 Months, Number of Securities in a Loss Position | security | 21 | 27
Less Than 12 Months, Fair Value | $ 19,919 | $ 26,827
Less Than 12 Months, Unrealized Losses | $ 2,908 | $ 718
12 Months or Greater, Number of Securities in a Loss Position | security | 45 | 8
12 Months or Greater, Fair Value | $ 34,464 | $ 8,008
12 Months or Greater, Unrealized Losses | $ 10,680 | $ 364
Total, Number of Securities in a Loss Position | security | 66 | 35
Total, Fair Value | $ 54,383 | $ 34,835
Total, Unrealized Losses | $ 13,588 | $ 1,082
State and Municipals, Tax-exempt |  |
Available-for-sale and Held-to-maturity securities |  |
Less Than 12 Months, Number of Securities in a Loss Position | security | 39 | 61
Less Than 12 Months, Fair Value | $ 30,973 | $ 38,693
Less Than 12 Months, Unrealized Losses | $ 1,690 | $ 357
12 Months or Greater, Number of Securities in a Loss Position | security | 84 | 2
12 Months or Greater, Fair Value | $ 59,664 | $ 10,319
12 Months or Greater, Unrealized Losses | $ 10,611 | $ 313
Total, Number of Securities in a Loss Position | security | 123 | 63
Total, Fair Value | $ 90,637 | $ 49,012
Total, Unrealized Losses | $ 12,301 | $ 670
Residential mortgage-backed securities, U.S. government agencies |  |
Available-for-sale and Held-to-maturity securities |  |
Less Than 12 Months, Number of Securities in a Loss Position | security | 5 | 3
Less Than 12 Months, Fair Value | $ 904 | $ 18,398
Less Than 12 Months, Unrealized Losses | $ 39 | $ 392
12 Months or Greater, Number of Securities in a Loss Position | security | 4 |
12 Months or Greater, Fair Value | $ 14,326 |
12 Months or Greater, Unrealized Losses | $ 3,017 |
Total, Number of Securities in a Loss Position | security | 9 | 3
Total, Fair Value | $ 15,230 | $ 18,398
Total, Unrealized Losses | $ 3,056 | $ 392
Residential mortgage-backed securities, U.S. government-sponsored enterprises |  |
Available-for-sale and Held-to-maturity securities |  |
Less Than 12 Months, Number of Securities in a Loss Position | security | 19 | 13
Less Than 12 Months, Fair Value | $ 57,166 | $ 77,875
Less Than 12 Months, Unrealized Losses | $ 2,029 | $ 1,454
12 Months or Greater, Number of Securities in a Loss Position | security | 25 | 7
12 Months or Greater, Fair Value | $ 115,831 | $ 48,276
12 Months or Greater, Unrealized Losses | $ 28,843 | $ 1,919
Total, Number of Securities in a Loss Position | security | 44 | 20
Total, Fair Value | $ 172,997 | $ 126,151
Total, Unrealized Losses | $ 30,872 | $ 3,373
Commercial mortgage-backed Securities, U.S. government-sponsored enterprises |  |
Available-for-sale and Held-to-maturity securities |  |
Less Than 12 Months, Number of Securities in a Loss Position | security | 4 |
Less Than 12 Months, Fair Value | $ 11,584 |
Less Than 12 Months, Unrealized Losses | $ 544 |
12 Months or Greater, Number of Securities in a Loss Position | security | 0 |
12 Months or Greater, Fair Value | $ 0 |
12 Months or Greater, Unrealized Losses | $ 0 |
Total, Number of Securities in a Loss Position | security | 4 |
Total, Fair Value | $ 11,584 |
Total, Unrealized Losses | $ 544 |
Corporate debt securities |  |
Available-for-sale and Held-to-maturity securities |  |
Less Than 12 Months, Number of Securities in a Loss Position | security | 1 | 4
Less Than 12 Months, Fair Value | $ 953 | $ 2,449
Less Than 12 Months, Unrealized Losses | $ 47 | $ 51
12 Months or Greater, Number of Securities in a Loss Position | security | 5 | 1
12 Months or Greater, Fair Value | $ 2,673 | $ 470
12 Months or Greater, Unrealized Losses | $ 327 | $ 31
Total, Number of Securities in a Loss Position | security | 6 | 5
Total, Fair Value | $ 3,626 | $ 2,919
Total, Unrealized Losses | $ 374 | $ 82

X
- Definition Amount of investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale), in continuous unrealized loss position for more than 12 months, without allowance for credit loss. Includes beneficial interest in securitized financial asset. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 326 -SubTopic 30 -Section 50 -Paragraph 5 -URI https://asc.fasb.org/extlink&oid=124269663&loc=SL82922890-210455 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 320 -SubTopic 10 -Section 50 -Paragraph 7 -URI https://asc.fasb.org/extlink&oid=126970911&loc=d3e27337-111563 Reference 3: http://www.xbrl.org/2003/role/exampleRef -Publisher FASB -Name Accounting Standards Codification -Topic 326 -SubTopic 30 -Section 55 -Paragraph 8 -URI https://asc.fasb.org/extlink&oid=121590138&loc=SL82922954-210456 + Details
Name: | us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPosition12MonthsOrLonger
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount of accumulated unrealized loss on investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale), in continuous unrealized loss position for 12 months or longer, without allowance for credit loss. Includes beneficial interest in securitized financial asset. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 320 -SubTopic 10 -Section 50 -Paragraph 7 -URI https://asc.fasb.org/extlink&oid=126970911&loc=d3e27337-111563 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 326 -SubTopic 30 -Section 50 -Paragraph 5 -URI https://asc.fasb.org/extlink&oid=124269663&loc=SL82922890-210455 + Details
Name: | us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPosition12MonthsOrLongerAccumulatedLoss
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Number of investments in debt securities measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale), in continuous unrealized loss position for 12 months or longer, without an allowance for credit loss. Includes beneficial interest in securitized financial asset. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 326 -SubTopic 30 -Section 50 -Paragraph 4 -Subparagraph (b)(3) -URI https://asc.fasb.org/extlink&oid=124269663&loc=SL82922888-210455 + Details
Name: | us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPosition12MonthsOrLongerNumberOfPositions
Namespace Prefix: | us-gaap_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | instant

X
- Definition Amount of investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale), in continuous unrealized loss position for less than 12 months, without allowance for credit loss. Includes beneficial interest in securitized financial asset. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 320 -SubTopic 10 -Section 50 -Paragraph 7 -URI https://asc.fasb.org/extlink&oid=126970911&loc=d3e27337-111563 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 326 -SubTopic 30 -Section 50 -Paragraph 5 -URI https://asc.fasb.org/extlink&oid=124269663&loc=SL82922890-210455 Reference 3: http://www.xbrl.org/2003/role/exampleRef -Publisher FASB -Name Accounting Standards Codification -Topic 326 -SubTopic 30 -Section 55 -Paragraph 8 -URI https://asc.fasb.org/extlink&oid=121590138&loc=SL82922954-210456 + Details
Name: | us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPositionLessThan12Months
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount of accumulated unrealized loss on investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale), in continuous unrealized loss position for less than 12 months, without allowance for credit loss. Includes beneficial interest in securitized financial asset. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 326 -SubTopic 30 -Section 50 -Paragraph 5 -URI https://asc.fasb.org/extlink&oid=124269663&loc=SL82922890-210455 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 320 -SubTopic 10 -Section 50 -Paragraph 7 -URI https://asc.fasb.org/extlink&oid=126970911&loc=d3e27337-111563 + Details
Name: | us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPositionLessThan12MonthsAccumulatedLoss
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Number of investments in debt securities measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale), in continuous unrealized loss position for less than 12 months, without an allowance for credit loss. Includes beneficial interest in securitized financial asset. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 326 -SubTopic 30 -Section 50 -Paragraph 4 -Subparagraph (b)(3) -URI https://asc.fasb.org/extlink&oid=124269663&loc=SL82922888-210455 + Details
Name: | us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPositionLessThan12MonthsNumberOfPositions
Namespace Prefix: | us-gaap_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | instant

X
- Definition Amount of investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale), in unrealized loss position without allowance for credit loss. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 320 -SubTopic 10 -Section 50 -Paragraph 6 -Subparagraph (a)(1) -URI https://asc.fasb.org/extlink&oid=126970911&loc=d3e27290-111563 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 326 -SubTopic 30 -Section 50 -Paragraph 4 -Subparagraph (a)(1) -URI https://asc.fasb.org/extlink&oid=124269663&loc=SL82922888-210455 Reference 3: http://www.xbrl.org/2003/role/exampleRef -Publisher FASB -Name Accounting Standards Codification -Topic 326 -SubTopic 30 -Section 55 -Paragraph 8 -URI https://asc.fasb.org/extlink&oid=121590138&loc=SL82922954-210456 + Details
Name: | us-gaap_DebtSecuritiesAvailableForSaleUnrealizedLossPosition
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount of accumulated unrealized loss on investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale), in unrealized loss position, without allowance for credit loss. Includes beneficial interest in securitized financial asset. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 320 -SubTopic 10 -Section 50 -Paragraph 6 -Subparagraph (a)(2) -URI https://asc.fasb.org/extlink&oid=126970911&loc=d3e27290-111563 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 326 -SubTopic 30 -Section 50 -Paragraph 4 -Subparagraph (a)(2) -URI https://asc.fasb.org/extlink&oid=124269663&loc=SL82922888-210455 + Details
Name: | us-gaap_DebtSecuritiesAvailableForSaleUnrealizedLossPositionAccumulatedLoss
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Number of investments in debt securities measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale), in unrealized loss position, without allowance for credit loss. Includes beneficial interest in securitized financial asset. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 320 -SubTopic 10 -Section 50 -Paragraph 6 -Subparagraph (b)(3) -URI https://asc.fasb.org/extlink&oid=126970911&loc=d3e27290-111563 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 326 -SubTopic 30 -Section 50 -Paragraph 4 -Subparagraph (b)(3) -URI https://asc.fasb.org/extlink&oid=124269663&loc=SL82922888-210455 + Details
Name: | us-gaap_DebtSecuritiesAvailableForSaleUnrealizedLossPositionNumberOfPositions
Namespace Prefix: | us-gaap_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | instant

X
- Definition Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table. + References No definition available. + Details
Name: | us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | us-gaap_FinancialInstrumentAxis=us-gaap_USTreasurySecuritiesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FinancialInstrumentAxis=us-gaap_USGovernmentSponsoredEnterprisesDebtSecuritiesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FinancialInstrumentAxis=us-gaap_TaxableMunicipalBondsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FinancialInstrumentAxis=us-gaap_NontaxableMunicipalBondsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FinancialInstrumentAxis=pfis_MortgageBackedUsGovernmentAgenciesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FinancialInstrumentAxis=us-gaap_MortgageBackedSecuritiesIssuedByUSGovernmentSponsoredEnterprisesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FinancialInstrumentAxis=pfis_CommercialMortgageBackedSecuritiesIssuedByUSGovernmentSponsoredEnterprisesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FinancialInstrumentAxis=us-gaap_CorporateDebtSecuritiesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |