XML 77 R64.htm IDEA: XBRL DOCUMENT
v3.24.0.1

Investment securities (Details) - USD ($) $ in Thousands | 12 Months Ended |
--- | --- | ---
Dec. 31, 2022 | Dec. 31, 2021 | Dec. 31, 2023
Summary of significant accounting policies |  |  |
Held-to-maturity, credit loss | $ 0 |  | $ 0
Available for sale, credit loss | 0 |  | $ 0
Other-than-temporary impairments recognized | $ 0 | $ 0 |

X
- Definition Amounts, before tax, of other-than-temporary impairment (OTTI) on investment in debt security measured at amortized cost (held-to-maturity), recognized in earnings and other comprehensive income (OCI). + References No definition available. + Details
Name: | pfis_OtherThanTemporaryImpairmentLossDebtSecuritiesAndHeldToMaturityBeforeTax
Namespace Prefix: | pfis_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

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

X
- Definition Amount excluding accrued interest, of allowance for credit loss on investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale), classified as current. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 326 -SubTopic 30 -Name Accounting Standards Codification -Section 45 -Paragraph 1 -Publisher FASB -URI https://asc.fasb.org//1943274/2147479130/326-30-45-1 + Details
Name: | us-gaap_DebtSecuritiesAvailableForSaleAmortizedCostAllowanceForCreditLossExcludingAccruedInterestCurrent
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount, excluding accrued interest, of allowance for credit loss on investment in debt security measured at amortized cost (held-to-maturity), classified as current. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 326 -SubTopic 20 -Name Accounting Standards Codification -Section 45 -Paragraph 1 -Publisher FASB -URI https://asc.fasb.org//1943274/2147479344/326-20-45-1 + Details
Name: | us-gaap_DebtSecuritiesHeldToMaturityAllowanceForCreditLossExcludingAccruedInterestCurrent
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant