XML 73 R59.htm IDEA: XBRL DOCUMENT
v3.22.0.1

Investment securities - Unrealized and Realized Gains/(Losses) (Details) $ in Thousands | 12 Months Ended
--- | ---
Dec. 31, 2021 USD ($) security | Dec. 31, 2020 USD ($) security
Investment securities |  |
Unrealized gains (loss), net | $ 1,415 | $ 7,660
Net of deferred income taxes | $ 376 | $ 2,036
Number of securities sold | security | 1 | 2
Proceeds from sale of available-for-sale investment securities |  | $ 64,841
Gross realized gains |  | 923
Gross realized losses |  | $ 5

X
- Definition The net unrealized gain or (loss) on available-for-sale securities. + References No definition available. + Details
Name: | pfis_AvailableForSaleSecuritiesUnrealizedGainLossNetOfTax
Namespace Prefix: | pfis_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Number of securities sold during the period classified as debt securities available for sale. + References No definition available. + Details
Name: | pfis_DebtSecuritiesAvailableForSaleNumberOfSecuritiesSold
Namespace Prefix: | pfis_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | duration

X
- Definition The net unrealized gain or (loss) on available-for-sale securities which is net of deferred income taxes. + References No definition available. + Details
Name: | pfis_DeferredTaxLiabilitiesUnrealizedGainsOnAvailableForSaleSecurities
Namespace Prefix: | pfis_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount of realized gain 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://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 320 -SubTopic 10 -Section 50 -Paragraph 9 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=123581744&loc=d3e27357-111563 + Details
Name: | us-gaap_DebtSecuritiesAvailableForSaleRealizedGain
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Amount of realized loss 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://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 320 -SubTopic 10 -Section 50 -Paragraph 9 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=123581744&loc=d3e27357-111563 + Details
Name: | us-gaap_DebtSecuritiesAvailableForSaleRealizedLoss
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

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 Amount of cash inflow from sale 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://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 320 -SubTopic 10 -Section 45 -Paragraph 11 -URI http://asc.fasb.org/extlink&oid=124260329&loc=d3e26853-111562 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 11 -URI http://asc.fasb.org/extlink&oid=123570139&loc=d3e3151-108585 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 12 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=123570139&loc=d3e3179-108585 + Details
Name: | us-gaap_ProceedsFromSaleOfAvailableForSaleSecuritiesDebt
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration