XML 42 R32.htm IDEA: XBRL DOCUMENT
v3.24.1.u1

Summary of significant accounting policies - Pending Merger (Details) - Pending Merger with FNCB Bancorp, Inc. $ in Millions | Sep. 27, 2023 USD ($)
--- | ---
Business Acquisition |
Fixed exchange ratio | 0.1460
Merger termination fee | $ 4.8

X
- Definition The ratio of common stock a shareholder of acquired company will receive in conjunction with the merger. + References No definition available. + Details
Name: | pfis_FixedExchangeRatio
Namespace Prefix: | pfis_
Data Type: | xbrli:pureItemType
Balance Type: | na
Period Type: | duration

X
- Definition The fee required if the merger is terminated. + References No definition available. + Details
Name: | pfis_MergerTerminationFee
Namespace Prefix: | pfis_
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 Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 805 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 5 -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org//1943274/2147479907/805-20-50-5 + Details
Name: | us-gaap_BusinessAcquisitionLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | us-gaap_BusinessAcquisitionAxis=pfis_PendingMergerMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |