XML 41 R31.htm IDEA: XBRL DOCUMENT
v3.24.1.u1

Summary of significant accounting policies - Nature of operations and Basis of presentation (Details) |  | 3 Months Ended
--- | --- | ---
Apr. 26, 2024 $ / shares | Mar. 31, 2024 Office $ / shares | Mar. 31, 2023 $ / shares
Summary of significant accounting policies |  |  |
Number of full-service community banking offices | Office |  | 28 |
Dividends declared | $ / shares | $ 0.41 | $ 0.41 | $ 0.41

X
- Definition The number of full-service community banking offices. + References No definition available. + Details
Name: | pfis_NumberOfFullServiceBankingOffices
Namespace Prefix: | pfis_
Data Type: | xbrli:integerItemType
Balance Type: | na
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 Aggregate dividends declared during the period for each share of common stock outstanding. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 505 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.3-04) -Publisher FASB -URI https://asc.fasb.org//1943274/2147480008/505-10-S99-1 + Details
Name: | us-gaap_CommonStockDividendsPerShareDeclared
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:perShareItemType
Balance Type: | na
Period Type: | duration