XML 72 R58.htm IDEA: XBRL DOCUMENT
v3.22.0.1

Investment securities - Amortized Cost and Fair Value of Investment Securities Aggregated by Investment Category (Details) - USD ($) $ in Thousands | Dec. 31, 2021 | Dec. 31, 2020
--- | --- | ---
Investment Securities |  |
Available-for-sale, Amortized Cost | $ 519,112 | $ 286,215
Available-for-sale, Gross Unrealized Gains | 5,294 | 9,899
Available-for-sale, Gross Unrealized Losses | 7,085 | 203
Available-for-sale, Fair Value | 517,321 | 295,911
Held-to-maturity, Amortized Cost | 71,213 | 7,225
Held-to-maturity, Gross Unrealized Gains | 129 | 288
Held-to-maturity, Gross Unrealized Losses | 896 |
Held-to-maturity, Fair value | 70,446 | 7,513
U.S. Treasury securities |  |
Investment Securities |  |
Available-for-sale, Amortized Cost | 193,849 | 18,478
Available-for-sale, Gross Unrealized Gains | 107 | 427
Available-for-sale, Gross Unrealized Losses | 2,382 |
Available-for-sale, Fair Value | 191,574 | 18,905
U.S. Government-sponsored enterprises state and municipals |  |
Investment Securities |  |
Available-for-sale, Amortized Cost | 33,435 | 63,834
Available-for-sale, Gross Unrealized Gains | 343 | 1,354
Available-for-sale, Fair Value | 33,778 | 65,188
Mortgage-backed Securities, U.S. Government agencies |  |
Investment Securities |  |
Available-for-sale, Amortized Cost | 1,790 | 3,553
Available-for-sale, Gross Unrealized Gains | 53 | 154
Available-for-sale, Fair Value | 1,843 | 3,707
Held-to-maturity, Amortized Cost | 18,802 | 21
Held-to-maturity, Gross Unrealized Losses | 392 |
Held-to-maturity, Fair value | 18,410 | 21
Mortgage-backed Securities, U.S. Government-sponsored enterprises |  |
Investment Securities |  |
Available-for-sale, Amortized Cost | 109,018 | 79,457
Available-for-sale, Gross Unrealized Gains | 939 | 1,930
Available-for-sale, Gross Unrealized Losses | 2,925 | 136
Available-for-sale, Fair Value | 107,032 | 81,251
Held-to-maturity, Amortized Cost | 40,935 | 355
Held-to-maturity, Gross Unrealized Gains | 3 | 13
Held-to-maturity, Gross Unrealized Losses | 448 |
Held-to-maturity, Fair value | 40,490 | 368
Commercial mortgage-backed Securities, U.S. government-sponsored enterprises |  |
Investment Securities |  |
Available-for-sale, Amortized Cost | 12,542 | 12,619
Available-for-sale, Gross Unrealized Gains | 406 | 881
Available-for-sale, Fair Value | 12,948 | 13,500
Corporate Debt Securities |  |
Investment Securities |  |
Available-for-sale, Amortized Cost | 3,000 | 1,000
Available-for-sale, Gross Unrealized Losses | 82 |
Available-for-sale, Fair Value | 2,918 | 1,000
State and Municipals, Taxable |  |
Investment Securities |  |
Available-for-sale, Amortized Cost | 69,066 | 53,297
Available-for-sale, Gross Unrealized Gains | 994 | 2,099
Available-for-sale, Gross Unrealized Losses | 1,082 | 30
Available-for-sale, Fair Value | 68,978 | 55,366
Held-to-maturity, Amortized Cost | 11,476 |
Held-to-maturity, Gross Unrealized Gains | 126 |
Held-to-maturity, Gross Unrealized Losses | 56 |
Held-to-maturity, Fair value | 11,546 |
State and Municipals, Tax-exempt |  |
Investment Securities |  |
Available-for-sale, Amortized Cost | 96,412 | 53,977
Available-for-sale, Gross Unrealized Gains | 2,452 | 3,054
Available-for-sale, Gross Unrealized Losses | 614 | 37
Available-for-sale, Fair Value | $ 98,250 | 56,994
Held-to-maturity, Amortized Cost |  | 6,849
Held-to-maturity, Gross Unrealized Gains |  | 275
Held-to-maturity, Fair value |  | $ 7,124

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=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: |

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

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