XML 43 R34.htm IDEA: XBRL DOCUMENT
v3.22.2.2

Investment securities - Amortized Cost and Fair Value of Investment Securities Aggregated by Investment Category (Details) - USD ($) $ in Thousands | Sep. 30, 2022 | Dec. 31, 2021
--- | --- | ---
Investment Securities |  |
Available-for-sale, Amortized Cost | $ 552,172 | $ 519,112
Available-for-sale, Gross Unrealized Gains | 2 | 5,294
Available-for-sale, Gross Unrealized Losses | 74,584 | 7,085
Available-for-sale, Fair Value | 477,590 | 517,321
Held-to-maturity, Amortized Cost | 92,771 | 71,213
Held-to-maturity, Gross Unrealized Gains |  | 129
Held-to-maturity, Gross Unrealized Losses | 14,259 | 896
Held-to-maturity, Fair value | 78,512 | 70,446
U.S. Treasury securities |  |
Investment Securities |  |
Available-for-sale, Amortized Cost | 247,812 | 193,849
Available-for-sale, Gross Unrealized Gains |  | 107
Available-for-sale, Gross Unrealized Losses | 23,476 | 2,382
Available-for-sale, Fair Value | 224,336 | 191,574
U.S. Government-sponsored enterprises state and municipals |  |
Investment Securities |  |
Available-for-sale, Amortized Cost | 16,976 | 33,435
Available-for-sale, Gross Unrealized Gains |  | 343
Available-for-sale, Gross Unrealized Losses | 625 |
Available-for-sale, Fair Value | 16,351 | 33,778
State and Municipals, Taxable |  |
Investment Securities |  |
Available-for-sale, Amortized Cost | 69,913 | 69,066
Available-for-sale, Gross Unrealized Gains | 1 | 994
Available-for-sale, Gross Unrealized Losses | 13,680 | 1,082
Available-for-sale, Fair Value | 56,234 | 68,978
State and Municipals, Tax-exempt |  |
Investment Securities |  |
Available-for-sale, Amortized Cost | 100,078 | 96,412
Available-for-sale, Gross Unrealized Gains | 1 | 2,452
Available-for-sale, Gross Unrealized Losses | 15,493 | 614
Available-for-sale, Fair Value | 84,586 | 98,250
State and Municipals Tax-exempt Bonds |  |
Investment Securities |  |
Held-to-maturity, Amortized Cost | 11,247 | 11,476
Held-to-maturity, Gross Unrealized Gains |  | 126
Held-to-maturity, Gross Unrealized Losses | 1,286 | 56
Held-to-maturity, Fair value | 9,961 | 11,546
Mortgage-backed Securities, U.S. Government agencies |  |
Investment Securities |  |
Available-for-sale, Amortized Cost | 1,130 | 1,790
Available-for-sale, Gross Unrealized Gains |  | 53
Available-for-sale, Gross Unrealized Losses | 39 |
Available-for-sale, Fair Value | 1,091 | 1,843
Held-to-maturity, Amortized Cost | 17,732 | 18,802
Held-to-maturity, Gross Unrealized Losses | 2,679 | 392
Held-to-maturity, Fair value | 15,053 | 18,410
Mortgage-backed Securities, U.S. Government-sponsored enterprises |  |
Investment Securities |  |
Available-for-sale, Amortized Cost | 100,020 | 109,018
Available-for-sale, Gross Unrealized Gains |  | 939
Available-for-sale, Gross Unrealized Losses | 20,312 | 2,925
Available-for-sale, Fair Value | 79,708 | 107,032
Held-to-maturity, Amortized Cost | 63,792 | 40,935
Held-to-maturity, Gross Unrealized Gains |  | 3
Held-to-maturity, Gross Unrealized Losses | 10,294 | 448
Held-to-maturity, Fair value | 53,498 | 40,490
Commercial mortgage-backed Securities, U.S. government-sponsored enterprises |  |
Investment Securities |  |
Available-for-sale, Amortized Cost | 12,243 | 12,542
Available-for-sale, Gross Unrealized Gains |  | 406
Available-for-sale, Gross Unrealized Losses | 564 |
Available-for-sale, Fair Value | 11,679 | 12,948
Corporate Debt Securities |  |
Investment Securities |  |
Available-for-sale, Amortized Cost | 4,000 | 3,000
Available-for-sale, Gross Unrealized Losses | 395 | 82
Available-for-sale, Fair Value | $ 3,605 | $ 2,918

X
- Definition Amount, before tax, of unrealized gain in accumulated other comprehensive income (AOCI) on investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale). + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 320 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=123581744&loc=d3e27161-111563 + Details
Name: | us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedGainBeforeTax
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount, before tax, of unrealized loss in accumulated other comprehensive income (AOCI) on investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale). + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 320 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (c) -URI http://asc.fasb.org/extlink&oid=123581744&loc=d3e27161-111563 + Details
Name: | us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedLossBeforeTax
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amortized cost of investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale). + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 320 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=123581744&loc=d3e27161-111563 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 326 -SubTopic 30 -Section 45 -Paragraph 1 -URI http://asc.fasb.org/extlink&oid=124258926&loc=SL82898722-210454 + Details
Name: | us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
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). + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 942 -SubTopic 210 -Section S99 -Paragraph 1 -Subparagraph (SX 210.9-03(6)) -URI http://asc.fasb.org/extlink&oid=120398452&loc=d3e534808-122878 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 326 -SubTopic 30 -Section 45 -Paragraph 1 -URI http://asc.fasb.org/extlink&oid=124258926&loc=SL82898722-210454 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 320 -SubTopic 10 -Section 45 -Paragraph 1 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=124260329&loc=d3e26610-111562 Reference 4: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 320 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (aa) -URI http://asc.fasb.org/extlink&oid=123581744&loc=d3e27161-111563 + Details
Name: | us-gaap_AvailableForSaleSecuritiesDebtSecurities
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount, before allowance for credit loss, of investment in debt security measured at amortized cost (held-to-maturity). + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 326 -SubTopic 20 -Section 45 -Paragraph 1 -URI http://asc.fasb.org/extlink&oid=124255206&loc=SL82895884-210446 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 326 -SubTopic 20 -Section 50 -Paragraph 14 -URI http://asc.fasb.org/extlink&oid=124255953&loc=SL82919253-210447 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 310 -SubTopic 10 -Section 50 -Paragraph 7A -URI http://asc.fasb.org/extlink&oid=123577603&loc=SL6953401-111524 Reference 4: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 320 -SubTopic 10 -Section 50 -Paragraph 5 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=123581744&loc=d3e27232-111563 + Details
Name: | us-gaap_HeldToMaturitySecurities
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount of accumulated unrecognized gain on investment in debt security measured at amortized cost (held-to-maturity). + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 320 -SubTopic 10 -Section 50 -Paragraph 5 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=123581744&loc=d3e27232-111563 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 320 -SubTopic 10 -Section 50 -Paragraph 5A -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=123581744&loc=SL120269820-111563 + Details
Name: | us-gaap_HeldToMaturitySecuritiesAccumulatedUnrecognizedHoldingGain
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount of accumulated unrealized loss on investment in debt security measured at amortized cost (held-to-maturity). + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 320 -SubTopic 10 -Section 50 -Paragraph 5 -Subparagraph (c) -URI http://asc.fasb.org/extlink&oid=123581744&loc=d3e27232-111563 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 320 -SubTopic 10 -Section 50 -Paragraph 5A -Subparagraph (c) -URI http://asc.fasb.org/extlink&oid=123581744&loc=SL120269820-111563 + Details
Name: | us-gaap_HeldToMaturitySecuritiesAccumulatedUnrecognizedHoldingLoss
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Fair value of investment in debt security measured at amortized cost (held-to-maturity). + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 320 -SubTopic 10 -Section 50 -Paragraph 5 -Subparagraph (aa) -URI http://asc.fasb.org/extlink&oid=123581744&loc=d3e27232-111563 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 942 -SubTopic 210 -Section S99 -Paragraph 1 -Subparagraph (SX 210.9-03(6)) -URI http://asc.fasb.org/extlink&oid=120398452&loc=d3e534808-122878 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 320 -SubTopic 10 -Section 50 -Paragraph 5A -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=123581744&loc=SL120269820-111563 + Details
Name: | us-gaap_HeldToMaturitySecuritiesFairValue
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
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_ScheduleOfTradingSecuritiesAndOtherTradingAssetsLineItems
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_StateAndMunicipalTaxExemptBondsMember
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: |