0000716605false--12-312023Q1http://fasb.org/us-gaap/2022#AccountingStandardsUpdate201613Member00007166052023-01-012023-03-3100007166052023-05-01xbrli:shares00007166052023-03-31iso4217:USD00007166052022-12-31iso4217:USDxbrli:shares00007166052022-01-012022-03-310000716605us-gaap:DepositAccountMember2023-01-012023-03-310000716605us-gaap:DepositAccountMember2022-01-012022-03-310000716605pwod:InsuranceCommissionsMember2023-01-012023-03-310000716605pwod:InsuranceCommissionsMember2022-01-012022-03-310000716605pwod:BrokerageCommissionsMember2023-01-012023-03-310000716605pwod:BrokerageCommissionsMember2022-01-012022-03-310000716605pwod:LoanBrokerageCommissionsMember2023-01-012023-03-310000716605pwod:LoanBrokerageCommissionsMember2022-01-012022-03-310000716605us-gaap:DebitCardMember2023-01-012023-03-310000716605us-gaap:DebitCardMember2022-01-012022-03-310000716605us-gaap:CommonStockMember2022-12-310000716605us-gaap:AdditionalPaidInCapitalMember2022-12-310000716605us-gaap:RetainedEarningsMember2022-12-310000716605us-gaap:AccumulatedOtherComprehensiveIncomeMember2022-12-310000716605us-gaap:TreasuryStockCommonMember2022-12-3100007166052022-01-012022-12-310000716605us-gaap:RetainedEarningsMembersrt:CumulativeEffectPeriodOfAdoptionAdjustmentMember2022-12-310000716605srt:CumulativeEffectPeriodOfAdoptionAdjustmentMember2022-12-310000716605us-gaap:RetainedEarningsMember2023-01-012023-03-310000716605us-gaap:AccumulatedOtherComprehensiveIncomeMember2023-01-012023-03-310000716605us-gaap:AdditionalPaidInCapitalMember2023-01-012023-03-310000716605us-gaap:CommonStockMember2023-01-012023-03-310000716605us-gaap:CommonStockMember2023-03-310000716605us-gaap:AdditionalPaidInCapitalMember2023-03-310000716605us-gaap:RetainedEarningsMember2023-03-310000716605us-gaap:AccumulatedOtherComprehensiveIncomeMember2023-03-310000716605us-gaap:TreasuryStockCommonMember2023-03-310000716605us-gaap:CommonStockMember2021-12-310000716605us-gaap:AdditionalPaidInCapitalMember2021-12-310000716605us-gaap:RetainedEarningsMember2021-12-310000716605us-gaap:AccumulatedOtherComprehensiveIncomeMember2021-12-310000716605us-gaap:TreasuryStockCommonMember2021-12-3100007166052021-12-310000716605us-gaap:RetainedEarningsMember2022-01-012022-03-310000716605us-gaap:AccumulatedOtherComprehensiveIncomeMember2022-01-012022-03-310000716605us-gaap:AdditionalPaidInCapitalMember2022-01-012022-03-310000716605us-gaap:CommonStockMember2022-01-012022-03-310000716605us-gaap:CommonStockMember2022-03-310000716605us-gaap:AdditionalPaidInCapitalMember2022-03-310000716605us-gaap:RetainedEarningsMember2022-03-310000716605us-gaap:AccumulatedOtherComprehensiveIncomeMember2022-03-310000716605us-gaap:TreasuryStockCommonMember2022-03-3100007166052022-03-310000716605pwod:FinancingReceivableCreditLossImpactMemberus-gaap:RetainedEarningsMembersrt:CumulativeEffectPeriodOfAdoptionAdjustmentMember2022-12-310000716605pwod:FinancingReceivableCreditLossImpactMembersrt:CumulativeEffectPeriodOfAdoptionAdjustmentMember2022-12-310000716605us-gaap:RetainedEarningsMembersrt:CumulativeEffectPeriodOfAdoptionAdjustmentMemberpwod:OffBalanceSheetCreditExposureImpactMember2022-12-310000716605srt:CumulativeEffectPeriodOfAdoptionAdjustmentMemberpwod:OffBalanceSheetCreditExposureImpactMember2022-12-310000716605pwod:CommercialFinancialandAgriculturalPortfolioSegmentMember2022-12-310000716605pwod:CommercialFinancialandAgriculturalPortfolioSegmentMembersrt:CumulativeEffectPeriodOfAdoptionAdjustmentMember2022-12-310000716605srt:CumulativeEffectPeriodOfAdoptionAdjustedBalanceMemberpwod:CommercialFinancialandAgriculturalPortfolioSegmentMember2022-12-310000716605us-gaap:ResidentialMortgageMemberpwod:RealEstateMortgagePortfolioSegmentMember2022-12-310000716605us-gaap:ResidentialMortgageMemberpwod:RealEstateMortgagePortfolioSegmentMembersrt:CumulativeEffectPeriodOfAdoptionAdjustmentMember2022-12-310000716605us-gaap:ResidentialMortgageMemberpwod:RealEstateMortgagePortfolioSegmentMembersrt:CumulativeEffectPeriodOfAdoptionAdjustedBalanceMember2022-12-310000716605pwod:RealEstateMortgagePortfolioSegmentMemberus-gaap:CommercialRealEstateMember2022-12-310000716605pwod:RealEstateMortgagePortfolioSegmentMembersrt:CumulativeEffectPeriodOfAdoptionAdjustmentMemberus-gaap:CommercialRealEstateMember2022-12-310000716605pwod:RealEstateMortgagePortfolioSegmentMembersrt:CumulativeEffectPeriodOfAdoptionAdjustedBalanceMemberus-gaap:CommercialRealEstateMember2022-12-310000716605pwod:RealEstateMortgagePortfolioSegmentMemberus-gaap:ConstructionLoansMember2022-12-310000716605pwod:RealEstateMortgagePortfolioSegmentMembersrt:CumulativeEffectPeriodOfAdoptionAdjustmentMemberus-gaap:ConstructionLoansMember2022-12-310000716605pwod:RealEstateMortgagePortfolioSegmentMembersrt:CumulativeEffectPeriodOfAdoptionAdjustedBalanceMemberus-gaap:ConstructionLoansMember2022-12-310000716605us-gaap:AutomobileLoanMember2022-12-310000716605us-gaap:AutomobileLoanMembersrt:CumulativeEffectPeriodOfAdoptionAdjustmentMember2022-12-310000716605us-gaap:AutomobileLoanMembersrt:CumulativeEffectPeriodOfAdoptionAdjustedBalanceMember2022-12-310000716605pwod:OtherConsumerInstallmentLoansMember2022-12-310000716605srt:CumulativeEffectPeriodOfAdoptionAdjustmentMemberpwod:OtherConsumerInstallmentLoansMember2022-12-310000716605srt:CumulativeEffectPeriodOfAdoptionAdjustedBalanceMemberpwod:OtherConsumerInstallmentLoansMember2022-12-310000716605us-gaap:UnallocatedFinancingReceivablesMember2022-12-310000716605srt:CumulativeEffectPeriodOfAdoptionAdjustmentMemberus-gaap:UnallocatedFinancingReceivablesMember2022-12-310000716605srt:CumulativeEffectPeriodOfAdoptionAdjustedBalanceMemberus-gaap:UnallocatedFinancingReceivablesMember2022-12-310000716605srt:CumulativeEffectPeriodOfAdoptionAdjustedBalanceMember2022-12-310000716605us-gaap:AccumulatedNetUnrealizedInvestmentGainLossMember2022-12-310000716605us-gaap:AccumulatedDefinedBenefitPlansAdjustmentMember2022-12-310000716605us-gaap:AccumulatedNetUnrealizedInvestmentGainLossMember2021-12-310000716605us-gaap:AccumulatedDefinedBenefitPlansAdjustmentMember2021-12-310000716605us-gaap:AccumulatedNetUnrealizedInvestmentGainLossMember2023-01-012023-03-310000716605us-gaap:AccumulatedDefinedBenefitPlansAdjustmentMember2023-01-012023-03-310000716605us-gaap:AccumulatedNetUnrealizedInvestmentGainLossMember2022-01-012022-03-310000716605us-gaap:AccumulatedDefinedBenefitPlansAdjustmentMember2022-01-012022-03-310000716605us-gaap:AccumulatedNetUnrealizedInvestmentGainLossMember2023-03-310000716605us-gaap:AccumulatedDefinedBenefitPlansAdjustmentMember2023-03-310000716605us-gaap:AccumulatedNetUnrealizedInvestmentGainLossMember2022-03-310000716605us-gaap:AccumulatedDefinedBenefitPlansAdjustmentMember2022-03-310000716605us-gaap:ReclassificationOutOfAccumulatedOtherComprehensiveIncomeMemberus-gaap:AccumulatedNetUnrealizedInvestmentGainLossMember2023-01-012023-03-310000716605us-gaap:ReclassificationOutOfAccumulatedOtherComprehensiveIncomeMemberus-gaap:AccumulatedNetUnrealizedInvestmentGainLossMember2022-01-012022-03-310000716605us-gaap:ReclassificationOutOfAccumulatedOtherComprehensiveIncomeMemberus-gaap:AccumulatedDefinedBenefitPlansAdjustmentMember2023-01-012023-03-310000716605us-gaap:ReclassificationOutOfAccumulatedOtherComprehensiveIncomeMemberus-gaap:AccumulatedDefinedBenefitPlansAdjustmentMember2022-01-012022-03-310000716605us-gaap:USTreasuryAndGovernmentMember2023-03-310000716605us-gaap:MortgageBackedSecuritiesIssuedByUSGovernmentSponsoredEnterprisesMember2023-03-310000716605us-gaap:USStatesAndPoliticalSubdivisionsMember2023-03-310000716605us-gaap:OtherDebtSecuritiesMember2023-03-310000716605us-gaap:DebtSecuritiesMember2023-03-310000716605pwod:NonfinancialInstitutionEquitySecuritiesMember2023-03-310000716605us-gaap:USTreasuryAndGovernmentMember2022-12-310000716605us-gaap:MortgageBackedSecuritiesIssuedByUSGovernmentSponsoredEnterprisesMember2022-12-310000716605us-gaap:USStatesAndPoliticalSubdivisionsMember2022-12-310000716605us-gaap:OtherDebtSecuritiesMember2022-12-310000716605us-gaap:DebtSecuritiesMember2022-12-310000716605pwod:NonfinancialInstitutionEquitySecuritiesMember2022-12-31pwod:security0000716605us-gaap:USStatesAndPoliticalSubdivisionsMember2023-01-012023-03-310000716605us-gaap:USStatesAndPoliticalSubdivisionsMember2022-01-012022-03-310000716605us-gaap:RealEstateMember2023-01-012023-03-31pwod:category0000716605pwod:CommercialFinancialandAgriculturalPortfolioSegmentMemberpwod:FinancialAsset30To89DaysPastDueMember2023-03-310000716605pwod:CommercialFinancialandAgriculturalPortfolioSegmentMemberus-gaap:FinancialAssetNotPastDueMember2023-03-310000716605pwod:CommercialFinancialandAgriculturalPortfolioSegmentMember2023-03-310000716605us-gaap:ResidentialMortgageMemberpwod:RealEstateMortgagePortfolioSegmentMemberpwod:FinancialAsset30To89DaysPastDueMember2023-03-310000716605us-gaap:ResidentialMortgageMemberpwod:RealEstateMortgagePortfolioSegmentMemberus-gaap:FinancialAssetNotPastDueMember2023-03-310000716605us-gaap:ResidentialMortgageMemberpwod:RealEstateMortgagePortfolioSegmentMember2023-03-310000716605pwod:RealEstateMortgagePortfolioSegmentMemberus-gaap:CommercialRealEstateMemberpwod:FinancialAsset30To89DaysPastDueMember2023-03-310000716605pwod:RealEstateMortgagePortfolioSegmentMemberus-gaap:FinancialAssetNotPastDueMemberus-gaap:CommercialRealEstateMember2023-03-310000716605pwod:RealEstateMortgagePortfolioSegmentMemberus-gaap:CommercialRealEstateMember2023-03-310000716605pwod:RealEstateMortgagePortfolioSegmentMemberus-gaap:ConstructionLoansMemberpwod:FinancialAsset30To89DaysPastDueMember2023-03-310000716605pwod:RealEstateMortgagePortfolioSegmentMemberus-gaap:FinancialAssetNotPastDueMemberus-gaap:ConstructionLoansMember2023-03-310000716605pwod:RealEstateMortgagePortfolioSegmentMemberus-gaap:ConstructionLoansMember2023-03-310000716605us-gaap:AutomobileLoanMemberpwod:FinancialAsset30To89DaysPastDueMember2023-03-310000716605us-gaap:AutomobileLoanMemberus-gaap:FinancialAssetNotPastDueMember2023-03-310000716605us-gaap:AutomobileLoanMember2023-03-310000716605pwod:FinancialAsset30To89DaysPastDueMemberpwod:OtherConsumerInstallmentLoansMember2023-03-310000716605us-gaap:FinancialAssetNotPastDueMemberpwod:OtherConsumerInstallmentLoansMember2023-03-310000716605pwod:OtherConsumerInstallmentLoansMember2023-03-310000716605pwod:FinancialAsset30To89DaysPastDueMember2023-03-310000716605us-gaap:FinancialAssetNotPastDueMember2023-03-310000716605pwod:CommercialFinancialandAgriculturalPortfolioSegmentMemberpwod:FinancialAsset30To89DaysPastDueMember2022-12-310000716605pwod:CommercialFinancialandAgriculturalPortfolioSegmentMemberus-gaap:FinancialAssetNotPastDueMember2022-12-310000716605us-gaap:ResidentialMortgageMemberpwod:RealEstateMortgagePortfolioSegmentMemberpwod:FinancialAsset30To89DaysPastDueMember2022-12-310000716605us-gaap:ResidentialMortgageMemberpwod:RealEstateMortgagePortfolioSegmentMemberus-gaap:FinancialAssetNotPastDueMember2022-12-310000716605pwod:RealEstateMortgagePortfolioSegmentMemberus-gaap:CommercialRealEstateMemberpwod:FinancialAsset30To89DaysPastDueMember2022-12-310000716605pwod:RealEstateMortgagePortfolioSegmentMemberus-gaap:FinancialAssetNotPastDueMemberus-gaap:CommercialRealEstateMember2022-12-310000716605pwod:RealEstateMortgagePortfolioSegmentMemberus-gaap:ConstructionLoansMemberpwod:FinancialAsset30To89DaysPastDueMember2022-12-310000716605pwod:RealEstateMortgagePortfolioSegmentMemberus-gaap:FinancialAssetNotPastDueMemberus-gaap:ConstructionLoansMember2022-12-310000716605us-gaap:AutomobileLoanMemberpwod:FinancialAsset30To89DaysPastDueMember2022-12-310000716605us-gaap:AutomobileLoanMemberus-gaap:FinancialAssetNotPastDueMember2022-12-310000716605pwod:FinancialAsset30To89DaysPastDueMemberpwod:OtherConsumerInstallmentLoansMember2022-12-310000716605us-gaap:FinancialAssetNotPastDueMemberpwod:OtherConsumerInstallmentLoansMember2022-12-310000716605pwod:FinancialAsset30To89DaysPastDueMember2022-12-310000716605us-gaap:FinancialAssetNotPastDueMember2022-12-310000716605us-gaap:RealEstateMemberus-gaap:ResidentialMortgageMemberpwod:RealEstateMortgagePortfolioSegmentMember2023-03-310000716605us-gaap:ResidentialMortgageMemberpwod:RealEstateMortgagePortfolioSegmentMemberus-gaap:GovernmentGuaranteedCollateralMember2023-03-310000716605us-gaap:ResidentialMortgageMemberpwod:RealEstateMortgagePortfolioSegmentMemberus-gaap:UncollateralizedMember2023-03-310000716605us-gaap:RealEstateMemberpwod:RealEstateMortgagePortfolioSegmentMemberus-gaap:CommercialRealEstateMember2023-03-310000716605pwod:RealEstateMortgagePortfolioSegmentMemberus-gaap:GovernmentGuaranteedCollateralMemberus-gaap:CommercialRealEstateMember2023-03-310000716605pwod:RealEstateMortgagePortfolioSegmentMemberus-gaap:CommercialRealEstateMemberus-gaap:UncollateralizedMember2023-03-310000716605us-gaap:RealEstateMember2023-03-310000716605us-gaap:GovernmentGuaranteedCollateralMember2023-03-310000716605us-gaap:UncollateralizedMember2023-03-31xbrli:pure0000716605pwod:CommercialFinancialandAgriculturalPortfolioSegmentMember2022-01-012022-03-310000716605us-gaap:ResidentialMortgageMemberpwod:RealEstateMortgagePortfolioSegmentMember2022-01-012022-03-310000716605pwod:RealEstateMortgagePortfolioSegmentMemberus-gaap:CommercialRealEstateMember2022-01-012022-03-310000716605pwod:RealEstateMortgagePortfolioSegmentMemberus-gaap:ConstructionLoansMember2022-01-012022-03-310000716605us-gaap:AutomobileLoanMember2022-01-012022-03-310000716605pwod:OtherConsumerInstallmentLoansMember2022-01-012022-03-31pwod:contract0000716605us-gaap:PassMemberpwod:CommercialFinancialandAgriculturalPortfolioSegmentMember2023-03-310000716605pwod:CommercialFinancialandAgriculturalPortfolioSegmentMemberus-gaap:SpecialMentionMember2023-03-310000716605pwod:CommercialFinancialandAgriculturalPortfolioSegmentMemberus-gaap:SubstandardMember2023-03-310000716605pwod:CommercialFinancialandAgriculturalPortfolioSegmentMember2023-01-012023-03-310000716605us-gaap:PassMemberus-gaap:ResidentialMortgageMemberpwod:RealEstateMortgagePortfolioSegmentMember2023-03-310000716605us-gaap:ResidentialMortgageMemberpwod:RealEstateMortgagePortfolioSegmentMemberus-gaap:SpecialMentionMember2023-03-310000716605us-gaap:ResidentialMortgageMemberpwod:RealEstateMortgagePortfolioSegmentMemberus-gaap:SubstandardMember2023-03-310000716605us-gaap:ResidentialMortgageMemberpwod:RealEstateMortgagePortfolioSegmentMemberus-gaap:SubstandardMember2023-01-012023-03-310000716605us-gaap:PassMemberpwod:RealEstateMortgagePortfolioSegmentMemberus-gaap:CommercialRealEstateMember2023-03-310000716605pwod:RealEstateMortgagePortfolioSegmentMemberus-gaap:SpecialMentionMemberus-gaap:CommercialRealEstateMember2023-03-310000716605pwod:RealEstateMortgagePortfolioSegmentMemberus-gaap:SubstandardMemberus-gaap:CommercialRealEstateMember2023-03-310000716605pwod:RealEstateMortgagePortfolioSegmentMemberus-gaap:SubstandardMemberus-gaap:CommercialRealEstateMember2023-01-012023-03-310000716605us-gaap:PassMemberpwod:RealEstateMortgagePortfolioSegmentMemberus-gaap:ConstructionLoansMember2023-03-310000716605pwod:RealEstateMortgagePortfolioSegmentMemberus-gaap:SpecialMentionMemberus-gaap:ConstructionLoansMember2023-03-310000716605pwod:RealEstateMortgagePortfolioSegmentMemberus-gaap:SubstandardMemberus-gaap:ConstructionLoansMember2023-03-310000716605pwod:RealEstateMortgagePortfolioSegmentMemberus-gaap:SubstandardMemberus-gaap:ConstructionLoansMember2023-01-012023-03-310000716605us-gaap:AutomobileLoanMemberus-gaap:PassMember2023-03-310000716605us-gaap:AutomobileLoanMemberus-gaap:SpecialMentionMember2023-03-310000716605us-gaap:AutomobileLoanMemberus-gaap:SubstandardMember2023-03-310000716605us-gaap:AutomobileLoanMemberus-gaap:SubstandardMember2023-01-012023-03-310000716605us-gaap:PassMemberpwod:OtherConsumerInstallmentLoansMember2023-03-310000716605us-gaap:SpecialMentionMemberpwod:OtherConsumerInstallmentLoansMember2023-03-310000716605us-gaap:SubstandardMemberpwod:OtherConsumerInstallmentLoansMember2023-03-310000716605us-gaap:PassMemberpwod:OtherConsumerInstallmentLoansMember2023-01-012023-03-310000716605us-gaap:PassMemberpwod:CommercialFinancialandAgriculturalPortfolioSegmentMember2022-12-310000716605us-gaap:PassMemberus-gaap:ResidentialMortgageMemberpwod:RealEstateMortgagePortfolioSegmentMember2022-12-310000716605us-gaap:PassMemberpwod:RealEstateMortgagePortfolioSegmentMemberus-gaap:CommercialRealEstateMember2022-12-310000716605us-gaap:PassMemberpwod:RealEstateMortgagePortfolioSegmentMemberus-gaap:ConstructionLoansMember2022-12-310000716605us-gaap:AutomobileLoanMemberus-gaap:PassMember2022-12-310000716605us-gaap:PassMemberpwod:OtherConsumerInstallmentLoansMember2022-12-310000716605us-gaap:PassMember2022-12-310000716605pwod:CommercialFinancialandAgriculturalPortfolioSegmentMemberus-gaap:SpecialMentionMember2022-12-310000716605us-gaap:ResidentialMortgageMemberpwod:RealEstateMortgagePortfolioSegmentMemberus-gaap:SpecialMentionMember2022-12-310000716605pwod:RealEstateMortgagePortfolioSegmentMemberus-gaap:SpecialMentionMemberus-gaap:CommercialRealEstateMember2022-12-310000716605pwod:RealEstateMortgagePortfolioSegmentMemberus-gaap:SpecialMentionMemberus-gaap:ConstructionLoansMember2022-12-310000716605us-gaap:AutomobileLoanMemberus-gaap:SpecialMentionMember2022-12-310000716605us-gaap:SpecialMentionMemberpwod:OtherConsumerInstallmentLoansMember2022-12-310000716605us-gaap:SpecialMentionMember2022-12-310000716605pwod:CommercialFinancialandAgriculturalPortfolioSegmentMemberus-gaap:SubstandardMember2022-12-310000716605us-gaap:ResidentialMortgageMemberpwod:RealEstateMortgagePortfolioSegmentMemberus-gaap:SubstandardMember2022-12-310000716605pwod:RealEstateMortgagePortfolioSegmentMemberus-gaap:SubstandardMemberus-gaap:CommercialRealEstateMember2022-12-310000716605pwod:RealEstateMortgagePortfolioSegmentMemberus-gaap:SubstandardMemberus-gaap:ConstructionLoansMember2022-12-310000716605us-gaap:AutomobileLoanMemberus-gaap:SubstandardMember2022-12-310000716605us-gaap:SubstandardMemberpwod:OtherConsumerInstallmentLoansMember2022-12-310000716605us-gaap:SubstandardMember2022-12-310000716605us-gaap:ResidentialMortgageMemberpwod:RealEstateMortgagePortfolioSegmentMember2023-01-012023-03-310000716605pwod:RealEstateMortgagePortfolioSegmentMemberus-gaap:CommercialRealEstateMember2023-01-012023-03-310000716605pwod:RealEstateMortgagePortfolioSegmentMemberus-gaap:ConstructionLoansMember2023-01-012023-03-310000716605us-gaap:AutomobileLoanMember2023-01-012023-03-310000716605pwod:OtherConsumerInstallmentLoansMember2023-01-012023-03-310000716605us-gaap:UnallocatedFinancingReceivablesMember2023-01-012023-03-310000716605us-gaap:UnallocatedFinancingReceivablesMember2023-03-310000716605pwod:CommercialFinancialandAgriculturalPortfolioSegmentMember2021-12-310000716605us-gaap:ResidentialMortgageMemberpwod:RealEstateMortgagePortfolioSegmentMember2021-12-310000716605pwod:RealEstateMortgagePortfolioSegmentMemberus-gaap:CommercialRealEstateMember2021-12-310000716605pwod:RealEstateMortgagePortfolioSegmentMemberus-gaap:ConstructionLoansMember2021-12-310000716605us-gaap:AutomobileLoanMember2021-12-310000716605pwod:OtherConsumerInstallmentLoansMember2021-12-310000716605us-gaap:UnallocatedFinancingReceivablesMember2021-12-310000716605us-gaap:UnallocatedFinancingReceivablesMember2022-01-012022-03-310000716605pwod:CommercialFinancialandAgriculturalPortfolioSegmentMember2022-03-310000716605us-gaap:ResidentialMortgageMemberpwod:RealEstateMortgagePortfolioSegmentMember2022-03-310000716605pwod:RealEstateMortgagePortfolioSegmentMemberus-gaap:CommercialRealEstateMember2022-03-310000716605pwod:RealEstateMortgagePortfolioSegmentMemberus-gaap:ConstructionLoansMember2022-03-310000716605us-gaap:AutomobileLoanMember2022-03-310000716605pwod:OtherConsumerInstallmentLoansMember2022-03-310000716605us-gaap:UnallocatedFinancingReceivablesMember2022-03-310000716605pwod:FinancingReceivableMemberus-gaap:ResidentialMortgageMemberus-gaap:CustomerConcentrationRiskMember2023-01-012023-03-310000716605pwod:FinancingReceivableMemberus-gaap:ResidentialMortgageMemberus-gaap:CustomerConcentrationRiskMember2022-01-012022-03-310000716605pwod:FinancingReceivableMemberus-gaap:CommercialRealEstateMemberus-gaap:CustomerConcentrationRiskMember2023-01-012023-03-310000716605pwod:FinancingReceivableMemberus-gaap:CommercialRealEstateMemberus-gaap:CustomerConcentrationRiskMember2022-01-012022-03-310000716605us-gaap:EmployeeStockMember2023-03-310000716605us-gaap:EmployeeStockMember2023-01-012023-03-310000716605us-gaap:EmployeeStockMember2022-01-012022-03-310000716605pwod:NonEmployeeDirectorCompensationPlanMember2023-01-012023-03-310000716605pwod:NonEmployeeDirectorCompensationPlanMember2023-03-310000716605pwod:NonEmployeeDirectorCompensationPlanMember2022-01-012022-03-310000716605us-gaap:CommitmentsToExtendCreditMember2023-03-310000716605us-gaap:CommitmentsToExtendCreditMember2022-12-310000716605us-gaap:StandbyLettersOfCreditMember2023-03-310000716605us-gaap:StandbyLettersOfCreditMember2022-12-310000716605pwod:CreditExposurefromtheSaleofAssetsWithRecourseMember2023-03-310000716605pwod:CreditExposurefromtheSaleofAssetsWithRecourseMember2022-12-310000716605us-gaap:StandbyLettersOfCreditMember2023-01-012023-03-310000716605us-gaap:FairValueMeasurementsRecurringMemberus-gaap:FairValueInputsLevel1Memberus-gaap:USTreasuryAndGovernmentMember2023-03-310000716605us-gaap:FairValueMeasurementsRecurringMemberus-gaap:FairValueInputsLevel2Memberus-gaap:USTreasuryAndGovernmentMember2023-03-310000716605us-gaap:FairValueMeasurementsRecurringMemberus-gaap:FairValueInputsLevel3Memberus-gaap:USTreasuryAndGovernmentMember2023-03-310000716605us-gaap:FairValueMeasurementsRecurringMemberus-gaap:USTreasuryAndGovernmentMember2023-03-310000716605us-gaap:FairValueMeasurementsRecurringMemberus-gaap:MortgageBackedSecuritiesIssuedByUSGovernmentSponsoredEnterprisesMemberus-gaap:FairValueInputsLevel1Member2023-03-310000716605us-gaap:FairValueMeasurementsRecurringMemberus-gaap:MortgageBackedSecuritiesIssuedByUSGovernmentSponsoredEnterprisesMemberus-gaap:FairValueInputsLevel2Member2023-03-310000716605us-gaap:FairValueMeasurementsRecurringMemberus-gaap:FairValueInputsLevel3Memberus-gaap:MortgageBackedSecuritiesIssuedByUSGovernmentSponsoredEnterprisesMember2023-03-310000716605us-gaap:FairValueMeasurementsRecurringMemberus-gaap:MortgageBackedSecuritiesIssuedByUSGovernmentSponsoredEnterprisesMember2023-03-310000716605us-gaap:FairValueMeasurementsRecurringMemberus-gaap:USStatesAndPoliticalSubdivisionsMemberus-gaap:FairValueInputsLevel1Member2023-03-310000716605us-gaap:FairValueMeasurementsRecurringMemberus-gaap:USStatesAndPoliticalSubdivisionsMemberus-gaap:FairValueInputsLevel2Member2023-03-310000716605us-gaap:FairValueMeasurementsRecurringMemberus-gaap:FairValueInputsLevel3Memberus-gaap:USStatesAndPoliticalSubdivisionsMember2023-03-310000716605us-gaap:FairValueMeasurementsRecurringMemberus-gaap:USStatesAndPoliticalSubdivisionsMember2023-03-310000716605us-gaap:FairValueMeasurementsRecurringMemberus-gaap:OtherDebtSecuritiesMemberus-gaap:FairValueInputsLevel1Member2023-03-310000716605us-gaap:FairValueMeasurementsRecurringMemberus-gaap:FairValueInputsLevel2Memberus-gaap:OtherDebtSecuritiesMember2023-03-310000716605us-gaap:FairValueMeasurementsRecurringMemberus-gaap:FairValueInputsLevel3Memberus-gaap:OtherDebtSecuritiesMember2023-03-310000716605us-gaap:FairValueMeasurementsRecurringMemberus-gaap:OtherDebtSecuritiesMember2023-03-310000716605us-gaap:FairValueMeasurementsRecurringMemberpwod:NonfinancialInstitutionEquitySecuritiesMemberus-gaap:FairValueInputsLevel1Member2023-03-310000716605us-gaap:FairValueMeasurementsRecurringMemberpwod:NonfinancialInstitutionEquitySecuritiesMemberus-gaap:FairValueInputsLevel2Member2023-03-310000716605us-gaap:FairValueMeasurementsRecurringMemberpwod:NonfinancialInstitutionEquitySecuritiesMemberus-gaap:FairValueInputsLevel3Member2023-03-310000716605us-gaap:FairValueMeasurementsRecurringMemberpwod:NonfinancialInstitutionEquitySecuritiesMember2023-03-310000716605us-gaap:FairValueMeasurementsRecurringMemberus-gaap:FairValueInputsLevel1Memberus-gaap:USTreasuryAndGovernmentMember2022-12-310000716605us-gaap:FairValueMeasurementsRecurringMemberus-gaap:FairValueInputsLevel2Memberus-gaap:USTreasuryAndGovernmentMember2022-12-310000716605us-gaap:FairValueMeasurementsRecurringMemberus-gaap:FairValueInputsLevel3Memberus-gaap:USTreasuryAndGovernmentMember2022-12-310000716605us-gaap:FairValueMeasurementsRecurringMemberus-gaap:USTreasuryAndGovernmentMember2022-12-310000716605us-gaap:FairValueMeasurementsRecurringMemberus-gaap:MortgageBackedSecuritiesIssuedByUSGovernmentSponsoredEnterprisesMemberus-gaap:FairValueInputsLevel1Member2022-12-310000716605us-gaap:FairValueMeasurementsRecurringMemberus-gaap:MortgageBackedSecuritiesIssuedByUSGovernmentSponsoredEnterprisesMemberus-gaap:FairValueInputsLevel2Member2022-12-310000716605us-gaap:FairValueMeasurementsRecurringMemberus-gaap:FairValueInputsLevel3Memberus-gaap:MortgageBackedSecuritiesIssuedByUSGovernmentSponsoredEnterprisesMember2022-12-310000716605us-gaap:FairValueMeasurementsRecurringMemberus-gaap:MortgageBackedSecuritiesIssuedByUSGovernmentSponsoredEnterprisesMember2022-12-310000716605us-gaap:FairValueMeasurementsRecurringMemberus-gaap:USStatesAndPoliticalSubdivisionsMemberus-gaap:FairValueInputsLevel1Member2022-12-310000716605us-gaap:FairValueMeasurementsRecurringMemberus-gaap:USStatesAndPoliticalSubdivisionsMemberus-gaap:FairValueInputsLevel2Member2022-12-310000716605us-gaap:FairValueMeasurementsRecurringMemberus-gaap:FairValueInputsLevel3Memberus-gaap:USStatesAndPoliticalSubdivisionsMember2022-12-310000716605us-gaap:FairValueMeasurementsRecurringMemberus-gaap:USStatesAndPoliticalSubdivisionsMember2022-12-310000716605us-gaap:FairValueMeasurementsRecurringMemberus-gaap:OtherDebtSecuritiesMemberus-gaap:FairValueInputsLevel1Member2022-12-310000716605us-gaap:FairValueMeasurementsRecurringMemberus-gaap:FairValueInputsLevel2Memberus-gaap:OtherDebtSecuritiesMember2022-12-310000716605us-gaap:FairValueMeasurementsRecurringMemberus-gaap:FairValueInputsLevel3Memberus-gaap:OtherDebtSecuritiesMember2022-12-310000716605us-gaap:FairValueMeasurementsRecurringMemberus-gaap:OtherDebtSecuritiesMember2022-12-310000716605us-gaap:FairValueMeasurementsRecurringMemberpwod:NonfinancialInstitutionEquitySecuritiesMemberus-gaap:FairValueInputsLevel1Member2022-12-310000716605us-gaap:FairValueMeasurementsRecurringMemberpwod:NonfinancialInstitutionEquitySecuritiesMemberus-gaap:FairValueInputsLevel2Member2022-12-310000716605us-gaap:FairValueMeasurementsRecurringMemberpwod:NonfinancialInstitutionEquitySecuritiesMemberus-gaap:FairValueInputsLevel3Member2022-12-310000716605us-gaap:FairValueMeasurementsRecurringMemberpwod:NonfinancialInstitutionEquitySecuritiesMember2022-12-310000716605pwod:CollateralDependentLoansMemberus-gaap:FairValueInputsLevel1Memberus-gaap:FairValueMeasurementsNonrecurringMember2023-03-310000716605pwod:CollateralDependentLoansMemberus-gaap:FairValueInputsLevel2Memberus-gaap:FairValueMeasurementsNonrecurringMember2023-03-310000716605pwod:CollateralDependentLoansMemberus-gaap:FairValueInputsLevel3Memberus-gaap:FairValueMeasurementsNonrecurringMember2023-03-310000716605pwod:CollateralDependentLoansMemberus-gaap:FairValueMeasurementsNonrecurringMember2023-03-310000716605pwod:OtherRealEstateOwnedMemberus-gaap:FairValueInputsLevel1Memberus-gaap:FairValueMeasurementsNonrecurringMember2023-03-310000716605pwod:OtherRealEstateOwnedMemberus-gaap:FairValueInputsLevel2Memberus-gaap:FairValueMeasurementsNonrecurringMember2023-03-310000716605pwod:OtherRealEstateOwnedMemberus-gaap:FairValueInputsLevel3Memberus-gaap:FairValueMeasurementsNonrecurringMember2023-03-310000716605pwod:OtherRealEstateOwnedMemberus-gaap:FairValueMeasurementsNonrecurringMember2023-03-310000716605pwod:ImpairedLoansMemberus-gaap:FairValueInputsLevel1Memberus-gaap:FairValueMeasurementsNonrecurringMember2022-12-310000716605pwod:ImpairedLoansMemberus-gaap:FairValueInputsLevel2Memberus-gaap:FairValueMeasurementsNonrecurringMember2022-12-310000716605pwod:ImpairedLoansMemberus-gaap:FairValueInputsLevel3Memberus-gaap:FairValueMeasurementsNonrecurringMember2022-12-310000716605pwod:ImpairedLoansMemberus-gaap:FairValueMeasurementsNonrecurringMember2022-12-310000716605pwod:OtherRealEstateOwnedMemberus-gaap:FairValueInputsLevel1Memberus-gaap:FairValueMeasurementsNonrecurringMember2022-12-310000716605pwod:OtherRealEstateOwnedMemberus-gaap:FairValueInputsLevel2Memberus-gaap:FairValueMeasurementsNonrecurringMember2022-12-310000716605pwod:OtherRealEstateOwnedMemberus-gaap:FairValueInputsLevel3Memberus-gaap:FairValueMeasurementsNonrecurringMember2022-12-310000716605pwod:OtherRealEstateOwnedMemberus-gaap:FairValueMeasurementsNonrecurringMember2022-12-310000716605us-gaap:FairValueInputsLevel3Memberus-gaap:MarketApproachValuationTechniqueMemberus-gaap:FairValueMeasurementsNonrecurringMember2023-03-310000716605srt:MinimumMemberus-gaap:FairValueInputsLevel3Memberus-gaap:MarketApproachValuationTechniqueMemberus-gaap:FairValueMeasurementsNonrecurringMemberus-gaap:MeasurementInputAppraisedValueMember2023-03-310000716605us-gaap:FairValueInputsLevel3Membersrt:MaximumMemberus-gaap:MarketApproachValuationTechniqueMemberus-gaap:FairValueMeasurementsNonrecurringMemberus-gaap:MeasurementInputAppraisedValueMember2023-03-310000716605us-gaap:FairValueInputsLevel3Membersrt:WeightedAverageMemberus-gaap:MarketApproachValuationTechniqueMemberus-gaap:FairValueMeasurementsNonrecurringMemberus-gaap:MeasurementInputAppraisedValueMember2023-03-310000716605us-gaap:FairValueInputsLevel3Memberus-gaap:MarketApproachValuationTechniqueMemberus-gaap:FairValueMeasurementsNonrecurringMemberus-gaap:MeasurementInputAppraisedValueMember2023-03-310000716605us-gaap:FairValueInputsLevel3Memberus-gaap:MarketApproachValuationTechniqueMemberus-gaap:FairValueMeasurementsNonrecurringMember2022-12-310000716605srt:MinimumMemberus-gaap:FairValueInputsLevel3Memberus-gaap:MarketApproachValuationTechniqueMemberus-gaap:FairValueMeasurementsNonrecurringMemberus-gaap:MeasurementInputAppraisedValueMember2022-12-310000716605us-gaap:FairValueInputsLevel3Membersrt:MaximumMemberus-gaap:MarketApproachValuationTechniqueMemberus-gaap:FairValueMeasurementsNonrecurringMemberus-gaap:MeasurementInputAppraisedValueMember2022-12-310000716605us-gaap:FairValueInputsLevel3Membersrt:WeightedAverageMemberus-gaap:MarketApproachValuationTechniqueMemberus-gaap:FairValueMeasurementsNonrecurringMemberus-gaap:MeasurementInputAppraisedValueMember2022-12-310000716605us-gaap:FairValueInputsLevel3Memberus-gaap:MarketApproachValuationTechniqueMemberus-gaap:FairValueMeasurementsNonrecurringMemberus-gaap:MeasurementInputAppraisedValueMember2022-12-310000716605us-gaap:CarryingReportedAmountFairValueDisclosureMember2023-03-310000716605us-gaap:EstimateOfFairValueFairValueDisclosureMember2023-03-310000716605us-gaap:FairValueInputsLevel1Member2023-03-310000716605us-gaap:FairValueInputsLevel2Member2023-03-310000716605us-gaap:FairValueInputsLevel3Member2023-03-310000716605us-gaap:CarryingReportedAmountFairValueDisclosureMember2022-12-310000716605us-gaap:EstimateOfFairValueFairValueDisclosureMember2022-12-310000716605us-gaap:FairValueInputsLevel1Member2022-12-310000716605us-gaap:FairValueInputsLevel2Member2022-12-310000716605us-gaap:FairValueInputsLevel3Member2022-12-310000716605us-gaap:EmployeeStockOptionMember2023-01-010000716605us-gaap:EmployeeStockOptionMember2023-01-012023-03-310000716605us-gaap:ShareBasedCompensationAwardTrancheOneMember2023-01-012023-03-310000716605us-gaap:EmployeeStockOptionMemberus-gaap:ShareBasedCompensationAwardTrancheOneMember2023-01-012023-03-310000716605us-gaap:ShareBasedCompensationAwardTrancheTwoMember2023-01-012023-03-310000716605us-gaap:EmployeeStockOptionMemberus-gaap:ShareBasedCompensationAwardTrancheTwoMember2023-01-012023-03-310000716605us-gaap:ShareBasedCompensationAwardTrancheOneMember2023-01-202023-01-200000716605us-gaap:ShareBasedCompensationAwardTrancheOneMember2023-01-200000716605us-gaap:ShareBasedCompensationAwardTrancheTwoMember2023-01-202023-01-200000716605us-gaap:ShareBasedCompensationAwardTrancheTwoMember2023-01-200000716605us-gaap:ShareBasedCompensationAwardTrancheOneMember2022-01-182022-01-180000716605us-gaap:ShareBasedCompensationAwardTrancheOneMember2022-01-180000716605us-gaap:ShareBasedCompensationAwardTrancheTwoMember2022-01-182022-01-180000716605us-gaap:ShareBasedCompensationAwardTrancheTwoMember2022-01-180000716605us-gaap:ShareBasedCompensationAwardTrancheOneMember2021-04-092021-04-090000716605us-gaap:ShareBasedCompensationAwardTrancheOneMember2021-04-090000716605us-gaap:ShareBasedCompensationAwardTrancheTwoMember2021-04-092021-04-090000716605us-gaap:ShareBasedCompensationAwardTrancheTwoMember2021-04-090000716605us-gaap:ShareBasedCompensationAwardTrancheOneMember2020-03-112020-03-110000716605us-gaap:ShareBasedCompensationAwardTrancheOneMember2020-03-110000716605us-gaap:ShareBasedCompensationAwardTrancheTwoMember2020-03-112020-03-110000716605us-gaap:ShareBasedCompensationAwardTrancheTwoMember2020-03-110000716605us-gaap:ShareBasedCompensationAwardTrancheOneMember2019-03-152019-03-150000716605us-gaap:ShareBasedCompensationAwardTrancheOneMember2019-03-150000716605us-gaap:ShareBasedCompensationAwardTrancheTwoMember2019-03-152019-03-150000716605us-gaap:ShareBasedCompensationAwardTrancheTwoMember2019-03-1500007166052015-08-272015-08-2700007166052015-08-270000716605us-gaap:EmployeeStockOptionMember2022-01-012022-03-310000716605us-gaap:EmployeeStockOptionMember2023-03-31
Table of Contents

UNITED STATES
SECURITIES AND EXCHANGE COMMISSION
WASHINGTON, D.C.  20549

FORM 10-Q

Quarterly Report pursuant to Section 13 or 15 (d) of the Securities Exchange Act of 1934

for the Quarterly Period Ended March 31, 2023. 
Transition report pursuant to Section 13 or 15 (d) of the Exchange Act

For the Transition Period from                    to                   .

No. 0-17077
(Commission File Number)

PENNS WOODS BANCORP INC.
(Exact name of Registrant as specified in its charter) 
Pennsylvania300 Market Street, P.O. Box 96723-2226454
(State or other jurisdiction ofWilliamsport(I.R.S. Employer Identification No.)
incorporation or organization)Pennsylvania17703-0967
(Address of principal executive offices)(Zip Code)

(570) 322-1111
Registrant’s telephone number, including area code


Securities registered pursuant to Section 12(b) of the Exchange Act:
Title of each classTrading Symbol(s)Name of each exchange on which registered
Common stock, $5.55 par valuePWODThe Nasdaq Global Select Market

Indicate by check mark whether the registrant (1) has filed all reports required to be filed by Section 13 or 15(d) of the Securities Exchange Act of 1934 during the preceding 12 months (or for such shorter period that the registrant was required to file such reports), and (2) has been subject to such filing requirements for the past 90 days.  Yes  NO 

Indicate by check mark whether the registrant has submitted electronically every Interactive Data File required to be submitted pursuant to Rule 405 of Regulation S-T (§232.405 of this chapter) during the preceding 12 months (or for such shorter period that the registrant was required to submit such files).  Yes  NO 

Indicate by check mark whether the registrant is a large accelerated filer, an accelerated filer, a non-accelerated filer, a smaller reporting company, or an emerging growth company.  See the definition of “large accelerated filer”, “accelerated filer”, “smaller reporting company” and "emerging growth company" in Rule 12b-2 of the Exchange Act.  (Check one):
 
Large accelerated filerAccelerated filer
  Non-accelerated filer   Smaller reporting company
Emerging growth company

If an emerging growth company, indicate by check mark if registrant has elected not to use the extended transition period for complying with any new or revised financial accounting standards provided pursuant to Section 13(a) of the Exchange Act.

Indicate by check mark whether the registrant is a shell company (as defined in Rule 12b-2 of the Exchange Act).  Yes  No 
On May 1, 2023 there were 7,062,943 shares of the Registrant’s common stock outstanding.


Table of Contents

PENNS WOODS BANCORP, INC.

INDEX TO QUARTERLY REPORT ON FORM 10-Q

  Page
  Number
 
   
   
  
  
  
 
  
   
   
   
   
 
   
   
   
   
   
   
   
   
2

Table of Contents

Part I.  FINANCIAL INFORMATION
Item 1.  Financial Statements
PENNS WOODS BANCORP, INC.
CONSOLIDATED BALANCE SHEET
(UNAUDITED)

March 31,December 31,
(In Thousands, Except Share And Per Share Data)20232022
ASSETS: 
Noninterest-bearing balances$31,701 $27,390 
Interest-bearing balances in other financial institutions9,945 12,943 
Total cash and cash equivalents41,646 40,333 
Investment debt securities, available for sale, at fair value197,190 193,673 
Investment equity securities, at fair value1,163 1,142 
Restricted investment in bank stock18,656 19,171 
Loans held for sale1,705 3,298 
Loans1,700,023 1,639,731 
Allowance for credit losses(11,734)(15,637)
Loans, net1,688,289 1,624,094 
Premises and equipment, net31,602 31,844 
Accrued interest receivable9,357 9,481 
Bank-owned life insurance33,359 34,452 
Investment in limited partnerships8,529 8,656 
Goodwill16,450 16,450 
Intangibles292 327 
Operating lease right-of-use asset2,635 2,651 
Deferred tax asset5,741 6,868 
Other assets8,529 7,640 
TOTAL ASSETS$2,065,143 $2,000,080 
LIABILITIES:  
Interest-bearing deposits$1,136,483 $1,037,397 
Noninterest-bearing deposits502,352 519,063 
Total deposits1,638,835 1,556,460 
Short-term borrowings97,102 153,349 
Long-term borrowings132,738 102,783 
Accrued interest payable1,172 603 
Operating lease liability2,690 2,708 
Other liabilities18,636 16,512 
TOTAL LIABILITIES1,891,173 1,832,415 
SHAREHOLDERS’ EQUITY:  
Preferred stock, no par value, 3,000,000 shares authorized; no shares issued
  
Common stock, par value $5.55, 22,500,000 shares authorized; 7,570,086 and 7,566,810 shares issued; 7,059,861 and 7,056,585 outstanding
42,057 42,039 
Additional paid-in capital54,572 54,252 
Retained earnings102,194 98,147 
Accumulated other comprehensive loss:  
Net unrealized loss on available for sale securities(7,928)(9,819)
Defined benefit plan(4,110)(4,139)
Treasury stock at cost, 510,225 and 510,225
(12,815)(12,815)
TOTAL SHAREHOLDERS' EQUITY173,970 167,665 
TOTAL LIABILITIES AND SHAREHOLDERS’ EQUITY$2,065,143 $2,000,080 

See accompanying notes to the unaudited consolidated financial statements.
3

Table of Contents

PENNS WOODS BANCORP, INC.
CONSOLIDATED STATEMENT OF INCOME
(UNAUDITED)
Three Months Ended March 31,
(In Thousands, Except Share And Per Share Data)20232022
INTEREST AND DIVIDEND INCOME:  
Loans, including fees$18,005 $13,038 
Investment securities:  
Taxable1,218 737 
Tax-exempt178 164 
Dividend and other interest income463 336 
TOTAL INTEREST AND DIVIDEND INCOME19,864 14,275 
INTEREST EXPENSE:  
Deposits3,372 788 
Short-term borrowings1,440 1 
Long-term borrowings754 633 
TOTAL INTEREST EXPENSE5,566 1,422 
NET INTEREST INCOME14,298 12,853 
PROVISION FOR CREDIT LOSSES71 150 
NET INTEREST INCOME AFTER PROVISION FOR CREDIT LOSSES14,227 12,703 
NON-INTEREST INCOME:  
Service charges496 495 
Net debt securities losses, available for sale(61)(2)
Net equity securities gains (losses)21 (59)
Bank-owned life insurance556 170 
Gain on sale of loans231 345 
Insurance commissions165 170 
Brokerage commissions165 200 
Loan broker commissions170 541 
Debit card income335 345 
Other179 207 
TOTAL NON-INTEREST INCOME2,257 2,412 
NON-INTEREST EXPENSE:  
Salaries and employee benefits6,176 6,264 
Occupancy866 910 
Furniture and equipment846 892 
Software amortization183 253 
Pennsylvania shares tax248 389 
Professional fees688 538 
Federal Deposit Insurance Corporation deposit insurance245 202 
Marketing155 64 
Intangible amortization35 43 
Other1,456 1,452 
TOTAL NON-INTEREST EXPENSE10,898 11,007 
INCOME BEFORE INCOME TAX PROVISION5,586 4,108 
INCOME TAX PROVISION928 676 
NET INCOME AVAILABLE TO COMMON SHAREHOLDERS'$4,658 $3,432 
EARNINGS PER SHARE - BASIC$0.66 $0.49 
EARNINGS PER SHARE - DILUTED$0.64 $0.49 
WEIGHTED AVERAGE SHARES OUTSTANDING - BASIC 7,058,397 7,072,575 
WEIGHTED AVERAGE SHARES OUTSTANDING - DILUTED7,334,197 7,072,575 
See accompanying notes to the unaudited consolidated financial statements.
4

Table of Contents



PENNS WOODS BANCORP, INC.
CONSOLIDATED STATEMENT OF COMPREHENSIVE INCOME (LOSS)
(UNAUDITED)
 
 Three Months Ended March 31,
(In Thousands)20232022
Net Income$4,658 $3,432 
Other comprehensive income (loss):  
Net unrealized gain (loss) on available for sale securities2,333 (6,897)
Tax effect(490)1,448 
Net realized loss on available for sale securities included in net income61 2 
Tax effect(13) 
   Amortization of unrecognized pension loss37 17 
        Tax effect(8)(4)
Total other comprehensive income (loss)1,920 (5,434)
Comprehensive income (loss)$6,578 $(2,002)
 
See accompanying notes to the unaudited consolidated financial statements.

5

Table of Contents

PENNS WOODS BANCORP, INC.
CONSOLIDATED STATEMENT OF CHANGES IN SHAREHOLDERS’ EQUITY
(UNAUDITED)



 Three months ended:
COMMON STOCKADDITIONAL
PAID-IN CAPITAL
RETAINED EARNINGSACCUMULATED OTHER
COMPREHENSIVE LOSS
TREASURY STOCKTOTAL
SHAREHOLDERS’ EQUITY
(In Thousands, Except Share And Per Share Data)SHARESAMOUNT
Balance, December 31, 20227,566,810 $42,039 $54,252 $98,147 $(13,958)$(12,815)$167,665 
Cumulative effect of adoption of ASU 2016-131,647 1,647 
Net income4,658 4,658 
Other comprehensive income1,920 1,920 
Stock-based compensation 253 253 
Dividends declared ($0.32 per share)
(2,258)(2,258)
Common shares issued for employee stock purchase plan854 5 16 21 
Director Compensation Plan2,422 13 51 64 
Balance, March 31, 20237,570,086 $42,057 $54,572 $102,194 $(12,038)$(12,815)$173,970 


COMMON STOCKADDITIONAL
PAID-IN CAPITAL
RETAINED EARNINGSACCUMULATED OTHER
COMPREHENSIVE LOSS
TREASURY STOCKTOTAL
SHAREHOLDERS’ EQUITY
(In Thousands, Except Share And Per Share Data)SHARESAMOUNT
Balance, December 31, 20217,550,272 $41,945 $53,795 $89,761 $(1,112)$(12,115)$172,274 
Net income3,432 3,432 
Other comprehensive loss(5,434)(5,434)
Stock-based compensation315 315 
Dividends declared ($0.32 per share)
(2,265)(2,265)
Common shares issued for employee stock purchase plan880 5 16 21 
Director Compensation Plan3,415 19 65 84 
Balance, March 31, 20227,554,567 $41,969 $54,191 $90,928 $(6,546)$(12,115)$168,427 


See accompanying notes to the unaudited consolidated financial statements.


6

Table of Contents

PENNS WOODS BANCORP, INC.
CONSOLIDATED STATEMENT OF CASH FLOWS
(UNAUDITED) 
Three Months Ended March 31,
(In Thousands)20232022
OPERATING ACTIVITIES:  
Net Income$4,658 $3,432 
Adjustments to reconcile net income to net cash provided by operating activities:  
Depreciation and amortization807 948 
Write down of leasehold improvements 254 
Amortization of intangible assets35 43 
Provision for credit losses71 150 
Stock based compensation253 315 
Accretion and amortization of investment security discounts and premiums162 343 
Net securities losses, available for sale61 2 
Originations of loans held for sale(6,187)(9,140)
Proceeds of loans held for sale8,011 11,850 
Gain on sale of loans(231)(345)
Net equity securities (gains) losses(21)59 
Security trades payable 1,290 
Earnings on bank-owned life insurance(556)(170)
Decrease (increase) in deferred tax asset624 (175)
Other, net3,419 (1,766)
Net cash provided by operating activities11,106 7,090 
INVESTING ACTIVITIES:  
Proceeds from sales of available for sale securities12,913 90 
Proceeds from calls and maturities of available for sale securities2,120 920 
Purchases of available for sale securities(16,379)(16,251)
Net increase in loans(64,266)(14,175)
Acquisition of premises and equipment(255)(92)
Purchase of bank-owned life insurance(6)(18)
Proceeds from bank-owned life insurance death benefit1,655 2 
Investment in limited partnership (123)
Proceeds from redemption of regulatory stock6,749 1,674 
Purchases of regulatory stock(6,234)(938)
Net cash used for investing activities(63,703)(28,911)
FINANCING ACTIVITIES:  
Net increase (decrease) in interest-bearing deposits99,086 (28,690)
Net (decrease) increase in noninterest-bearing deposits(16,711)19,770 
Proceeds from long-term borrowings35,000  
Repayment of long-term borrowings(5,000)(13,000)
Net (decrease) increase in short-term borrowings(56,247)887 
Finance lease principal payments(45)(45)
Dividends paid(2,258)(2,265)
Issuance of common stock85 105 
Net cash provided by (used for) financing activities53,910 (23,238)
NET INCREASE (DECREASE) IN CASH AND CASH EQUIVALENTS1,313 (45,059)
CASH AND CASH EQUIVALENTS, BEGINNING40,333 263,862 
CASH AND CASH EQUIVALENTS, ENDING$41,646 $218,803 
SUPPLEMENTAL DISCLOSURES OF CASH FLOW INFORMATION:  
Interest paid$4,997 $1,602 
Income taxes paid7 10 
Non-cash investing and financing activities:
Transfer of loans to foreclosed real estate 53 

See accompanying notes to the unaudited consolidated financial statements.
7

Table of Contents

PENNS WOODS BANCORP, INC. AND SUBSIDIARIES
NOTES TO CONSOLIDATED FINANCIAL STATEMENTS
(Unaudited)
 

Note 1.  Basis of Presentation
 
The consolidated financial statements include the accounts of Penns Woods Bancorp, Inc. (the “Company”) and its wholly-owned subsidiaries: Woods Investment Company, Inc., Woods Real Estate Development Company, Inc., United Insurance Solutions, LLC., Luzerne Bank, and Jersey Shore State Bank (Jersey Shore State Bank and Luzerne Bank are referred to together as the “Banks”) and Jersey Shore State Bank’s wholly-owned subsidiary, The M Group, Inc. D/B/A The Comprehensive Financial Group (“The M Group”).  All significant inter-company balances and transactions have been eliminated in the consolidation.

The interim financial statements are unaudited, but in the opinion of management reflect all adjustments necessary for the fair presentation of results for such periods.  The results of operations for any interim period are not necessarily indicative of results for the full year.  These financial statements should be read in conjunction with the financial statements and notes thereto contained in the Company’s Annual Report on Form 10-K for the year ended December 31, 2022.

In reference to the attached financial statements, all adjustments are of a normal recurring nature pursuant to Rule 10-01(b) (8) of Regulation S-X.

CECL Adoption and Updated Significant Accounting Policy
On January 1, 2023, the Company adopted ASU 2016-13, Financial Instruments - Credit Losses (ASC Topic 326): Measurement of Credit Losses on Financial Instruments, which replaces the incurred loss methodology, and is referred to as CECL. The measurement of expected credit losses under CECL is applicable to financial assets measured at amortized cost, including loans and HTM debt securities. It also applies to off-balance sheet (“OBS”) credit exposures (loan commitments, standby letters of credit, financial guarantees, and other similar instruments.

The Company adopted CECL using the modified retrospective method for all financial assets measured at amortized cost, net of investments in leases and OBS credit exposures. Results for reporting periods beginning after January 1, 2023 are presented under CECL, while prior period results are reported in accordance with the previously applicable incurred loss methodology. The Company recorded an overall decrease of $3,789,000 to the Allowance for Credit Losses (“ACL”) on January 1, 2023 as a result of the adoption of CECL with an associated increase to retained earnings of $2,993,000 and decrease to deferred tax assets of $796,000. The Company also recorded a liability of $1,703,000 for OBS credit exposures that resulted in a decrease to retained earnings of $1,346,000 and an increase to deferred tax assets of $357,000.

Allowance for Credit Losses: The discussion that follows describes the methodology for determining the ACL under the CECL model that was adopted effective January 1, 2023. The allowance methodology for prior periods is disclosed in the Company’s 2022 Annual Report on Form 10-K.

The Company has elected to exclude accrued interest receivable from the measurement of its ACL. When a loan is placed on non-accrual status, any outstanding accrued interest is reversed against interest income.

Loans: The ACL for loans is an estimate of the expected losses to be realized over the life of the loans in the portfolio. The ACL is determined for two distinct categories of loans: 1) loans evaluated collectively for expected credit losses and 2) loans evaluated individually for expected credit losses. The ACL also includes certain qualitative adjustments to the CECL model.

Loans Evaluated Collectively: Management believes that internal credit ratings are the most relevant credit quality indicator for these types of loans, however; the Company does not assign internal credit ratings to smaller balance, homogeneous loans, such as home equity, residential mortgage, and consumer automobile loans. For these loans, the most relevant credit quality indicator is delinquency status and management evaluates credit quality based on the aging status of the loan. In order to determine the ACL:
Loans aggregated into pools based on similar risk characteristics.
The probability of default "PD" and loss given default rate "LGD" CECL model components are determined based on loss estimates driven by historical experience at the input level.
The PD model component uses "through the economic cycle transition" matrices based on the Company's historical loan and transaction data across each pool of loans.
8

Table of Contents

The LGD model component calculates a lifetime LGD estimate across each pool of loans utilizing a nonparametric loss curve modeling approach.
Reasonable and supportable forecasts are incorporated into the PD model component.
Cash flow assumptions are established for each loan using maturity date, amortization schedule and interest rate.
A constant prepayment rate is calculated for each loan pool in the CECL model.
Loans Evaluated Individually: Loans evaluated individually for expected credit losses include loans determined to be collateral-dependant.

Loans evaluated individually may have specific allocations assigned. For loans measured using the fair value of collateral, if the analysis determines that sufficient collateral value would be available for repayment of the debt, then no allocations would be assigned to those loans. Collateral could be in the form of real estate or business assets, such as accounts receivable or inventory, in the case of commercial and industrial loans.

For loans secured by real estate, estimated fair values are determined through appraisals performed by third-party appraisers or third party evaluations for commercial real estate loans and our internal appraisal department for 1-4 family real estate secured loans, discounted to arrive at expected net sale proceeds. For collateral dependent loans, estimated real estate fair values are also net of estimated selling costs. When a real estate secured loan is impaired, a decision is made regarding whether an updated appraisal of the real estate is necessary. This decision is based on various considerations, including: the age of the most recent appraisal; the loan-to-value ratio based on the original appraisal; the condition of the property; the Company’s experience and knowledge of the real estate market; the purpose of the loan; market factors; payment status; the strength of any guarantors; and the existence and age of other indications of value such as broker price opinions, among others. The Company generally obtains updated evaluations for collateral dependent loans secured predominantly by real estate every 12 months.

When updated evaluations are not obtained for loans secured by real estate, fair values are estimated based on the original appraisal values, as long as the original appraisal indicated an acceptable loan-to-value position and there has not been a significant deterioration in the collateral value since the original appraisal was performed.

Management regularly reviews loans in the portfolio to assess credit quality indicators and to determine appropriate loan classification. For commercial loans, commercial mortgages and construction loans to commercial borrowers, an internal credit rating process is used. The Company believes that internal credit ratings are the most relevant credit quality indicator for these types of loans. The migration of loans through the various internal credit rating categories is a significant component of the ACL methodology for these loans, which bases the PD on this migration. Assigning credit ratings involves judgment. Credit ratings may be changed based on ongoing monitoring procedures, or if specific loan review assessments identify a deterioration or an improvement in the loan.

The following is a summary of the Company's internal credit rating categories:
Pass: These loans do not currently pose undue credit risk and can range from the highest to average quality, depending on the degree of potential risk.
Special Mention: These loans have a heightened credit risk, but not to the point of justifying a classification of Substandard. Loans in this category are currently acceptable, but are nevertheless potentially weak.
Substandard or Lower: There exists a well-defined weakness or weaknesses that jeopardize the normal repayment of the debt.

The allocation of the ACL is reviewed to evaluate its appropriateness in relation to the overall risk profile of the loan portfolio. The Company considers risk factors such as: local and national economic conditions; trends in delinquencies and non-accrual loans; the diversity of borrower industry types; and the composition of the portfolio by loan type.

Qualitative and Other Adjustments to ACL: In addition to the quantitative credit loss estimates for loans evaluated collectively, qualitative factors that may not be fully captured in the quantitative results are also evaluated. These include changes in lending policy, volume of the portfolio, economy conditions, credit concentrations, level of problem loans, loan review, collateral value, and experience of credit staff. Qualitative adjustments are judgmental and are based on Management’s knowledge of the portfolio and the markets in which the Company operates. Qualitative adjustments are evaluated and approved on a quarterly basis.

9

Table of Contents

OBS Credit Exposures: The ACL for OBS credit exposures is recorded in other liabilities on the consolidated balance sheet. This ACL represents management’s estimate of expected losses in its unfunded loan commitments and other OBS credit exposures, such as letters of credit and credit recourse on sold residential mortgage loans. The ACL specific to unfunded commitments is determined by estimating future draws and applying the expected loss rates on those draws. Future draws are based on historical averages of utilization rates (i.e., the likelihood of draws taken). The ACL for OBS credit exposures is increased or decreased by charges or reductions to expense, through the provision for credit losses.

The impact from the adoption of CECL is shown below:
January 1, 2023
(In Thousands)Pre-adoptionAdoption impactAs Reported
Assets
ACL on loans
Commercial, financial, and agricultural$1,914 $2,656 $4,570 
Real estate mortgage:
Residential5,061 (3,893)1,168 
Commercial6,110 (2,660)3,450 
Construction188 (96)92 
Consumer automobile loans1,617 240 1,857 
Other consumer installment loans109 602 711 
Unallocated638 (638) 
Liabilities
ACL for unfunded commitments143 1,703 1,846 
$15,780 $(2,086)$13,694 

Note 2.  Accumulated Other Comprehensive Loss

The changes in accumulated other comprehensive loss by component shown net of tax and parenthesis indicating debits, as of March 31, 2023 and 2022 were as follows:
 Three Months Ended March 31, 2023Three Months Ended March 31, 2022
(In Thousands)Net Unrealized Gain (Loss) on Available for Sale SecuritiesDefined
Benefit 
Plan
TotalNet Unrealized Gain (Loss) on Available
for Sale Securities
Defined
Benefit 
Plan
Total
Beginning balance$(9,819)$(4,139)$(13,958)$2,373 $(3,485)$(1,112)
Other comprehensive income (loss) before reclassifications1,843  1,843 (5,449) (5,449)
Amounts reclassified from accumulated other comprehensive gain48 29 77 2 13 15 
Net current-period other comprehensive income (loss)1,891 29 1,920 (5,447)13 (5,434)
Ending balance$(7,928)$(4,110)$(12,038)$(3,074)$(3,472)$(6,546)











10

Table of Contents

The reclassifications out of accumulated other comprehensive loss shown, net of tax and parenthesis indicating debits to net income, as of March 31, 2023 and 2022 were as follows:
Details about Accumulated Other Comprehensive Loss ComponentsAmount Reclassified from Accumulated Other Comprehensive LossAffected Line Item
 in the Consolidated 
Statement of Income
Three months ended March 31, 2023Three months ended March 31, 2022
Net unrealized losses on available for sale securities$(61)$(2)Net debt securities losses, available for sale
Income tax effect13  Income tax provision
Total reclassifications for the period$(48)$(2)
Net unrecognized pension costs$(37)$(17)Other non-interest expense
Income tax effect8 4 Income tax provision
Total reclassifications for the period$(29)$(13)
Note 3.  Recent Accounting Pronouncements

In June 2016, the Financial Accounting Standards Board (“FASB”) issued Accounting Standards Update (“ASU”) 2016-13, Financial Instruments – Credit Losses: Measurement of Credit Losses on Financial Instruments, which changes the impairment model for most financial assets. This standard, along with several other subsequent codification updates, replaces the incurred loss impairment methodology in current GAAP with a methodology that reflects expected credit losses that are expected to occur over the remaining life of a financial asset and requires consideration of a broader range of reasonable and supportable information to inform credit loss estimates. The amendments in this update require a financial asset (or a group of financial assets) measured at amortized cost basis to be presented at the net amount expected to be collected. The new current expected credit losses model (“CECL”) will apply to the allowance for loan losses, available-for-sale and held-to-maturity debt securities, purchased financial assets with credit deterioration and certain off-balance sheet credit exposures.

Management has completed its implementation plan, segmentation and testing, and model validation. The implementation plan included drafting of additional controls and policies to govern data uploads to its third-party vendor, balancing and reconciling, testing and auditing of inputs, and review and decision-making surrounding segmentation, methodologies, qualitative factor adjustments, and reasonable and supportable forecasts and reversion techniques. Parallel runs were processed during 2022 and the results were consistent with management's expectations. The implementation plan is currently going through the Company's control structure and internal control testing is being performed.

As a result of adopting this standard, the Company recorded a decrease in its allowance effective January 1, 2023, of $2,086,000. As a result, the Company recorded a decrease in its loan allowance as of January 1, 2023, of $3,789,000; as well as an increase in its allowance for off-balance sheet credit exposures of $1,703,000. These estimates are subject to further refinements based on ongoing evaluations of our model, methodologies, and judgments, as well as prevailing economic conditions and forecasts as of the adoption date. The adoption of ASU 2016-13 is not expected to have a significant impact on our regulatory capital ratios.

At adoption, the Company did not have any securities classified as HTM debt securities. No allowance was recorded related to AFS debt securities at the date of adoption, January 1, 2023.

In January 2017, the FASB issued ASU 2017-04, Simplifying the Test for Goodwill Impairment. To simplify the subsequent measurement of goodwill, the FASB eliminated Step 2 from the goodwill impairment test. In computing the implied fair value of goodwill under Step 2, an entity had to perform procedures to determine the fair value at the impairment testing date of its assets and liabilities (including unrecognized assets and liabilities) following the procedure that would be required in determining the fair value of assets acquired and liabilities assumed in a business combination. Instead, under the amendments in this Update, an entity should perform its annual, or interim, goodwill impairment test by comparing the fair value of a reporting unit with its carrying amount. An entity should recognize an impairment charge for the amount by which the carrying amount exceeds the reporting unit’s fair value; however, the loss recognized should not exceed the total amount of goodwill allocated to that reporting unit. The Update is effective for smaller reporting companies and all other entities for fiscal years beginning after December 15, 2022, and interim periods within those fiscal years. This Update is not expected to have a significant impact on the Company’s financial statements.

In January 2020, the FASB issued ASU 2020-04, Reference Rate Reform (Topic 848): Facilitation of the Effects of Reference Rate Reform on Financial Reporting, March 2020, to provide temporary optional expedients and exceptions to the U.S. GAAP guidance on contract modifications and hedge accounting to ease the financial reporting burdens of the expected market transition from LIBOR and other interbank offered rates to alternative reference rates, such as the Secured Overnight Financing Rate. Entities can elect not to apply certain modification accounting requirements to contracts affected by what the guidance
11

Table of Contents

calls “reference rate reform” if certain criteria are met. An entity that makes this election would not have to remeasure the contracts at the modification date or reassess a previous accounting determination. Also, entities can elect various optional expedients that would allow them to continue applying hedge accounting for hedging relationships affected by reference rate reform if certain criteria are met, and can make a one-time election to sell and/or reclassify held-to-maturity debt securities that reference an interest rate affected by reference rate reform. The amendments in this ASU are effective for all entities upon issuance through December 31, 2022. It is too early to predict whether a new rate index replacement and the adoption of the ASU will have a material impact on the Company’s financial statements.

In August 2020, the FASB issued ASU 2020-06, Debt – Debt with Conversion and Other Options (Subtopic 470-20) and Derivatives and Hedging – Contracts in Entity’s Own Equity (Subtopic 815-40), which simplifies the accounting for certain financial instruments with characteristics of liabilities and equity, including convertible instruments and contracts on an entity’s own equity. This ASU removes from U.S. GAAP the separation models for (1) convertible debt with a cash conversion feature and (2) convertible instruments with a beneficial conversion feature. As a result, entities will not separately present in equity an embedded conversion feature in such debt. Instead, they will account for a convertible debt instrument wholly as debt, and for convertible preferred stock wholly as preferred stock (i.e., as a single unit of account), unless (1) a convertible instrument contains features that require bifurcation as a derivative under ASC 815 or (2) a convertible debt instrument was issued at a substantial premium. This ASU requires entities to provide expanded disclosures about the terms and features of convertible instruments, how the instruments have been reported in the entity’s financial statements, and information about events, conditions, and circumstances that can affect how to assess the amount or timing of an entity’s future cash flows related to those instruments. The amendments in this ASU are effective for public business entities that are not smaller reporting companies, for fiscal years beginning after December 15, 2021, and interim periods within those fiscal years. For all other entities, this ASU is effective for fiscal years beginning after December 15, 2023, and interim periods within those fiscal years. The guidance may be early adopted for fiscal years beginning after December 15, 2020, and interim periods within those fiscal years. This Update is not expected to have a significant impact on the Company’s financial statements.

In March 2022, the FASB issued ASU 2022-02, Financial Instruments - Credit Losses (ASC 326): Troubled Debt Restructurings (TDRs) and Vintage Disclosures. The guidance amends ASC 326 to eliminate the accounting guidance for TDRs by creditors, while enhancing disclosure requirements for certain loan refinancing and restructuring activities by creditors when a borrower is experiencing financial difficulty. Specifically, rather than applying TDR recognition and measurement guidance, creditors will determine whether a modification results in a new loan or continuation of existing loan. These amendments are intended to enhance existing disclosure requirements and introduce new requirements related to certain modifications of receivables made to borrowers experiencing financial difficulty. Additionally, the amendments to ASC 326 require that an entity disclose current-period gross writeoffs by year of origination within the vintage disclosures, which requires that an entity disclose the amortized cost basis of financing receivables by credit quality indicator and class of financing receivable by year of origination. The guidance is only for entities that have adopted the amendments in Update 2016-13 for fiscal years, and interim periods within those fiscal years, beginning after December 15, 2022. This Update did not have a significant impact on the Company’s financial statements.

In June 2022, the FASB issued ASU 2022-03, Fair Value Measurement (Topic 820) – Fair Value Measurement of Equity Securities Subject to Contractual Sale Restrictions. This amendment clarifies the guidance in Topic 820, Fair Value Measurement, when measuring the fair value of an equity security subject to contractual restrictions that prohibit the sale of an equity security. It also introduces new disclosure requirements for equity securities subject to contractual sale restrictions that are measured at fair value in accordance with Topic 820. The amendments are effective for fiscal years beginning after December 15, 2023, and interim periods within those fiscal years. Early adoption is permitted. The amendments will be applied prospectively, with any adjustments from the adoption of the amendments recognized in earnings and disclosed on the date of adoption. This Update is not expected to have a significant impact on the Company’s financial statements.

In March 2023, the FASB issued ASU 2023-02, Investments – Equity Method and Joint Ventures (Topic 323): Accounting for Investments in Tax Credit Structures Using the Proportional Amortization Method. ASU 2023-02 permits reporting entities to elect to account for their tax equity investments, regardless of the tax credit program from which the income tax credits are received, using the proportional amortization method if certain conditions are met. ASU 2023-02 is effective for fiscal years, and interim periods within those fiscal years, beginning after December 15, 2023. This Update is not expected to have a significant impact on the Company’s financial statements.








12

Table of Contents

Note 4. Per Share Data

There are no convertible securities which would affect the denominator in calculating basic and dilutive earnings per share. There were a total of 1,003,000 stock options, with an average exercise price of $25.56, outstanding on March 31, 2023. A portion of these options were included, on a weighted average basis, in the computation of diluted earnings per share for the period due to the average market price of common shares of $25.96 for the quarter being greater than the strike price. There were a total of 1,268,525 stock options, with an average exercise price of $26.65 that were excluded, on a weighted average basis, in the computation of diluted earnings per share for the period due to the average market price of common shares of $24.24 being less than the strike price for the period ending March 31, 2022.
 Three Months Ended March 31,
 20232022
Weighted average common shares issued7,568,622 7,552,800 
Weighted average treasury stock shares(510,225)(480,225)
Weighted average common shares outstanding - basic 7,058,397 7,072,575 
Dilutive effect of outstanding stock options275,800  
Weighted average common shares outstanding - diluted7,334,197 7,072,575 
 

Note 5. Investment Securities
 
The amortized cost, gross unrealized gains and losses, and fair values of our investment securities portfolio at March 31, 2023 and December 31, 2022 are as follows:
 March 31, 2023
  GrossGross 
 AmortizedUnrealizedUnrealizedFair
(In Thousands)CostGainsLossesValue
Available for sale (AFS):    
U.S. Government and agency securities$3,002 $ $(82)$2,920 
Mortgage-backed securities8,159 15 (222)7,952 
State and political securities145,998 266 (6,572)139,692 
Other debt securities50,066 4 (3,444)46,626 
Total debt securities$207,225 $285 $(10,320)$197,190 
Investment equity securities:
Equity securities$1,350 $ $(187)$1,163 
 December 31, 2022
  GrossGross 
 AmortizedUnrealizedUnrealizedFair
(In Thousands)CostGainsLossesValue
Available for sale (AFS):    
U.S. Government and agency securities$3,002 $ $(106)$2,896 
Mortgage-backed securities1,496  (214)1,282 
State and political securities151,426 157 (8,774)142,809 
Other debt securities50,178 58 (3,550)46,686 
Total debt securities$206,102 $215 $(12,644)$193,673 
Investment equity securities:
Equity securities$1,350 $ $(208)$1,142 

13

Table of Contents

The following tables show the Company’s gross unrealized losses and fair value, aggregated by investment category and length of time, that the individual debt securities have been in a continuous unrealized loss position, at March 31, 2023 and December 31, 2022.
 March 31, 2023
 Less than Twelve MonthsTwelve Months or GreaterTotal
  Gross Gross Gross
 FairUnrealizedFairUnrealizedFairUnrealized
(In Thousands)ValueLossesValueLossesValueLosses
Available for sale (AFS):
U.S. Government and agency securities$2,446 $(56)$474 $(26)$2,920 $(82)
Mortgage-backed securities5,139 (36)1,297 (186)6,436 (222)
State and political securities53,390 (1,264)72,923 (5,308)126,313 (6,572)
Other debt securities5,332 (89)40,190 (3,355)45,522 (3,444)
Total debt securities$66,307 $(1,445)$114,884 $(8,875)$181,191 $(10,320)
 December 31, 2022
 Less than Twelve MonthsTwelve Months or GreaterTotal
  Gross Gross Gross
 FairUnrealizedFairUnrealizedFairUnrealized
(In Thousands)ValueLossesValueLossesValueLosses
Available for sale (AFS):
U.S. Government and agency securities$2,896 $(106)$ $ $2,896 $(106)
Mortgage-backed securities  1,282 (214)1,282 (214)
State and political securities95,444 (4,797)36,283 (3,977)131,727 (8,774)
Other debt securities16,896 (664)25,144 (2,886)42,040 (3,550)
Total debt securities$115,236 $(5,567)$62,709 $(7,077)$177,945 $(12,644)
 
At March 31, 2023, there were a total of 70 securities in a continuous unrealized loss position for less than twelve months and 165 individual securities that were in a continuous unrealized loss position for twelve months or greater. No credit losses occurred for the period ending March 31, 2023.

The Company reviews its position quarterly and has determined that, at March 31, 2023, the declines outlined in the above table represent temporary non-credit declines and the Company does not intend to sell, and does not believe it will be required to sell, these securities before recovery of their cost basis, which may be at maturity.  The Company has concluded that the unrealized losses disclosed above are not credit-related but are the result of interest rate changes, sector credit ratings changes, or company-specific ratings changes that are not expected to result in the non-collection of principal and interest during the period.

The amortized cost and fair value of debt securities at March 31, 2023, by contractual maturity, are shown below. Expected maturities may differ from contractual maturities since borrowers may have the right to call or prepay obligations with or without call or prepayment penalties.
(In Thousands)Amortized CostFair Value
Due in one year or less$30,883 $30,393 
Due after one year to five years102,687 97,428 
Due after five years to ten years65,362 61,218 
Due after ten years8,293 8,151 
Total$207,225 $197,190 

Total gross proceeds from sales of debt securities available for sale for the three months ended March 31, 2023 was $12,913,000, compared to $90,000 for the corresponding 2022 period.

14

Table of Contents

The following table represents gross realized gains and losses from the sales of debt securities available for sale:
 Three Months Ended March 31,
(In Thousands)20232022
Available for sale (AFS):
Gross realized gains:  
State and political securities$54 $1 
Gross realized losses:  
State and political securities$(115)$(3)

Investment securities with a carrying value of approximately $149,415,000 and $154,946,000 at March 31, 2023 and December 31, 2022, respectively, were pledged to secure certain deposits, repurchase agreements, and for other purposes as required by law.

At March 31, 2023 and December 31, 2022, we had $1,163,000 and $1,142,000, respectively, in equity securities recorded at fair value. The following is a summary of unrealized and realized gains and losses recognized in net income on equity securities during the three months ended March 31, 2023 and 2022:
Three Months Ended March 31,
(In Thousands)20232022
Net gains (losses) recognized in equity securities during the period$21 $(59)
Less: Net gains realized on the sale of equity securities during the period  
Unrealized gains (losses) recognized in equity securities held at reporting date$21 $(59)


Note 6. Loans

Management segments the Banks' loan portfolio to a level that enables risk and performance monitoring according to similar risk characteristics.  Loans are segmented based on the underlying collateral characteristics.  Categories include commercial, financial, and agricultural, real estate, and installment loans.  Real estate loans are further segmented into three categories: residential, commercial, and construction, while installment loans are classified as either consumer automobile loans or other installment loans.

The following table presents the related aging categories of loans, by class, as of March 31, 2023 and December 31, 2022:
 March 31, 2023
 Past Due  Past Due 90
 30 To 89 Days Or More
(In Thousands)DaysCurrentTotal& Still Accruing
Commercial, financial, and agricultural$261 $200,171 $200,432 $ 
Real estate mortgage:   
Residential5,068 717,710 723,932 1,154 
Commercial914 507,190 509,466 1,362 
Construction472 46,617 47,121 32 
Consumer automobile loans1,121 206,482 207,747 144 
Other consumer installment loans157 10,239 10,400 4 
 $7,993 $1,688,409 1,699,098 $2,696 
Net deferred loan fees and discounts 925 
Allowance for credit losses (11,734)
Loans, net $1,688,289 
15

Table of Contents

 December 31, 2022
 Past DuePast Due 90  
 30 To 89Days Or MoreNon- 
(In Thousands)Days& Still AccruingAccrualCurrentTotal
Commercial, financial, and agricultural$94 $ $432 $189,935 $190,461 
Real estate mortgage:     
Residential5,472 1,120 524 701,093 708,209 
Commercial2,564 60 2,659 495,349 500,632 
Construction511   42,797 43,308 
Consumer automobile loans2,089 80  183,943 186,112 
Other consumer installment loans152 15  10,194 10,361 
 $10,882 $1,275 $3,615 $1,623,311 1,639,083 
Net deferred loan fees and discounts   648 
Allowance for loan losses   (15,637)
Loans, net   $1,624,094 

The Allowance for Credit Losses ("ACL") related to loans consists of loans evaluated collectively and individually for expected credit losses. The ACL related to loans represents an estimate of expected credit losses over the expected life of the loans as of the balance sheet date and is recorded as a reduction to net loans. The ACL for off balance sheet credit exposure includes estimated losses on unfunded loan commitments, letters of credit and other off balance sheet credit exposures and is recorded in other liabilities. The total ACL is increased by charges to expense, through the provision for credit losses, and decreased by charge-offs, net of recoveries.

The following table presents the components of the ACL as of March 31, 2023:
March 31,
(In Thousands)2023
ACL - loans$11,734 
ACL - off balance sheet credit exposure1,920 
Total ACL$13,654 
 
Non-accrual Loans
 March 31, 2023December 31, 2022
 Non-accrual Loans
(In Thousands)With a Related ACLWithout a Related ACLTotalTotal Non-accrual loans
Commercial, financial, and agricultural$456 $ $456 $432 
Real estate mortgage:
Residential510  510 524 
Commercial248 2,337 2,585 2,659 
Construction    
Consumer automobile    
Other consumer installment loans    
$1,214 $2,337 $3,551 $3,615 

Total interest income recorded on non-accrual loans at March 31, 2023 totaled $32,000.



16

Table of Contents


The following table presents the recorded investment, unpaid principal balance, and related allowance of impaired loans by segment as of December 31, 2022:
 December 31, 2022
 RecordedUnpaid PrincipalRelated
(In Thousands)InvestmentBalanceAllowance
With no related allowance recorded:  
Commercial, financial, and agricultural$295 $295 $— 
Real estate mortgage:   
Residential3,388 3,388 — 
Commercial2,588 2,588 — 
Construction  — 
Consumer automobile loans  — 
Installment loans to individuals  — 
 6,271 6,271 — 
With an allowance recorded:   
Commercial, financial, and agricultural403 403 4 
Real estate mortgage:   
Residential933 933 111 
Commercial3,607 3,607 827 
Construction   
Consumer automobile loans   
Installment loans to individuals19  19 
 4,962 4,943 961 
Total:   
Commercial, financial, and agricultural698 698 4 
Real estate mortgage:   
Residential4,321 4,321 111 
Commercial6,195 6,195 827 
Construction   
Consumer automobile loans   
Installment loans to individuals19  19 
 $11,233 $11,214 $961 

The following table presents outstanding loan balances of collateral-dependent loans by class as of March 31, 2023:
(In Thousands)Real estateOther*Unsecured**
Real estate mortgage:
Residential$525 $ $ 
Commercial154 1,225 332 
Total$679 $1,225 $332 
* 90% of loan balances guaranteed by USDA remaining 10% is unsecured
** Loan considered unsecured due to lien position on property









17

Table of Contents

The following table presents the average recorded investment in impaired loans and related interest income recognized for the three months ended March 31, 2022:
 Three Months Ended March 31,
 2022
(In Thousands)Average
Investment in
Impaired Loans
Interest Income
Recognized on an
Accrual Basis on
Impaired Loans
Interest Income
Recognized on a
Cash Basis on
Impaired Loans
Commercial, financial, and agricultural$853 $5 $ 
Real estate mortgage:   
Residential4,944 46  
Commercial7,757 52  
Construction85 1  
Consumer automobile   
Other consumer installment loans20   
$13,659 $104 $ 

Troubled Debt Restructurings

The loan portfolio also includes certain loans that have been modified in a Troubled Debt Restructuring (“TDR”), where economic concessions have been granted to borrowers who have experienced or are expected to experience financial difficulties.  These concessions typically result from loss mitigation activities and could include reductions in the interest rate, payment extensions, forgiveness of principal, forbearance, or other actions.  Certain TDRs are classified as nonperforming at the time of restructure and may only be returned to performing status after considering the borrower’s sustained repayment performance for a reasonable period, generally six months.

There were no loan modifications considered to be TDRs completed during the three months ended March 31, 2023 and 2022.
There were no loan modification considered to be a TDR made during the twelve months prior to March 31, 2023 that defaulted during the three months ended March 31, 2023. There was one loan modifications considered to be a TDR made during the twelve months previous to March 31, 2022 that defaulted during the three months ended March 31, 2022. The defaulted loan type and recorded investments at March 31, 2022 were as follows: one residential real estate loan with a recorded investment of $400,000.

Troubled debt restructurings amounted to $7,328,000 and $7,468,000 as of March 31, 2023 and December 31, 2022, respectively.

The amount of foreclosed residential real estate held at March 31, 2023 and December 31, 2022, totaled $846,000 and $950,000, respectively. Consumer mortgage loans secured by residential real estate properties for which formal foreclosure proceedings are in process at March 31, 2023 and December 31, 2022, totaled $722,000 and $890,000, respectively.

Internal Credit Ratings

Management uses a ten point internal credit rating system to monitor the credit quality of the overall loan portfolio. The first six categories are considered not criticized, and are aggregated as “Pass” rated. The criticized rating categories utilized by management generally follow bank regulatory definitions. The special mention category includes assets that are currently protected but are potentially weak, resulting in an undue and unwarranted credit risk, but not to the point of justifying a substandard classification. Loans in the substandard category have well-defined weaknesses that jeopardize the liquidation of the debt, and have a distinct possibility that some loss will be sustained if the weaknesses are not corrected. All loans greater than 90 days past due are evaluated for substandard classification.  Loans in the doubtful category exhibit the same weaknesses found in the substandard loans; however, the weaknesses are more pronounced.  Such loans are static and collection in full is improbable.  However, these loans are not yet rated as loss because certain events may occur which would salvage the debt.  Loans classified as loss are considered uncollectible and charge-off is imminent.

To help ensure that credit ratings are accurate and reflect the present and future capacity of borrowers to repay a loan as agreed, the Banks have a structured loan rating process with several layers of internal and external oversight.  Generally, consumer and
18

Table of Contents

residential mortgage loans are included in the pass category unless a specific action, such as bankruptcy, repossession, or death occurs to raise awareness of a possible credit event.  An external semi-annual loan review of large commercial relationships is performed, as well as a sample of smaller transactions. The 2022 loan review will evaluate 55% of the Banks' average outstanding commercial portfolio which can consist of outstanding loans, commercial real estate mortgages and outstanding commitments. Detailed reviews, including plans for resolution, are performed on loans classified as substandard, doubtful, or loss on a quarterly basis.





















































19

Table of Contents

The following table presents the credit quality categories identified above as of March 31, 2023 and December 31, 2022:
March 31, 2023
(In Thousands)20232022202120202019PriorRevolving LoansRevolving Loans Converted to TermTotal
Commercial, financial, and agricultural
Pass$17,392 $57,070 $40,861 $34,532 $9,298 $10,195 $29,713 $131 $199,192 
Special Mention     97   97 
Substandard or Lower      430 713 1,143 
$17,392 $57,070 $40,861 $34,532 $9,298 $10,292 $30,143 $844 $200,432 
 
Current period gross write offs$ $ $ $ $ $ $ $ $ 
Real estate mortgage:
Residential
Pass$32,256 $218,074 $127,155 $74,334 $49,003 $68,165 $44,114 $108,180 $721,281 
Special Mention  163      163 
Substandard or Lower   90  2,301 68 29 2,488 
$32,256 $218,074 $127,318 $74,424 $49,003 $70,466 $44,182 $108,209 $723,932 
Current period gross write offs$ $ $ $ $ $5 $73 $ $78 
Commercial
Pass$11,022 $102,142 $140,306 $52,744 $27,194 $157,392 $10,849 $599 $502,248 
Special Mention  186   48   234 
Substandard or Lower     6,921 22 41 6,984 
$11,022 $102,142 $140,492 $52,744 $27,194 $164,361 $10,871 $640 $509,466 
Current period gross write offs$ $ $ $ $ $3 $ $ $3 
Construction
Pass$10,388 $17,545 $11,711 $1,726 $611 $4,775 $269 $ $47,025 
Special Mention         
Substandard or Lower     96   96
$10,388 $17,545 $11,711 $1,726 $611 $4,871 $269 $ $47,121 
Current period gross write offs$ $ $ $ $ $ $ $ $ 
Consumer Automobile
Pass$35,550 $100,204 $27,682 $22,834 $12,400 $9,077 $ $ $207,747 
Special Mention         
Substandard or Lower         
$35,550 $100,204 $27,682 $22,834 $12,400 $9,077 $ $ $207,747 
Current period gross write offs$1 $58 $ $29 $ $3 $ $ $91 
Installment loans to individuals
Pass$888 $3,334 $1,590 $701 $499 $3,339 $ $49 $10,400 
Special Mention         
Substandard or Lower         
$888 $3,334 $1,590 $701 $499 $3,339 $ $49 $10,400 
Current period gross write offs$40 $5 $21 $ $3 $6 $13 $ $88 

20

Table of Contents

The information presented in the table above is not required for periods prior to the adoption of CECL. The following table presents the most comparable required information for the prior period, internal credit ratings for the report loan segments as of December 31, 2022:
 December 31, 2022
 Commercial, Financial, and AgriculturalReal Estate MortgagesConsumer automobile Other consumer installment loans 
(In Thousands)ResidentialCommercialConstructionTotals
Pass$184,783 $705,515 $488,993 $43,209 $186,112 $10,361 $1,618,973 
Special Mention125 266 4,526    4,917 
Substandard5,553 2,428 7,113 99   15,193 
 $190,461 $708,209 $500,632 $43,308 $186,112 $10,361 $1,639,083 

Allowance for Credit Losses

Maintaining an appropriate Allowance for Credit Losses ("ACL") is dependent on various factors, including the ability to identify potential problem loans in a timely manner. For commercial construction, residential construction, commercial and industrial, and commercial real estate, an internal credit rating process is used. Management believes that internal credit ratings are the most relevant credit quality indicator for these types of loans. The migration of loans through the various internal credit rating categories is a significant component of the ACL methodology for these loans, which bases the probability of default on this migration. Assigning credit ratings involves judgment. The Company's loan review process provide a separate assessment of credit rating accuracy. Credit ratings may be changed based on the ongoing monitoring procedures performed by loan officers or credit administration staff or if specific loan review assessments identify a deterioration or an improvement in the loans.

Management considers the performance of the loan portfolio and its impact on the ACL. The Company does not assign internal Credit ratings to smaller balance, homogeneous loans, such as home equity, residential mortgage, and consumer automobile loans. For these loans, the most relevant credit quality indicator is delinquency status and management evaluates credit quality based on the aging status of the loan.

Historical loss trends are used in the estimation of losses in the current portfolio.  These historical loss amounts are modified by other qualitative factors.  A historical charge-off factor is calculated utilizing the charge-off and recovery data over the past ten years.  Management has identified a number of additional qualitative factors which it uses to supplement the historical charge-off factor because these factors are likely to cause estimated credit losses associated with the existing loan pools to differ from historical loss experience.  The additional factors that are evaluated quarterly and updated using information obtained from internal, regulatory, and governmental sources are: national and local economic trends and conditions; trends in volumes and terms of loans; effects of changes in lending policies; experience, ability, and depth of lending staff; value of underlying collateral; and concentrations of credit from a loan type, industry and/or geographic standpoint.

Management reviews the loan portfolio on a quarterly basis in order to make appropriate and timely adjustments to the ACL.  When information confirms all or part of specific loans to be uncollectible, these amounts are promptly charged off against the ACL.

Activity in the allowance is presented for the three months ended March 31, 2023 and 2022:

 
tThree Months Ended March 31, 2023
 Commercial, Financial, and AgriculturalReal Estate MortgagesConsumer automobileOther consumer installment  
(In Thousands)ResidentialCommercialConstructionUnallocatedTotals
Beginning Balance$1,914 $5,061 $6,110 $188 $1,617 $109 $638 $15,637 
Impact of adopting ASC 3262,656 (3,893)(2,660)(96)240 602 (638)(3,789)
Charge-offs (78)(3) (93)(88) (262)
Recoveries105 2 3  12 17  139 
Provision(813)320 31 92 337 42  9 
Ending Balance$3,862 $1,412 $3,481 $184 $2,113 $682 $ $11,734 
21

Table of Contents

 Three Months Ended March 31, 2022
 Commercial, Financial, and AgriculturalReal Estate MortgagesConsumer automobileOther consumer installment  
(In Thousands)ResidentialCommercialConstructionUnallocatedTotals
Beginning Balance$1,946 $4,701 $5,336 $179 $1,411 $111 $492 $14,176 
Charge-offs  (155) (129)(60) (344)
Recoveries4 3 1  9 24  41 
Provision(14)97 33 18 85 39 (108)150 
Ending Balance$1,936 $4,801 $5,215 $197 $1,376 $114 $384 $14,023 

The shift in allocation and the increase in the loan provision is primarily due to changes in the credit metrics within the loan portfolio coupled with the adoption of CECL on January 1, 2023. The increase in provision for the period end March 31, 2023 for residential real estate and consumer auto was loan volume driven.

The Company grants commercial, industrial, residential, and installment loans to customers primarily throughout north-east and central Pennsylvania. Although the Company has a diversified loan portfolio, a substantial portion of its debtors’ ability to honor their contracts is dependent on the economic conditions within this region.

The Company has a concentration of the following to gross loans at March 31, 2023 and 2022: 
 March 31,
 20232022
Owners of residential rental properties19.12 %19.95 %
Owners of commercial rental properties15.28 %15.60 %


The following table presents the balance in the allowance for loan losses and the recorded investment in loans by portfolio segment based on impairment method as of December 31, 2022:
 December 31, 2022
 Commercial, Financial, and AgriculturalReal Estate MortgagesConsumer AutomobileOther consumer installmentUnallocated 
(In Thousands)ResidentialCommercialConstructionTotals
Allowance for Loan Losses:       
Ending allowance balance attributable to loans:       
Individually evaluated for impairment$4 $111 $827 $ $ $19 $ $961 
Collectively evaluated for impairment1,910 4,950 5,283 188 1,617 90 638 14,676 
Total ending allowance balance$1,914 $5,061 $6,110 $188 $1,617 $109 $638 $15,637 
Loans:       
Individually evaluated for impairment$698 $4,321 $6,195 $ $ $19  $11,233 
Collectively evaluated for impairment189,763 703,888 494,437 43,308 186,112 10,342  1,627,850 
Total ending loans balance$190,461 $708,209 $500,632 $43,308 $186,112 $10,361  $1,639,083 


Note 7.  Net Periodic Benefit Cost-Defined Benefit Plans

For a detailed disclosure on the Company’s pension and employee benefits plans, please refer to Note 13 of the Company’s Consolidated Financial Statements included in the Annual Report on Form 10-K for the year ended December 31, 2022.





22

Table of Contents

The following sets forth the components of the net periodic expense/(gain) of the domestic non-contributory defined benefit plan for the three months ended March 31, 2023 and 2022, respectively:
Three Months Ended March 31,
(In Thousands)20232022
Interest cost$198 $138 
Expected return on plan assets(326)(412)
Amortization of net loss37 17 
Net periodic benefit$(91)$(257)

Employer Contributions

The Company previously disclosed in its consolidated financial statements, included in the Annual Report on Form 10-K for the year ended December 31, 2022, that it does not expect to contribute to its defined benefit plan in 2023.  As of March 31, 2023, there were no contributions made to the pension plan.

Note 8.  Stock Purchase Plans

The Company maintains an Employee Stock Purchase Plan (“Plan”).  The Plan is intended to encourage employee participation in the ownership and economic progress of the Company.  The Plan allows for up to 1,500,000 shares to be purchased by employees.  The purchase price of the shares is 95% of market value with an employee eligible to purchase up to the lesser of 15% of base compensation or $12,000 in market value annually.  During the three months ended March 31, 2023 and 2022, there were 854 and 880 shares issued under the Plan, respectively, for total proceeds of $21,000 and $21,000.

The Company maintains the 2020 Non-Employee Director Compensation Plan ("Director Plan"). Under this Director Plan, non-employee directors who have not attained specified stock ownership levels are required to receive a portion of their annual compensation in the form of common stock (currently 50%of total annual compensation), with the ability to elect to receive up to 100% of annual compensation in the form of common stock by making a written election prior to the calendar year to which the compensation relates. The Director Plan allows for up to 100,000 shares to be issued. As of March 31 2023, the Company has issued a total of 37,053 shares of common stock to non-employee directors under the Director Plan in lieu of otherwise payable cash compensation with 2,422 and 3,415 shares issued, respectively with an associated expense of $64,000 and $84,000 during the three months ended March 31, 2023 and 2022.

Note 9.  Off-Balance Sheet Risk

The Company is a party to financial instruments with off-balance sheet risk in the normal course of business to meet the financing needs of its customers.  These financial instruments are primarily comprised of commitments to extend credit, standby letters of credit, and credit exposure from the sale of assets with recourse.  These instruments involve, to varying degrees, elements of credit, interest rate, or liquidity risk in excess of the amount recognized in the Consolidated Balance Sheet.  The contract amounts of these instruments express the extent of involvement the Company has in particular classes of financial instruments.

The Company’s exposure to credit loss from nonperformance by the other party to the financial instruments for commitments to extend credit and standby letters of credit is represented by the contractual amount of these instruments.  The Company uses the same credit policies in making commitments and conditional obligations as it does for on-balance sheet instruments.  The Company may require collateral or other security to support financial instruments with off-balance sheet credit risk.

Financial instruments whose contract amounts represent credit risk are as follows at March 31, 2023 and December 31, 2022:
(In Thousands)March 31, 2023December 31, 2022
Commitments to extend credit$175,959 $169,365 
Standby letters of credit10,197 9,915 
Credit exposure from the sale of assets with recourse7,358 7,358 
$193,514 $186,638 
Allowance for credit losses$1,920 $143 

23

Table of Contents

Commitments to extend credit are legally binding agreements to lend to customers.  Commitments generally have fixed expiration dates or other termination clauses and may require payment of fees.  Since many of the commitments are expected to expire without being drawn upon, the total commitment amounts do not necessarily represent future liquidity requirements.  The Company evaluates each customer’s credit worthiness on a case-by-case basis.  The amount of collateral obtained, if deemed necessary by the Company, on an extension of credit is based on management’s credit assessment of the counterparty.

Standby letters of credit represent conditional commitments issued by the Company to guarantee the performance of a customer to a third party.  These instruments are issued primarily to support bid or performance related contracts.  The coverage period for these instruments is typically a one year period with an annual renewal option subject to prior approval by management.  Fees earned from the issuance of these letters are recognized upon expiration of the coverage period.  For secured letters of credit, the collateral is typically Bank deposit instruments or customer business assets.

Note 10.  Fair Value Measurements

The following disclosures show the hierarchal disclosure framework associated with the level of pricing observations utilized in measuring assets and liabilities at fair value.
Level I: Quoted prices are available in active markets for identical assets or liabilities as of the reported date.
   
Level II: Pricing inputs are other than quoted prices in active markets, which are either directly or indirectly observable as of the reported date. The nature of these assets and liabilities include items for which quoted prices are available but traded less frequently, and items that are fair valued using other financial instruments, the parameters of which can be directly observed.
   
Level III: Assets and liabilities that have little to no pricing observability as of the reported date. These items do not have two-way markets and are measured using management’s best estimate of fair value, where the inputs into the determination of fair value require significant management judgment or estimation.

This hierarchy requires the use of observable market data when available.

The following table presents the assets reported on the Consolidated Balance Sheet at their fair value on a recurring basis as of March 31, 2023 and December 31, 2022, by level within the fair value hierarchy. Financial assets and liabilities are classified in their entirety based on the lowest level of input that is significant to the fair value measurement.
 March 31, 2023
(In Thousands)Level ILevel IILevel IIITotal
Assets measured on a recurring basis:    
Investment securities, available for sale:    
U.S. Government and agency securities$ $2,920 $ $2,920 
Mortgage-backed securities 7,952  7,952 
State and political securities 139,692  139,692 
Other debt securities 46,626  46,626 
Investment equity securities:
  Equity securities1,163   1,163 

 December 31, 2022
(In Thousands)Level ILevel IILevel IIITotal
Assets measured on a recurring basis:    
Investment securities, available for sale:    
U.S. Government and agency securities$ $2,896 $ $2,896 
Mortgage-backed securities 1,282  1,282 
State and political securities 142,809  142,809 
Other debt securities 46,686  46,686 
Investment equity securities:
  Equity securities1,142   1,142 

24

Table of Contents

The following table presents the assets reported on the Consolidated Balance Sheet at their fair value on a non-recurring basis as of March 31, 2023 and December 31, 2022, by level within the fair value hierarchy. Financial assets and liabilities are classified in their entirety based on the lowest level of input that is significant to the fair value measurement. 
 March 31, 2023
(In Thousands)Level ILevel IILevel IIITotal
Assets measured on a non-recurring basis:    
Collateral dependent loans$ $ $1,905 $1,905 
Other real estate owned  83 83 
 December 31, 2022
(In Thousands)Level ILevel IILevel IIITotal
Assets measured on a non-recurring basis:    
Impaired loans$ $ $1,923 $1,923 
Other real estate owned  83 83 

The following tables present a listing of significant unobservable inputs used in the fair value measurement process for items valued utilizing level III techniques as of March 31, 2023 and December 31, 2022: 
 March 31, 2023
 Quantitative Information About Level III Fair Value Measurements
(In Thousands)Fair ValueValuation Technique(s)Unobservable InputsRangeWeighted Average
Collateral dependent loans$1,905 
Appraisal of collateral (1)
Appraisal adjustments (1)
(10)% to (34)%
(14)%
Other real estate owned$83 
Appraisal of collateral (1)
Appraisal adjustments (1)
(20)%(20)%
(1) Appraisals may be adjusted by management for qualitative factors such as economic conditions and estimated liquidation expenses.
 December 31, 2022
 Quantitative Information About Level III Fair Value Measurements
(In Thousands)Fair ValueValuation Technique(s)Unobservable InputsRangeWeighted Average
Impaired loans$1,923 
Appraisal of collateral (1)
Appraisal adjustments (1)
0% to (34)%
(14)%
Other real estate owned$83 
Appraisal of collateral (1)
Appraisal adjustments (1)
(20)%(20)%
(1) Appraisals may be adjusted by management for qualitative factors such as economic conditions and estimated liquidation expenses.

The significant unobservable input used in the fair value measurement of the Company’s impaired loans using the appraisal of collateral valuation technique include appraisal adjustments, which are adjustments to appraisals by management for qualitative factors such as economic conditions and estimated liquidation expenses.  The significant unobservable input used in the fair value measurement of the Company’s other real estate owned are the same inputs used to value impaired loans using the appraisal of collateral valuation technique. 

Note 11. Fair Value of Financial Instruments

The Company is required to disclose fair values for its financial instruments.  Fair values are made at a specific point in time, based on relevant market information and information about the financial instrument.  These estimates do not reflect any premium or discount that could result from offering for sale at one time the Company’s entire holdings of a particular financial instrument.  Also, it is the Company’s general practice and intention to hold most of its financial instruments to maturity and not to engage in trading or sales activities.  Because no market exists for a significant portion of the Company’s financial instruments, fair value estimates are based on judgments regarding future expected loss experience, current economic conditions, risk characteristics of various financial instruments, and other factors.  These fair values are subjective in nature and involve uncertainties and matters of significant judgment and therefore cannot be determined with precision.  Changes in assumptions can significantly affect the fair values.

25

Table of Contents

Fair values have been determined by the Company using historical data and an estimation methodology suitable for each category of financial instruments.  The Company’s fair values are set forth below for the Company’s other financial instruments.

As certain assets and liabilities, such as deferred tax assets, premises and equipment, and many other operational elements of the Company, are not considered financial instruments but have value, this fair value of financial instruments would not represent the full market value of the Company.

The fair values of the Company’s financial instruments not recorded at fair value on a recurring or nonrecurring basis are as follows at March 31, 2023 and December 31, 2022:
 CarryingFairFair Value Measurements at March 31, 2023
(In Thousands)ValueValueLevel ILevel IILevel III
Financial assets:     
Loans held for sale (1)$1,705 $1,705 $1,705 $ $ 
Loans, net1,688,289 1,672,564   1,672,564 
Financial liabilities:     
Time deposits & brokered deposits233,136 228,079   228,079 
Short-term borrowings 97,102 97,102 97,102   
Long-term borrowings132,738 130,067   130,067 
(1) The financial instrument is carried at cost at, March 31, 2023 which approximate the fair value of the instruments
 CarryingFairFair Value Measurements at December 31, 2022
(In Thousands)ValueValueLevel ILevel IILevel III
Financial assets:     
Loans held for sale (1)$3,298 $3,298 $3,298 $ $ 
Loans, net1,624,094 1,594,073   1,594,073 
Financial liabilities:     
Time deposits & brokered deposits146,282 137,559   137,559 
Short-term borrowings153,349 153,349 153,349   
Long-term borrowings102,783 99,118   99,118 
(1) The financial instrument is carried at cost at, December 31, 2022 which approximate the fair value of the instruments

The methods and assumptions used by the Company in estimating fair values of financial instruments is in accordance with ASC Topic 825, Financial Instruments, as amended by ASU 2016-01 which requires public entities to use exit pricing in the calculation of the above tables.

Note 12.  Stock Options

In 2020, the Company adopted the 2020 Equity Incentive Plan which replaced the 2014 Equity Incentive Plan that did not have any remaining shares available for issuance. The plans are designed to help the Company attract, retain, and motivate employees and non-employee directors. Incentive stock options, non-qualified stock options, restricted stock, restricted stock units, and other equity-based awards may be granted as part of the plan.

As of January 1, 2023, the Company had a total of 914,000 stock options outstanding. During the period ended March 31, 2023, the Company issued 89,000 stock options with a strike price of $27.77 to a group of employees. The options granted in 2023 all expire ten years from the grant date. Of the 89,000 grants awarded in 2023, 59,500 of the options vest in three years while the 29,500 remaining options vest in five years.







26

Table of Contents

Stock options outstanding as of March 31, 2023 are presented below:
Stock Options Granted
DateSharesForfeitedCash SettlementOutstandingStrike PriceVesting PeriodExpiration
January 20, 202359,500   59,500 $27.77 3 years10 years
January 20, 202329,500   29,500 27.77 5 years10 years
January 18, 2022156,000   156,000 24.10 3 years10 years
January 18, 202278,000   78,000 24.10 5 years10 years
April 9, 2021156,500   156,500 24.23 3 years10 years
April 9, 202178,000   78,000 24.23 5 years10 years
March 11, 2020119,300   119,300 25.34 3 years10 years
March 11, 2020119,200   119,200 25.34 5 years10 years
March 15, 2019120,900 (18,300) 102,600 28.01 3 years10 years
March 15, 2019119,100 (17,700) 101,400 28.01 5 years10 years
August 27, 201558,125 (26,250)(28,875)3,000 28.02 5 years10 years

A summary of stock option activity is presented below:
March 31, 2023
SharesWeighted Average Exercise Price
Outstanding, beginning of year914,000 $25.34 
Granted89,000 27.77 
Cash settlement  
Forfeited  
Expired  
Outstanding, end of period1,003,000 $25.56 
Exercisable, end of period224,900 $26.59 

The estimated fair value of options, including the effect of estimated forfeitures, is recognized as expense on a straight line basis over the options’ vesting periods while ensuring that the cumulative amount of compensation cost recognized at least equals the value of the vested portion of the award at that date.

The fair value of stock options is estimated using the Black-Scholes option pricing model. The following is a summary of the assumptions used in this model for stock options granted for the three months ended March 31, 2023:

Three months ended March 31,
2023
Risk-free interest rate3.76 %
Expected volatility31 %
Expected Annual dividend$1.28 
Expected life6.84 years
Weighted average grant date fair value per option$6.11 



Compensation expense for stock options is recognized using the fair value when the stock options are granted and is amortized over the options' vesting period. Compensation expense related to stock options was $253,000 for the three months ended March 31, 2023 compared to $315,000 for the same period of 2022. As of March 31, 2023, a total of 224,900 stock options were exercisable and the weighted average years to expiration of these options was 6.44 years. Total unrecognized
27

Table of Contents

compensation cost for non-vested options was $1,906,000 and will be recognized over their weighted average remaining vesting period of 1.24 years.


Note 13.  Reclassification of Comparative Amounts

Certain comparative amounts for the prior period have been reclassified to conform to current period presentations. Such reclassifications had no effect on net income or shareholders’ equity.
28

Table of Contents

CAUTIONARY STATEMENT FOR PURPOSES OF THE PRIVATE SECURITIES LITIGATION REFORM ACT OF 1995

This Report contains certain “forward-looking statements” including statements concerning plans, objectives, future events or performance and assumptions and other statements which are other than statements of historical fact.  The Company cautions readers that the following important factors, among others, may have affected and could in the future affect the Company’s actual results and could cause the Company’s actual results for subsequent periods to differ materially from those expressed in any forward-looking statement made by or on behalf of the Company herein:  (i) the effect of changes in laws and regulations, including federal and state banking laws and regulations, with which the Company must comply, and the associated costs of compliance with such laws and regulations either currently or in the future as applicable; (ii) the effect of changes in accounting policies and practices, as may be adopted by the regulatory agencies as well as by the Financial Accounting Standards Board, or of changes in the Company’s organization, compensation and benefit plans; (iii) the effect on the Company’s competitive position within its market area of the  increasing consolidation within the banking and financial services industries, including the increased competition from larger regional and out-of-state banking organizations as well as non-bank providers of various financial services; (iv) the effect of changes in interest rates; (v) the negative impacts and disruptions of the COVID-19 pandemic and measures taken to contain its spread on our employees, customers, business operations, credit quality, financial position, liquidity and results of operations; (vi) the length and extent of the economic contraction as a result of the COVID-19 pandemic; or (vii) the effect of changes in the business cycle and downturns in the local, regional or national economies, including the effects of inflation,; and (viii) the Risk Factors identified in Item 1A of the Company's Annual Report on Form 10-K for the year ended December 31, 2022 and in other filings made by the Company under the Securities Exchange Act of 1934.

You should not put undue reliance on any forward-looking statements.  These statements speak only as of the date of this Quarterly Report on Form 10-Q, even if subsequently made available by the Company on its website or otherwise.  The Company undertakes no obligation to update or revise these statements to reflect events or circumstances occurring after the date of this Quarterly Report on Form 10-Q.

29

Table of Contents


Item 2.   Management’s Discussion and Analysis of Financial Condition and Results of Operations

EARNINGS SUMMARY

Comparison of the Three Months Ended March 31, 2023 and 2022

Summary Results

Net income for the three months ended March 31, 2023 was $4,658,000 compared to $3,432,000 for the same period of 2022. Results for the three months ended March 31, 2023 compared to 2022 were impacted by a decrease in after-tax securities losses of $16,000 (from a loss of $48,000 to a loss of $32,000) for the period. In addition, bank-owned life insurance income increased due to a gain on death benefit of $380,000 during the three months ended March 31, 2023, while an after-tax loss of $201,000 related to a branch closure negatively impacted the three months ended March 31, 2022. The provision for credit losses decreased $79,000 for the three months ended March 31, 2023 to a provision of $71,000 compared to a provision of $150,000 for the 2022 period. The decrease in the provision for credit losses was primarily due to improving loan portfolio credit metrics and a minimal level of net loan charge-offs. Basic earnings per share for the three months ended March 31, 2023 was $0.66 and diluted earnings per share was $0.64. Basic and diluted earnings per share for the three months ended March 31, 2022 were $0.49. Annualized return on average assets was 0.92% for three months ended March 31, 2023, compared to 0.72% for the corresponding period of 2022. Annualized return on average equity was 11.12% for the three months ended March 31, 2023, compared to 8.17% for the corresponding period of 2022. Net income from core operations (“core earnings”), which is a non-generally accepted accounting principles (GAAP) measure of net income excluding net securities gains or losses, was $4,690,000 for the three months ended March 31, 2023 compared to $3,480,000 for the same period of 2022. Core earnings per share for the three months ended March 31, 2023 was $0.66 basic and $0.64 diluted, compared to $0.50 basic and diluted core earnings per share for the same period of 2022.

Management uses the non-GAAP measure of net income from core operations in its analysis of the Company’s performance.  This measure, as used by the Company, adjusts net income by excluding significant gains or losses that are unusual in nature.  Because certain of these items and their impact on the Company’s performance are difficult to predict, management believes the presentation of financial measures excluding the impact of such items provides useful supplemental information in evaluating the operating results of the Company’s core businesses.  For purposes of this Quarterly Report on Form 10-Q, net income from core operations means net income adjusted to exclude after-tax net securities gains or losses. These disclosures should not be viewed as a substitute for net income determined in accordance with GAAP, nor are they necessarily comparable to non-GAAP performance measures that may be presented by other companies.

Reconciliation of GAAP and Non-GAAP Financial Measures
(Dollars in Thousands, Except Per Share Data)Three Months Ended March 31,
20232022
GAAP net income$4,658 $3,432 
Net securities losses, net of tax32 48 
Non-GAAP core earnings$4,690 $3,480 
Three Months Ended March 31,
 20232022
GAAP Return on average assets (ROA)0.92 %0.72 %
Net securities losses, net of tax0.01 %0.01 %
Non-GAAP core ROA0.93 %0.73 %
Three Months Ended March 31,
 20232022
GAAP Return on average equity (ROE)11.12 %8.17 %
Net securities losses, net of tax0.07 %0.11 %
Non-GAAP core ROE.11.19 %8.28 %
30

Table of Contents

Three Months Ended March 31,
 20232022
GAAP Basic earnings per share (EPS)$0.66 $0.49 
Net securities losses, net of tax— 0.01 
Non-GAAP core operating EPS$0.66 $0.50 
Three Months Ended March 31,
 20232022
GAAP Diluted EPS$0.64 $0.49 
Net securities losses, net of tax— 0.01 
Non-GAAP diluted core EPS$0.64 $0.50 
 
Interest and Dividend Income

Interest and dividend income for the three months ended March 31, 2023 increased $5,589,000 compared to the same period of 2022. The increase in loan portfolio income was due to a increase in the average loan portfolio balance coupled with an increase of in average rate earned on the portfolio.  Investment securities income has been impacted primarily by an increase in the average rate earned on the portfolio as lower yielding legacy investments matured. The increase in dividend and other interest income is due primarily to an increase in dividends received on FHLB restricted stock.

Interest and dividend income composition for the three months ended March 31, 2023 and 2022 was as follows:
 Three Months Ended
 March 31, 2023March 31, 2022Change
(In Thousands)Amount% TotalAmount% TotalAmount%
Loans including fees$18,005 90.64 %$13,038 91.34 %$4,967 38.10 %
Investment securities:      
Taxable1,218 6.13 737 5.16 481 65.26 
Tax-exempt178 0.90 164 1.15 14 8.54 
Dividend and other interest income463 2.33 336 2.35 127 37.80 
Total interest and dividend income$19,864 100.00 %$14,275 100.00 %$5,589 39.15 %

Interest Expense

Interest expense for three months ended March 31, 2023 increased $4,144,000 compared to the same period of 2022. Interest-bearing deposit interest expense increased significantly due to a time deposit gathering campaign that generated funding for the increase in the loan portfolio. In addition, competition for deposits along with the impact of the rising rate environment contributed to the increase in deposit interest expense. Short-term interest expenses increased as overnight borrowings were utilized to supplement the funding of the growth in the loan portfolio.

Interest expense composition for the three months ended March 31, 2023 and 2022 was as follows:
 Three Months Ended
 March 31, 2023March 31, 2022Change
(In Thousands)Amount% TotalAmount% TotalAmount%
Deposits$3,372 60.58 %$788 55.42 %$2,584 327.92 %
Short-term borrowings1,440 25.87 0.07 1,439 n/m
Long-term borrowings754 13.55 633 44.51 121 19.12 
Total interest expense$5,566 100.00 %$1,422 100.00 %$4,144 291.42 %



31

Table of Contents

Net Interest Margin

The net interest margin for the three months ended March 31, 2023 was 3.10% compared to 2.93% for the corresponding period of 2022. The increase in the net interest margin for the three month period was driven by an increase in the earning asset yield which was driven by an increase in yield on the loan portfolio due in part to the rate increases enacted by the Federal Open Market Committee ("FOMC"). The rate paid on interest-bearing deposits increased significantly due to the actions of the FOMC, competition, and time deposit gathering campaigns. The rate paid on short-term borrowings increased as the FOMC actions increased the cost of overnight of funding. In addition, short-term borrowing volume increased significantly as these borrowings were utilized to assist with the funding of the loan portfolio growth.

The following is a schedule of average balances and associated yields for the three months ended March 31, 2023 and 2022:

 AVERAGE BALANCES AND INTEREST RATES
 Three Months Ended March 31, 2023Three Months Ended March 31, 2022
(In Thousands)Average Balance (1)InterestAverage RateAverage Balance (1)InterestAverage Rate
Assets:      
Tax-exempt loans (3)$64,703 $448 2.81 %$47,974 $308 2.60 %
All other loans1,601,105 17,651 4.47 %1,351,414 12,795 3.84 %
Total loans (2)1,665,808 18,099 4.41 %1,399,388 13,103 3.80 %
Federal funds sold— — n/a50,000 93 0.75 %
Taxable securities181,421 1,579 3.53 %144,438 920 2.58 %
Tax-exempt securities (3)
33,565 225 2.72 %40,981 208 2.06 %
Total securities214,986 1,804 3.40 %185,419 1,128 2.47 %
Interest-bearing deposits7,031 102 5.88 %157,541 60 0.15 %
Total interest-earning assets1,887,825 20,005 4.30 %1,792,348 14,384 3.25 %
Other assets135,276   127,421   
Total assets$2,023,101  $1,919,769   
Liabilities and shareholders’ equity:    
Savings$243,302 120 0.20 %$240,953 22 0.04 %
Super Now deposits366,424 939 1.04 %370,895 195 0.21 %
Money market deposits289,734 1,280 1.79 %298,820 186 0.25 %
Time deposits188,476 1,033 2.22 %190,819 385 0.82 %
Total interest-bearing deposits1,087,936 3,372 1.26 %1,101,487 788 0.29 %
Short-term borrowings121,754 1,440 4.80 %5,194 0.08 %
Long-term borrowings119,267 754 2.56 %115,267 633 2.23 %
Total borrowings241,021 2,194 3.69 %120,461 634 2.13 %
Total interest-bearing liabilities1,328,957 5,566 1.70 %1,221,948 1,422 0.47 %
Demand deposits498,180   506,348   
Other liabilities28,367   23,357   
Shareholders’ equity167,597   168,116   
Total liabilities and shareholders’ equity$2,023,101   $1,919,769   
Interest rate spread (3)
  2.60 %  2.78 %
Net interest income/margin (3)
 $14,439 3.10 % $12,962 2.93 %
1.    Information on this table has been calculated using average daily balance sheets to obtain average balances.
2.    Non-accrual loans have been included with loans for the purpose of analyzing net interest earnings.
3.    Income and rates on fully taxable equivalent basis include an adjustment for the difference between annual income     
from tax-exempt obligations and the taxable equivalent of such income at the standard tax rate of 21% and are reconciled to the equivalent GAAP
measure below the tables.




32

Table of Contents

The following table presents the adjustment to convert net interest income to net interest income on a fully taxable equivalent basis for the three months ended March 31, 2023 and 2022:
Three Months Ended March 31,
(In Thousands)20232022
Total interest income$19,864 $14,275 
Total interest expense5,566 1,422 
Net interest income (GAAP)14,298 12,853 
Tax equivalent adjustment141 109 
Net interest income (fully taxable equivalent) (NON-GAAP)$14,439 $12,962 
 
The following table sets forth the respective impact that both volume and rate changes have had on net interest income on a fully taxable equivalent basis for the three months ended March 31, 2023 and 2022:
 Three months ended March 31,
 2023 vs. 2022
 Increase (Decrease) Due to
(In Thousands)VolumeRateNet
Interest income:   
Tax-exempt loans$114 $26 $140 
All other loans2,572 2,284 4,856 
Federal funds sold(93)— (93)
Taxable investment securities271 388 659 
Tax-exempt investment securities(43)60 17 
Interest bearing deposits(108)150 42 
Total interest-earning assets2,713 2,908 5,621 
Interest expense:   
Savings deposits— 98 98 
Super Now deposits(2)746 744 
Money market deposits(6)1,100 1,094 
Time deposits(5)653 648 
Short-term borrowings394 1,045 1,439 
Long-term borrowings23 98 121 
Total interest-bearing liabilities404 3,740 4,144 
Change in net interest income$2,309 $(832)$1,477 

Provision for Credit Losses

The provision for credit losses is based upon management’s quarterly review of the loan portfolio.  The purpose of the review is to assess loan quality, identify impaired loans, analyze delinquencies, ascertain loan growth, evaluate potential charge-offs and recoveries, and assess general economic conditions in the markets served.  An external independent loan review is also performed annually for the Banks.  Management remains committed to an aggressive program of problem loan identification and resolution.

The allowance for credit losses is determined by applying loss factors to outstanding loans by type,.  A historical charge-off factor is calculated utilizing the charge-off and recovery data over the past ten years. Management has identified a number of additional qualitative factors which it uses to supplement the historical charge-off factor because these factors are likely to cause estimated credit losses associated with the existing loan pools to differ from historical loss experience.

Although management believes it uses the best information available to make such determinations and that the allowance for credit losses is adequate at March 31, 2023, future adjustments could be necessary if circumstances or economic conditions differ substantially from the assumptions used in making the initial determinations.  A downturn in the local economy, increased unemployment, and delays in receiving financial information from borrowers could result in increased levels of nonperforming assets, charge-offs, loan loss provisions, and reductions in income.  Additionally, as an integral part of the
33

Table of Contents

examination process, bank regulatory agencies periodically review the Banks' loan loss allowance.  The banking agencies could require the recognition of additions to the loan loss allowance based on their judgment of information available to them at the time of their examination.

When determining the appropriate allowance level, management has attributed the allowance for credit losses to various portfolio segments; however, the allowance is available for the entire portfolio as needed.

The allowance for credit losses decreased from $15,637,000 at December 31, 2022 to $11,734,000 at March 31, 2023. The decrease in allowance was due to the adoption of CECL on January 1, 2023. At March 31, 2023 and December 31, 2022, the allowance for credit losses to total loans was 0.69% and 0.95%, respectively.

The provision for credit losses totaled $71,000 and $150,000 for the three months ended March 31, 2023 and the corresponding 2022 period. The decrease in the provision for credit losses was the result of improving credit metrics and the adoption of CECL offset by loan portfolio growth.

Nonperforming loans decreased to $4,766,000 at March 31, 2023 from $4,890,000 at December 31, 2022. The majority of nonperforming loans involve loans that are either in a secured position and have sureties with a strong underlying financial position or have been classified as impaired and have a specific allocation recorded within the allowance for credit losses. The ratio of non-performing loans to total loans ratio decreased to 0.28% at March 31, 2023 from 0.38% at March 31, 2022 as non-performing loans have decreased to $4,766,000 from $5,281,000 at March 31, 2022. Net loan charge-offs of $123,000 for the three months ended March 31, 2023 impacted the allowance for credit losses, which was 0.69% of total loans at March 31, 2023 compared to 1.00% at March 31, 2022.

The following is a table showing total nonperforming loans as of:
 Total Nonperforming Loans
(In Thousands)90 Days Past DueNon-accrualTotal
March 31, 2023$1,215 $3,551 $4,766 
December 31, 20221,275 3,615 4,890 
September 30, 20221,161 4,582 5,743 
June 30, 2022421 4,679 5,100 
March 31, 2022364 4,917 5,281 

Additional allowance for credit losses and net (charge-offs) recoveries information is presented by loan portfolio segment in the tables below. The three months ending March 31, 2023 was impacted by the CECL adoption reclassification entry disclosed in Note 6. Loans.
March 31, 2023
Amount of Allowance for Credit Losses AllocatedTotal loansAllowance for Credit Losses to Total Loans RatioNet (Charge-Offs) RecoveriesAverage LoansRatio of Net (Charge-Offs) Recoveries to Average Loans
(In Thousands)
Commercial, financial, and agricultural$3,862$200,432 1.93 %$105 $196,291 0.05 %
Real estate mortgage:
Residential1,412723,932 0.20 %(76)713,064 (0.01)%
Commercial3,481509,466 0.68 %— 502,884 — %
Construction18447,121 0.39 %— 43,683 — %
Consumer automobiles2,113207,747 1.02 %(81)199,642 (0.04)%
Other consumer installment loans68210,400 6.56 %(71)10,244 (0.69)%
$11,734$1,699,098 0.69 %$(123)$1,665,808 (0.01)%
Total non-accrual loans outstanding$3,551
Non-accrual loans to total loans outstanding0.21 %
Allowance for credit losses to non-accrual loans330.44 %
34

Table of Contents

December 31, 2022
Amount of Allowance for Loan Losses AllocatedTotal loansAllowance for Loan Losses to Total Loans RatioNet (Charge-Offs) RecoveriesAverage LoansRatio of Net (Charge-Offs) Recoveries to Average Loans
(In Thousands)
Commercial, financial, and agricultural$1,914$190,461 1.00 %$165 $173,433 0.10 %
Real estate mortgage:
Residential5,061708,209 0.71 %26 649,989 — %
Commercial6,110500,632 1.22 %(150)466,526 (0.03)%
Construction18843,308 0.43 %29 44,968 0.06 %
Consumer automobiles1,617186,112 0.87 %(328)150,261 (0.22)%
Other consumer installment loans10910,361 1.05 %(191)9,737 (1.96)%
Unallocated638
$15,637$1,639,083 0.95 %$(449)$1,494,914 (0.03)%
Total non-accrual loans outstanding$3,615
Non-accrual loans to total loans outstanding0.22 %
Allowance for loan losses to non-accrual loans432.56 %

Non-interest Income

Total non-interest income for the three months ended March 31, 2023 compared to the same period in 2022 decreased $155,000. Excluding net securities gains, non-interest income for the three months ended March 31, 2023 decreased $176,000 compared to the same period in 2022. Gain on sale of loans and loan broker commissions decreased as the volume of loan sales has declined as a reduction in housing inventory and higher rates has reduced mortgage activity. Bank-owned life insurance increased due to a gain on death benefit of $380,000 recognized during the 2023 period.

Non-interest income composition for the three months ended March 31, 2023 and 2022 was as follows:

 Three Months Ended
 March 31, 2023March 31, 2022Change
(In Thousands)Amount% TotalAmount% TotalAmount%
Service charges$496 21.98 %$495 20.52 %$0.20 %
Net debt securities losses, available for sale(61)(2.70)(2)(0.08)(59)(2,950.00)
Net equity securities gains (losses)21 0.93 (59)(2.44)80 135.59 
Bank-owned life insurance556 24.63 170 7.05 386 227.06 
Gain on sale of loans231 10.23 345 14.30 (114)(33.04)
Insurance commissions165 7.31 170 7.05 (5)(2.94)
Brokerage commissions165 7.31 200 8.29 (35)(17.50)
Loan broker commissions170 7.53 541 22.43 (371)(68.58)
Debit card income335 14.84 345 14.30 (10)(2.90)
Other179 7.94 207 8.58 (28)(13.53)
Total non-interest income$2,257 100.00 %$2,412 100.00 %$(155)(6.43)%

Non-interest Expense

Total non-interest expense decreased $109,000 for the three months ended March 31, 2023 compared to the same period of 2022. The decrease in salaries and employee benefits is attributable to the closing of a branch location in the first quarter of 2022 coupled with a reduction in branch hours at select locations. Furniture and equipment expenses in addition to occupancy expenses have decreased as maintenance costs and the level of depreciation have decreased. Software amortization fluctuations are due to changes in software licensing costs. Marketing costs increased as a time deposit gathering campaign was initiated during 2023. Pennsylvania shares tax decreased as tax credits were purchased and charitable contributions were made to
35

Table of Contents

organizations that resulted in the obtainment of tax credits. Professional fees increased primarily due to legal fees and the utilization of a proxy solicitor related to the shareholder vote to update the Company's Articles of Incorporation.

Non-interest expense composition for the three months ended March 31, 2023 and 2022 was as follows:
 Three Months Ended
 March 31, 2023March 31, 2022Change
(In Thousands)Amount% TotalAmount% TotalAmount%
Salaries and employee benefits$6,176 56.67 %$6,264 56.91 %$(88)(1.40)%
Occupancy866 7.95 910 8.27 (44)(4.84)
Furniture and equipment846 7.76 892 8.10 (46)(5.16)
Software amortization183 1.68 253 2.30 (70)(27.67)
Pennsylvania shares tax248 2.28 389 3.53 (141)(36.25)
Professional fees688 6.31 538 4.89 150 27.88 
Federal Deposit Insurance Corporation deposit insurance245 2.25 202 1.84 43 21.29 
Marketing155 1.42 64 0.58 91 142.19 
Intangible amortization35 0.32 43 0.39 (8)(18.60)
Other1,456 13.36 1,452 13.19 0.28 
Total non-interest expense$10,898 100.00 %$11,007 100.00 %$(109)(0.99)%

Provision for Income Taxes

Income taxes increased $252,000 for the three months ended March 31, 2023 compared to the same period of 2022. The effective tax rate for the three months ended March 31, 2023 was 16.61% compared to 16.46% for the same period of 2022. The Company currently is in a deferred tax asset position. A valuation allowance was established on the $1,810,000 of capital loss carryforwards as of December 31, 2022, which remained unchanged during the first quarter of 2023.

ASSET/LIABILITY MANAGEMENT

Cash and Cash Equivalents

Cash and cash equivalents increased $1,313,000 from $40,333,000 at December 31, 2022 to $41,646,000 at March 31, 2023, primarily as a result of the following activity during the three months ended March 31, 2023.

Loans Held for Sale

Activity regarding loans held for sale resulted in sales proceeds being greater than loan originations, less $231,000 in realized gains, by $1,593,000 for the three months ended March 31, 2023.

Loans

Gross loans increased $60,292,000 since December 31, 2022 due primarily to an increase in both residential and commercial real estate mortgage categories in addition to consumer automobile loans increasing as used car inventories continue to rebound from historically low levels.

36

Table of Contents

The allocation of the loan portfolio, by category, as of March 31, 2023 and December 31, 2022 is presented below:
 March 31, 2023December 31, 2022Change
(In Thousands)Amount% TotalAmount% TotalAmount%
Commercial, financial, and agricultural$200,432 11.79 %$190,461 11.62 %$9,971 5.24 %
Real estate mortgage:      
Residential723,932 42.58 708,209 43.19 15,723 2.22 %
Commercial509,466 29.97 500,632 30.53 8,834 1.76 %
Construction47,121 2.77 43,308 2.64 3,813 8.80 %
Consumer automobile loans207,747 12.22 186,112 11.35 21,635 11.62 %
Other consumer installment loans10,400 0.61 10,361 0.63 39 0.38 %
Net deferred loan fees and discounts925 0.06 648 0.04 277 42.75 %
Gross loans$1,700,023 100.00 %$1,639,731 100.00 %$60,292 3.68 %
 
Investments

The fair value of the investment debt securities portfolio at March 31, 2023 increased $3,517,000 since December 31, 2022, while the amortized cost of the portfolio increased $1,123,000.  The increase in the investment portfolio amortized value occurred within the mortgage-backed segment of the portfolio. The state and political segment declined as bonds matured. The other debt segment balances remained constant and consists primarily of corporate bonds. The municipal segment was flat as cash flow was reinvested into primarily bonds with a final maturity of one to five years. The portfolio continues to be actively managed in order to reduce interest rate and market risk. The unrealized losses within the debt securities portfolio are the result of market activity, not credit issues/ratings, as approximately 85.51% of the debt securities portfolio on an amortized cost basis is currently rated A or higher by either S&P or Moody’s.

The Company considers various factors, which include examples from applicable accounting guidance, when analyzing the available for sale portfolio for possible other than temporary impairment.  The Company primarily considers the following factors in its analysis: length of time and severity of the fair value being less than carrying value; reduction of dividend paid (equities); continued payment of dividend/interest, credit rating, and financial condition of an issuer; intent and ability to hold until anticipated recovery (which may be maturity); and general outlook for the economy, specific industry, and entity in question.

The bond portion of the portfolio review is conducted with emphases on several factors.  Continued payment of principal and interest is given primary importance with credit rating and financial condition of the issuer following as the next most important.  Credit ratings were reviewed with the ratings of the bonds being satisfactory.  Bonds that were not currently rated were discussed with a third party and/or underwent an internal financial review. Each bond is reviewed to determine whether it is a general obligation bond, which is backed by the credit and taxing power of the issuing jurisdiction, or a revenue bond, which is only payable from specified revenues.  Based on the review undertaken by the Company, the Company determined that the decline in value of the various bond holdings were temporary and were the result of the general market downturns and interest rate/yield curve changes, not credit issues.  The fact that almost all of such bonds are general obligation bonds further solidified the Company’s determination that the decline in the value of these bond holdings is temporary.

The fair value of the equity portfolio continues to fluctuate as the economic and political environment continues to impact stock pricing. The amortized cost of the available for sale equity securities portfolio has remained flat at $1,350,000 for March 31, 2023 and December 31, 2022 while the fair value increased $21,000 over the same time period.












37

Table of Contents

The distribution of credit ratings by amortized cost and fair values for the debt security portfolio at March 31, 2023 follows:
 A- to AAAB- to BBB+C- to CCC+Not RatedTotal
(In Thousands)Amortized CostFair ValueAmortized CostFair ValueAmortized CostFair ValueAmortized CostFair ValueAmortized CostFair Value
Available for sale (AFS):        
U.S. Government and agency securities$504$483$$$$$2,498$2,437$3,002$2,920
Mortgage-backed securities 8,1597,9528,1597,952
State and political securities143,652137,39580802,2662,217145,998139,692
Other debt securities24,87523,1435,3244,86919,86718,61450,06646,626
Total debt securities AFS$177,190$168,973$5,404$4,949$$$24,631$23,268$207,225$197,190
 
Financing Activities

Deposits

Total deposits increased $82,375,000 from December 31, 2022 to March 31, 2023. Time deposits increased $53,254,000 over this period to a total of $191,203,000 as deposit gathering efforts focused on time deposits as customers sought a higher return on their deposit balances. Brokered deposits increased in usage as they provided an alternative to FHLB borrowings. Core deposits (deposits less time deposits) remained stable as deposit balances flowed from noninterest-bearing and lower rate products into higher rate products such as money market accounts. Emphasis has been on increasing the utilization of electronic (internet and mobile) deposit banking among our customers. Utilization of internet and mobile banking products has increased due to these efforts coupled with a change in consumer behavior over the past several years.

Deposit balances and their changes for the periods being discussed follow:
 March 31, 2023December 31, 2022Change
(In Thousands)Amount% TotalAmount% TotalAmount%
Demand deposits$502,352 30.65 %$519,063 33.35 %$(16,711)(3.22)%
NOW accounts363,548 22.18 372,574 23.94 (9,026)(2.42)
Money market deposits300,273 18.32 270,589 17.38 29,684 10.97 
Savings deposits239,526 14.62 247,952 15.93 (8,426)(3.40)
Time deposits191,203 11.67 137,949 8.86 53,254 38.60 
Brokered deposits41,933 2.56 8,333 0.54 33,600 2.16 
 Total deposits$1,638,835 100.00 %$1,556,460 100.00 %$82,375 5.29 %

As of March 31, 2023 and December 31, 2022 the Company had $633,342,000 and $617,515,000, respectively, in uninsured deposits. Included in the total uninsured deposits is a concentration of public funds which were collateralized by the Banks in the amount of $199,812,000 and $180,252,000 at March 31, 2023 and December 31, 2022, respectively. Total uninsured deposits less collateralized public funds was $433,530,000 at March 31, 2023 and $437,263,000 at December 31, 2022.

Borrowed Funds

Total borrowed funds decreased 10.27%, or $26,292,000, to $229,840,000 at March 31, 2023 compared to $256,132,000 at December 31, 2022. The increase in long term borrowings occurred as fixed rate borrowings were initiated to lock in interest rates and to reduce the usage of FHLB overnight borrowings. Securities sold under agreements to repurchase have decreased as customers balances have decreased.

38

Table of Contents

 March 31, 2023December 31, 2022Change
(In Thousands)Amount% TotalAmount% TotalAmount%
Short-term borrowings:      
FHLB repurchase agreements$92,853 40.40 %$148,195 57.86 %$(55,342)100.00 %
Securities sold under agreement to repurchase4,249 1.85 5,154 2.01 (905)(17.56)
Total short-term borrowings97,102 42.25 153,349 59.87 (56,247)(36.68)
Long-term borrowings:
Long-term FHLB borrowings125,000 54.38 95,000 37.09 30,000 31.58 
Long-term finance lease7,738 3.37 7,783 3.04 (45)(0.58)
Total long-term borrowings132,738 57.75 102,783 40.13 29,955 29.14 
Total borrowed funds$229,840 100.00 %$256,132 100.00 %$(26,292)(10.27)%


Short-Term Borrowings

The following table provides further information in regards to secured borrowings that have been accounted for as repurchase agreements.
Remaining Contractual Maturity Overnight and Continuous
(In Thousands)March 31, 2023December 31, 2022
Investment debt securities pledged, fair value$6,923 $7,165 
Repurchase agreements4,249 5,153 

Capital

The adequacy of the Company’s capital is reviewed on an ongoing basis with reference to the size, composition, and quality of the Company’s resources and regulatory guidelines.  Management seeks to maintain a level of capital sufficient to support existing assets and anticipated asset growth, maintain favorable access to capital markets, and preserve high quality credit ratings.

Banking institutions are generally required to comply with risk-based capital guidelines set by bank regulatory agencies.  The risk-based capital rules are designed to make regulatory capital requirements more sensitive to differences in risk profiles among banks and bank holding companies and to minimize disincentives for holding liquid assets.  Specifically, each is required to maintain certain minimum dollar amounts and ratios of common equity tier I risk-based, tier I risk-based, total risk-based, and tier I leverage capital. In addition to the capital requirements, the Federal Deposit Insurance Corporation Improvements Act ("FDICIA") established five capital categories for banks ranging from “well capitalized” to “critically undercapitalized” for purposes of the FDIC's prompt corrective action rules. To be classified as “well capitalized” under the prompt corrective action rules, common equity tier I risk-based, tier I risked-based, total risk-based, and tier I leverage capital ratios must be at least 6.5%, 8%, 10%, and 5%, respectively.

Under existing capital rules, the minimum capital to risk-adjusted assets requirements for banking organizations are a common equity tier 1 capital ratio of 4.5% (6.5% to be considered “well capitalized”), a tier 1 capital ratio of 6.0% (8.0% to be considered “well capitalized”), and total capital ratio of 8.0% (10.0% to be considered “well capitalized”).  Under existing capital rules, in order to avoid limitations on capital distributions (including dividend payments and certain discretionary bonus payments to executive officers), a banking organization must hold a capital conservation buffer comprised of common equity tier 1 capital above its minimum risk-based capital requirements in an amount greater than 2.5% of total risk-weighted assets. 









39

Table of Contents

The Company's capital ratios as of March 31, 2023 and December 31, 2022 were as follows:
 March 31, 2023December 31, 2022
(In Thousands)AmountRatioAmountRatio
Common Equity Tier I Capital (to Risk-weighted Assets)    
Actual$169,765 9.867 %$165,346 9.973 %
For Capital Adequacy Purposes77,424 4.500 74,607 4.500 
Minimum To Maintain Capital Conservation Buffer At Reporting Date120,437 7.000 116,056 7.000 
To Be Well Capitalized111,835 6.500 107,766 6.500 
Total Capital (to Risk-weighted Assets)   
Actual$183,419 10.661 %$181,127 10.925 %
For Capital Adequacy Purposes137,637 8.000 132,633 8.000 
Minimum To Maintain Capital Conservation Buffer At Reporting Date180,649 10.500 174,081 10.500 
To Be Well Capitalized172,047 10.000 165,791 10.000 
Tier I Capital (to Risk-weighted Assets)   
Actual$169,765 9.867 %$165,346 9.973 %
For Capital Adequacy Purposes103,232 6.000 99,476 6.000 
Minimum To Maintain Capital Conservation Buffer At Reporting Date146,245 8.500 140,925 8.500 
To Be Well Capitalized137,643 8.000 132,635 8.000 
Tier I Capital (to Average Assets)   
Actual$169,765 8.547 %$165,346 8.636 %
For Capital Adequacy Purposes79,450 4.000 76,585 4.000 
To Be Well Capitalized99,313 5.000 95,731 5.000 
 
Jersey Shore State Bank's capital ratios as of March 31, 2023 and December 31, 2022 were as follows:
 March 31, 2023December 31, 2022
(In Thousands)AmountRatioAmountRatio
Common Equity Tier I Capital (to Risk-weighted Assets)    
Actual$122,428 9.681 %$119,783 9.781 %
For Capital Adequacy Purposes56,908 4.500 55,109 4.500 
Minimum To Maintain Capital Conservation Buffer At Reporting Date88,523 7.000 85,725 7.000 
To Be Well Capitalized82,200 6.500 79,602 6.500 
Total Capital (to Risk-weighted Assets)   
Actual$133,875 10.587 %$131,379 10.728 %
For Capital Adequacy Purposes101,162 8.000 97,971 8.000 
Minimum To Maintain Capital Conservation Buffer At Reporting Date132,775 10.500 128,587 10.500 
To Be Well Capitalized126,452 10.000 122,464 10.000 
Tier I Capital (to Risk-weighted Assets)- - 
Actual$122,428 9.681 %$119,783 9.781 %
For Capital Adequacy Purposes75,877 6.000 73,479 6.000 
Minimum To Maintain Capital Conservation Buffer At Reporting Date107,493 8.500 104,095 8.500 
To Be Well Capitalized101,170 8.000 97,972 8.000 
Tier I Capital (to Average Assets)   
Actual$122,428 8.308 %$119,783 8.383 %
For Capital Adequacy Purposes58,945 4.000 57,155 4.000 
To Be Well Capitalized73,681 5.000 71,444 5.000 





40

Table of Contents

Luzerne Bank's capital ratios as of March 31, 2023 and December 31, 2022 were as follows:
 March 31, 2023December 31, 2022
(In Thousands)AmountRatioAmountRatio
Common Equity Tier I Capital (to Risk-weighted Assets)    
Actual$46,049 10.099 %$43,364 9.877 %
For Capital Adequacy Purposes20,519 4.500 19,757 4.500 
Minimum To Maintain Capital Conservation Buffer At Reporting Date31,918 7.000 30,733 7.000 
To Be Well Capitalized29,638 6.500 28,538 6.500 
Total Capital (to Risk-weighted Assets)   
Actual$48,256 10.583 %$47,549 10.830 %
For Capital Adequacy Purposes36,478 8.000 35,124 8.000 
Minimum To Maintain Capital Conservation Buffer At Reporting Date47,878 10.500 46,100 10.500 
To Be Well Capitalized45,598 10.000 43,905 10.000 
Tier I Capital (to Risk-weighted Assets)   
Actual$46,049 10.099 %$43,364 9.877 %
For Capital Adequacy Purposes27,359 6.000 26,342 6.000 
Minimum To Maintain Capital Conservation Buffer At Reporting Date38,758 8.500 37,318 8.500 
To Be Well Capitalized36,478 8.000 35,123 8.000 
Tier I Capital (to Average Assets)   
Actual$46,049 8.490 %$43,364 8.260 %
For Capital Adequacy Purposes21,696 4.000 21,000 4.000 
To Be Well Capitalized27,120 5.000 26,249 5.000 

Liquidity; Interest Rate Sensitivity and Market Risk

The asset/liability committee addresses the liquidity needs of the Company to ensure that sufficient funds are available to meet credit demands and deposit withdrawals as well as to the placement of available funds in the investment portfolio.  In assessing liquidity requirements, equal consideration is given to the current position as well as the future outlook.

The following liquidity measures are monitored for compliance and were within the limits cited, with the exception of net loans to total deposits that was 103%, at March 31, 2023:

1.            Net Loans to Total Assets, 85% maximum
2.              Net Loans to Total Deposits, 100% maximum
3.              Cumulative 90 day Maturity GAP %, +/- 15% maximum
4.              Cumulative 1 Year Maturity GAP %, +/- 20% maximum

Fundamental objectives of the Company’s asset/liability management process are to maintain adequate liquidity while minimizing interest rate risk. The maintenance of adequate liquidity provides the Company with the ability to meet its financial obligations to depositors, loan customers, and shareholders. Additionally, it provides funds for normal operating expenditures and business opportunities as they arise.  The objective of interest rate sensitivity management is to increase net interest income by managing interest sensitive assets and liabilities in such a way that they can be repriced in response to changes in market interest rates.

The Banks, like other financial institutions, must have sufficient funds available to meet liquidity needs for deposit withdrawals, loan commitments and originations, and expenses. In order to control cash flow, the Banks estimate future cash flows from deposits, loan payments, and investment security payments. The primary sources of funds are deposits, principal and interest payments on loans and investment securities, FHLB borrowings, and brokered deposits. Management believes the Banks have adequate resources to meet their normal funding requirements.

Management monitors the Company’s liquidity on both a long and short-term basis, thereby providing management necessary information to react to current balance sheet trends. Cash flow needs are assessed and sources of funds are determined. Funding strategies consider both customer needs and economical cost. Both short and long-term funding needs are addressed by maturities and sales of available for sale and trading investment securities, loan repayments and maturities, and liquidating
41

Table of Contents

money market investments such as federal funds sold. The use of these resources, in conjunction with access to credit, provides core funding to satisfy depositor, borrower, and creditor needs.

Management monitors and determines the desirable level of liquidity. Consideration is given to loan demand, investment opportunities, deposit pricing and growth potential, as well as the current cost of borrowing funds. The Company has a total current maximum borrowing capacity at the FHLB of $787,689,000. In addition to this credit arrangement, the Company has additional lines of credit with correspondent banks of $100,000,000. Management believes it has sufficient liquidity to satisfy estimated short-term and long-term funding needs. FHLB borrowings totaled $217,853,000 as of March 31, 2023.

Interest rate sensitivity, which is closely related to liquidity management, is a function of the repricing characteristics of the Company’s portfolio of assets and liabilities. Asset/liability management strives to match maturities and rates between loan and investment security assets with the deposit liabilities and borrowings that fund them. Successful asset/liability management results in a balance sheet structure which can cope effectively with market rate fluctuations. The matching process segments both assets and liabilities into future time periods (usually 12 months, or less) based upon when repricing can be effected. Repriceable assets are subtracted from repriceable liabilities for a specific time period to determine the “gap”, or difference. Once known, the gap is managed based on predictions about future market interest rates. Intentional mismatching, or gapping, can enhance net interest income if market rates move as predicted.  However, if market rates behave in a manner contrary to predictions, net interest income will suffer. Gaps, therefore, contain an element of risk and must be prudently managed. In addition to gap management, the Company has an asset/liability management policy which incorporates a market value at risk calculation which is used to determine the effects of interest rate movements on shareholders’ equity and a simulation analysis to monitor the effects of interest rate changes on the Company’s consolidated balance sheet.

The Company currently maintains a gap position of being asset sensitive.  The Company has strategically taken this position as it has previously decreased the duration of the earning asset portfolio by adding quality short and intermediate term loans such as home equity loans.  The Company has added certain longer-term earning assets due to the significant increase in interest rates. Lengthening of the liability portfolio, primarily time deposits, has been undertaken to build protection during the current rising rate environment.

A market value at risk calculation is utilized to monitor the effects of interest rate changes on the Company’s balance sheet and more specifically shareholders’ equity.  The Company does not manage the balance sheet structure in order to maintain compliance with this calculation.  The calculation serves as a guideline with greater emphasis placed on interest rate sensitivity.  Changes to calculation results from period to period are reviewed as changes in results could be a signal of future events.  As of the most recent analysis, the results of the market value at risk calculation were within established guidelines due to the strategic direction being taken.

Interest Rate Sensitivity

In this analysis the Company examines the result of a 100, 200, 300, and 400 basis point change in market interest rates and the effect on net interest income. It is assumed that the change is instantaneous and that all rates move in a parallel manner.  Assumptions are also made concerning prepayment speeds on mortgage loans and mortgage securities.

The following is a rate shock forecast for the twelve month period ending March 31, 2024 assuming a static balance sheet as of March 31, 2023.
 Parallel Rate Shock in Basis Points
(In Thousands)-300-200-100Static+100+200+300+400
Net interest income$61,690 $64,089 $66,083 $67,784 $69,065 $70,239 $71,375 $72,490 
Change from static(6,094)(3,695)(1,701)— 1,281 2,455 3,591 4,706 
Percent change from static-8.99 %-5.45 %-2.51 %— 1.89 %3.62 %5.30 %6.94 %
 
The model utilized to create the report presented above makes various estimates at each level of interest rate change regarding cash flow from principal repayment on loans and mortgage-backed securities and/or call activity on investment securities.  Actual results could differ significantly from these estimates which would result in significant differences in the calculated projected change.  In addition, the limits stated above do not necessarily represent the level of change under which management would undertake specific measures to realign its portfolio in order to reduce the projected level of change.  Generally, management believes the Company is well positioned to respond expeditiously when the market interest rate outlook changes.

42

Table of Contents

Inflation

Substantially all of the Company's assets and liabilities relate to banking activities and are monetary. The consolidated financial statements and related financial data are presented following GAAP. GAAP currently requires the Company to measure the financial position and results of operations in terms of historical dollars, except for securities available for sale, impaired loans, and other real estate loans that are measured at fair value. Changes in the value of money due to rising inflation can cause purchasing power loss.

Management's opinion is that movements in interest rates affect the financial condition and results of operations to a greater degree than changes in the rate of inflation. It should be noted that interest rates and inflation do affect each other but do not always move in correlation with each other. The Company's ability to match the interest sensitivity of its financial assets to the interest sensitivity of its liabilities in its asset/liability management may tend to minimize the effect of changes in interest rates on the Company's performance.

Item 3.  Quantitative and Qualitative Disclosures About Market Risk

Market risk for the Company is comprised primarily of interest rate risk exposure and liquidity risk.  Interest rate risk and liquidity risk management is performed at both the level of the Company and the Banks.  The Company’s interest rate sensitivity is monitored by management through selected interest rate risk measures produced by an independent third party.  There have been no substantial changes in the Company’s gap analysis or simulation analysis compared to the information provided in the Annual Report on Form 10-K for the period ended December 31, 2022.  Additional information and details are provided in the “Liquidity, Interest Rate Sensitivity, and Market Risk” section of “Item 7. Management’s Discussion and Analysis of Financial Condition and Results of Operations” of that document.

Generally, management believes the Company is well positioned to respond in a timely manner when the market interest rate outlook changes.

Item 4.  Controls and Procedures

Evaluation of Disclosure Controls and Procedures

An analysis was performed under the supervision and with the participation of the Company’s management, including the Chief Executive Officer and the Chief Financial Officer, of the effectiveness of the design and operation of the Company’s disclosure controls and procedures. Based on that evaluation, the Company’s Chief Executive Officer and Chief Financial Officer concluded that the Company’s disclosure controls and procedures were effective as of March 31, 2023.

Changes in Internal Control over Financial Reporting

During the quarter ended March 31, 2023, the Company implemented new CECL accounting policies, procedures, and controls as part of its adoption of ASU No. 2016-13 and subsequent ASUs issued to amend ASC Topic 326. There were no other changes made to the Company’s internal control over financial reporting that occurred during the quarter ended March 31, 2023 that materially affected, or are reasonably likely to materially affect, the Company’s internal control over financial reporting.
43

Table of Contents

Part II.  OTHER INFORMATION
Item 1.                           Legal Proceedings

None.

Item 1A.  Risk Factors

Certain risk factors are set forth in Part I, Item 1A, “Risk Factors,” of the Company’s Annual Report on Form 10-K for the year ended December 31, 2022. Such risk factors are supplemented by adding the following:

The recent failures of three large banks in the United States have resulted in trading volatility in financial institution stocks, negative media coverage, and customer concerns regarding insured deposit coverage, all of which could adversely affect our financial condition and results of operations.

In March through early May 2023, three large banks, Silicon Valley Bank (Santa Clara, California; $209.0 billion in assets), Signature Bank (New York, New York; $110.4 billion in assets), and First Republic Bank (San Francisco, California; $229.1 billion in assets) were closed by applicable state banking regulators and the FDIC was named as receiver in each case. These banks had relatively high levels of uninsured deposits and experienced significant outflows of deposits preceding their failures. The failures have resulted in negative media attention, concerns of bank customers generally on FDIC deposit insurance coverage, and significant market volatility for financial institution stocks. These events have also resulted in increased focus by financial institutions, investors, customers, and banking regulators on liquidity and funding sources, the composition of deposits and levels of uninsured deposits, interest rate risk management, the amount and nature of potential other accumulated losses relating to financial institution securities portfolios, and capital levels. These events may also result in increased levels of regulatory scrutiny and regulation designed to address regulatory concerns, which may increase costs, including possible increases in FDIC insurance premiums across the industry. If we are unable to successfully manage our deposits, liquidity and funding, interest rate risk, and capital, and the costs resulting from any new regulatory requirements, it may adversely affect our financial condition and results of operations.

Item 2.                           Unregistered Sales of Equity Securities and Use of Proceeds

The following table provides certain information with respect to the Company's repurchase of common stock during the quarter ended March 31, 2023.
PeriodTotal
Number of
Shares (or
Units) Purchased
Average
Price Paid
per Share
(or Units) Purchased
Total Number of
Shares (or Units)
Purchased as Part of
Publicly Announced Plans or Programs
Maximum Number (or
Approximate Dollar Value)
of Shares (or Units) that
May Yet Be Purchased Under the Plans or Programs
Month #1 (January 1 - January 31, 2023)— $— — 324,000 
Month #2 (February 1 - February 28, 2023)— — — 324,000 
Month #3 (March 1 - March 31, 2023)— — — 324,000 

Item 3.                           Defaults Upon Senior Securities
 
None.
 
Item 4.                           Mine Safety Disclosures
 
Not applicable.
 
Item 5.                           Other Information
 
None.
 
44

Table of Contents

Item 6.                           Exhibits
 
 Articles of Incorporation of the Registrant (incorporated by reference to Exhibit 3(i) of the Registrant's Annual Report on Form 10-K for the year ended December 31, 2022).
 Bylaws of the Registrant (incorporated by reference to Exhibit 3(ii) of the Registrant's Annual Report on Form 10-K for the year ended December 31, 2020).
 Rule 13a-14(a)/Rule 15d-14(a) Certification of Chief Executive Officer.
 Rule 13a-14(a)/Rule 15d-14(a) Certification of Chief Financial Officer.
 Section 1350 Certification of Chief Executive Officer.
 Section 1350 Certification of Chief Financial Officer.
101 Interactive data file containing the following financial statements formatted in XBRL (Extensible Business Reporting Language): (i) the Consolidated Balance Sheet at March 31, 2023 and December 31, 2022; (ii) the Consolidated Statement of Income for the three months ended March 31, 2023 and 2022; (iii) Consolidated Statement of Comprehensive Income for the three months ended March 31, 2023 and 2022; (iv) the Consolidated Statement of Shareholders’ Equity for the three months ended March 31, 2023 and 2022; (v) the Consolidated Statement of Cash Flows for the three months ended March 31, 2023 and 2022 and (vi) the Notes to Consolidated Financial Statements. As provided in Rule 406T of Regulation S-T, this interactive data file shall not be deemed to be “filed” for purposes of Section 18 of the Securities Exchange Act of 1934, and shall not be deemed “filed” or part of any registration statement or prospectus for purposes of Section 11 or 12 under the Securities Act of 1933, or otherwise subject to liability under those sections.
104Cover page interactive data file (formatted as inline XBRL and contained in Exhibit 101).
45

Table of Contents

SIGNATURES

Pursuant to the requirements of the Securities Exchange Act of 1934, the Registrant has duly caused this report to be signed on its behalf by the undersigned thereunto duly authorized.
 
 PENNS WOODS BANCORP, INC.
 (Registrant)
  
Date:    May 15, 2023/s/ Richard A. Grafmyre
 Richard A. Grafmyre, Chief Executive Officer
 (Principal Executive Officer)
  
  
Date:May 15, 2023/s/ Brian L. Knepp
 Brian L. Knepp, President and Chief Financial Officer
 (Principal Financial Officer and Principal Accounting
 Officer)
46


Exhibit 31(i)
 
Rule 13a-14(a)/Rule 15d-14(a) Certification of Chief Executive Officer
 
I, Richard A. Grafmyre, certify that:
 
1.             I have reviewed this quarterly report on Form 10-Q of Penns Woods Bancorp, Inc.;
 
2.             Based on my knowledge, this report does not contain any untrue statement of a material fact or omit to state a material fact necessary to make the statements made, in light of the circumstances under which such statements were made, not misleading with respect to the period covered by this report;
 
3.             Based on my knowledge, the financial statements, and other financial information included in this report, fairly present in all material respects the financial condition, results of operations and cash flows of the Registrant as of, and for, the periods presented in this report;
 
4.             The registrant’s other certifying officer and I are responsible for establishing and maintaining disclosure controls and procedures (as defined in Exchange Act Rules 13a-15(e) and 15d-15(e)), and internal control over financial reporting (as defined in Exchange Act Rules 13a-15(f) and 15d-15(f)) for the Registrant and have:
 
a.              designed such disclosure controls and procedures, or caused such disclosure controls and procedures to be designed under our supervision, to ensure that material information relating to the registrant, including its consolidated subsidiaries, is made known to us by others within those entities, particularly during the period in which this report is being prepared;
 
b.              designed such internal control over financial reporting, or caused such internal control over financial reporting to be designed under our supervision, to provide reasonable assurance regarding the reliability of financial reporting and the preparation of financial statements for external purposes in accordance with generally accepted accounting principles;
 
c.               evaluated the effectiveness of the registrant’s disclosure controls and procedures and presented in this report our conclusions about the effectiveness of the disclosure controls and procedures, as of the end of the period covered by this report based on such evaluation; and
 
d.              disclosed in this report any change in the registrant’s internal control over financial reporting that occurred during the registrant’s most recent fiscal quarter (the registrant’s fourth fiscal quarter in the case of an annual report) that has materially affected, or is reasonably likely to materially affect, the registrant’s internal control over financial reporting; and
 
5.             The registrant’s other certifying officer and I have disclosed, based on our most recent evaluation of internal control over financial reporting, to the registrant’s auditors and the audit committee of the registrant’s board of directors (or persons performing equivalent functions):
 
a.              all significant deficiencies and material weaknesses in the design or operation of internal control over financial reporting which are reasonably likely to adversely affect the registrant’s ability to record, process, summarize and report financial information; and
 
b.              any fraud, whether or not material, that involves management or other employees who have a significant role in the registrant’s internal control over financial reporting.
 
Date: May 15, 2023/s/ Richard A. Grafmyre
 Richard A. Grafmyre
 Chief Executive Officer
 (Principal Executive Officer)


Exhibit 31(ii)
 
Rule 13a-14(a)/Rule 15d-14(a) Certification of Chief Financial Officer
 
I, Brian L. Knepp, certify that:
 
1.             I have reviewed this quarterly report on Form 10-Q of Penns Woods Bancorp, Inc.;
 
2.             Based on my knowledge, this report does not contain any untrue statement of a material fact or omit to state a material fact necessary to make the statements made, in light of the circumstances under which such statements were made, not misleading with respect to the period covered by this report;
 
3.             Based on my knowledge, the financial statements, and other financial information included in this report, fairly present in all material respects the financial condition, results of operations and cash flows of the registrant as of, and for, the periods presented in this report;
 
4.             The registrant’s other certifying officer and I are responsible for establishing and maintaining disclosure controls and procedures (as defined in Exchange Act Rules 13a-15(e) and 15d-15(e)), and internal control over financial reporting (as defined in Exchange Act Rules 13a-15(f) and 15d-15(f)) for the registrant and have:
 
a.              designed such disclosure controls and procedures, or caused such disclosure controls and procedures to be designed under our supervision, to ensure that material information relating to the registrant, including its consolidated subsidiaries, is made known to us by others within those entities, particularly during the period in which this report is being prepared;
 
b.              designed such internal control over financial reporting, or caused such internal control over financial reporting to be designed under our supervision, to provide reasonable assurance regarding the reliability of financial reporting and the preparation of financial statements for external purposes in accordance with generally accepted accounting principles;
 
c.               evaluated the effectiveness of the registrant’s disclosure controls and procedures and presented in this report our conclusions about the effectiveness of the disclosure controls and procedures, as of the end of the period covered by this report based on such evaluation; and
 
d.              disclosed in this report any change in the registrant’s internal control over financial reporting that occurred during the registrant’s most recent fiscal quarter (the registrant’s fourth fiscal quarter in the case of an annual report) that has materially affected, or is reasonably likely to materially affect, the registrant’s internal control over financial reporting; and
 
5.             The registrant’s other certifying officer and I have disclosed, based on our most recent evaluation of internal control over financial reporting, to the registrant’s auditors and the audit committee of the registrant’s board of directors (or persons performing equivalent functions):
 
a.              all significant deficiencies and material weaknesses in the design or operation of internal control over financial reporting which are reasonably likely to adversely affect the registrant’s ability to record, process, summarize and report financial information; and
 
b.              any fraud, whether or not material, that involves management or other employees who have a significant role in the registrant’s internal control over financial reporting.
 
Date: May 15, 2023/s/ Brian L. Knepp
 Brian L. Knepp
 President and Chief Financial Officer
 (Principal Financial Officer and Principal Accounting Officer)


Exhibit 32 (i)
 
CERTIFICATION SECTION 1350
 
In connection with the Quarterly Report of Penns Woods Bancorp, Inc. (the “Company”) on Form 10-Q for the period ending March 31, 2023, as filed with the Securities and Exchange Commission on the date hereof (the “Report”), I, Richard A. Grafmyre, Chief Executive Officer, certify, pursuant to 18 U.S.C. Section 1350, as adopted pursuant to Section 906 of the Sarbanes-Oxley Act of 2002, that:
 
(1)                                 the Report fully complies with the requirements of Section 13(a) or 15(d) of the Securities Exchange Act of 1934; and
 
(2)                                 the information contained in the Report fairly presents, in all material respects, the financial condition and result of operations of the Company.
 
/s/ Richard A. Grafmyre 
Richard A. Grafmyre 
Chief Executive Officer 
  
May 15, 2023 


Exhibit 32 (ii)
 
CERTIFICATION SECTION 1350
 
In connection with the Quarterly Report of Penns Woods Bancorp, Inc. (the “Company”) on Form 10-Q for the period ending March 31, 2023, as filed with the Securities and Exchange Commission on the date hereof (the “Report”), I, Brian L. Knepp, Chief Financial Officer, certify, pursuant to 18 U.S.C. Section 1350, as adopted pursuant to Section 906 of the Sarbanes-Oxley Act of 2002, that:
 
(1)                                 the Report fully complies with the requirements of Section 13(a) or 15(d) of the Securities Exchange Act of 1934; and
 
(2)                                 the information contained in the Report fairly presents, in all material respects, the financial condition and result of operations of the Company.
 
/s/ Brian L. Knepp 
Brian L. Knepp 
President and Chief Financial Officer 
  
May 15, 2023 

v3.23.1
Cover Page - shares
3 Months Ended
Mar. 31, 2023
May 01, 2023
Cover [Abstract]    
Document Type 10-Q  
Document Quarterly Report true  
Document Period End Date Mar. 31, 2023  
Document Transition Report false  
Entity File Number 0-17077  
Entity Registrant Name PENNS WOODS BANCORP INC  
Entity Incorporation, State or Country Code PA  
Entity Address, Address Line One 300 Market Street, P.O. Box 967  
Entity Tax Identification Number 23-2226454  
Entity Address, City or Town Williamsport  
Entity Address, State or Province PA  
Postal Zip Code 17703-0967  
City Area Code 570  
Local Phone Number 322-1111  
Title of 12(b) Security Common stock, $5.55 par value  
Trading Symbol PWOD  
Security Exchange Name NASDAQ  
Entity Current Reporting Status Yes  
Entity Other Identification Type Yes  
Entity Filer Category Non-accelerated Filer  
Smaller Reporting Company true  
Emerging Growth Company false  
Entity Shell Company false  
Entity Common Stock, Shares Outstanding (in shares)   7,062,943
Entity Central Index Key 0000716605  
Amendment Flag false  
Current Fiscal Year End Date --12-31  
Document Fiscal Year Focus 2023  
Document Fiscal Period Focus Q1  

v3.23.1
CONSOLIDATED BALANCE SHEET (UNAUDITED) - USD ($)
$ in Thousands
Mar. 31, 2023
Dec. 31, 2022
ASSETS:    
Noninterest-bearing balances $ 31,701 $ 27,390
Interest-bearing balances in other financial institutions 9,945 12,943
Total cash and cash equivalents 41,646 40,333
Investment debt securities, available for sale, at fair value 197,190 193,673
Investment equity securities, at fair value 1,163 1,142
Restricted investment in bank stock 18,656 19,171
Loans held for sale 1,705 3,298
Loans 1,700,023 1,639,731
Allowance for credit losses (11,734) (15,637)
Loans, net 1,688,289 1,624,094
Premises and equipment, net 31,602 31,844
Accrued interest receivable 9,357 9,481
Bank-owned life insurance 33,359 34,452
Investment in limited partnerships 8,529 8,656
Goodwill 16,450 16,450
Intangibles 292 327
Operating lease right-of-use asset 2,635 2,651
Deferred tax asset 5,741 6,868
Other assets 8,529 7,640
TOTAL ASSETS 2,065,143 2,000,080
LIABILITIES:    
Interest-bearing deposits 1,136,483 1,037,397
Noninterest-bearing deposits 502,352 519,063
Total deposits 1,638,835 1,556,460
Short-term borrowings 97,102 153,349
Long-term borrowings 132,738 102,783
Accrued interest payable 1,172 603
Operating lease liability 2,690 2,708
Other liabilities 18,636 16,512
TOTAL LIABILITIES 1,891,173 1,832,415
SHAREHOLDERS’ EQUITY:    
Preferred stock, no par value, 3,000,000 shares authorized; no shares issued 0 0
Common stock, par value $5.55, 22,500,000 shares authorized; 7,570,086 and 7,566,810 shares issued; 7,059,861 and 7,056,585 outstanding 42,057 42,039
Additional paid-in capital 54,572 54,252
Retained earnings 102,194 98,147
Accumulated other comprehensive loss:    
Net unrealized loss on available for sale securities (7,928) (9,819)
Defined benefit plan (4,110) (4,139)
Treasury stock at cost, 510,225 and 510,225 (12,815) (12,815)
TOTAL SHAREHOLDERS' EQUITY 173,970 167,665
TOTAL LIABILITIES AND SHAREHOLDERS’ EQUITY $ 2,065,143 $ 2,000,080

v3.23.1
CONSOLIDATED BALANCE SHEET (UNAUDITED) (Parenthetical) - USD ($)
$ in Thousands
Mar. 31, 2023
Dec. 31, 2022
Statement of Financial Position [Abstract]    
Preferred stock, par value (in dollars per share) $ 0 $ 0
Preferred stock, shares authorized (in shares) 3,000,000 3,000,000
Preferred stock, shares issued (in shares) 0 0
Common stock, par value (in dollars per share) $ 5.55 $ 5.55
Common stock, shares authorized (in shares) 22,500,000 22,500,000
Common stock, shares issued (in shares) 7,570,086 7,566,810
Common stock, shares outstanding (in shares) 7,059,861 7,056,585
Treasury stock (in shares) 510,225 510,225

v3.23.1
CONSOLIDATED STATEMENT OF INCOME (UNAUDITED) - USD ($)
$ in Thousands
3 Months Ended
Mar. 31, 2023
Mar. 31, 2022
INTEREST AND DIVIDEND INCOME:    
Loans, including fees $ 18,005 $ 13,038
Investment securities:    
Taxable 1,218 737
Tax-exempt 178 164
Dividend and other interest income 463 336
TOTAL INTEREST AND DIVIDEND INCOME 19,864 14,275
INTEREST EXPENSE:    
Deposits 3,372 788
Short-term borrowings 1,440 1
Long-term borrowings 754 633
TOTAL INTEREST EXPENSE 5,566 1,422
NET INTEREST INCOME 14,298 12,853
PROVISION FOR CREDIT LOSSES 71 150
NET INTEREST INCOME AFTER PROVISION FOR CREDIT LOSSES 14,227 12,703
NON-INTEREST INCOME:    
Net debt securities losses, available for sale (61) (2)
Net equity securities gains (losses) 21 (59)
Bank-owned life insurance 556 170
Gain on sale of loans 231 345
Other 179 207
TOTAL NON-INTEREST INCOME 2,257 2,412
NON-INTEREST EXPENSE:    
Salaries and employee benefits 6,176 6,264
Occupancy 866 910
Furniture and equipment 846 892
Software amortization 183 253
Pennsylvania shares tax 248 389
Professional fees 688 538
Federal Deposit Insurance Corporation deposit insurance 245 202
Marketing 155 64
Intangible amortization 35 43
Other 1,456 1,452
TOTAL NON-INTEREST EXPENSE 10,898 11,007
INCOME BEFORE INCOME TAX PROVISION 5,586 4,108
INCOME TAX PROVISION 928 676
Net Income $ 4,658 $ 3,432
Earnings per share - basic (in dollars per share) $ 0.66 $ 0.49
Earnings per share - diluted (in dollars per share) $ 0.64 $ 0.49
Weighted average shares outstanding - basic (in shares) 7,058,397 7,072,575
Weighted average shares outstanding - diluted (in shares) 7,334,197 7,072,575
Service charges    
NON-INTEREST INCOME:    
Revenue from contract with customer $ 496 $ 495
Insurance commissions    
NON-INTEREST INCOME:    
Revenue from contract with customer 165 170
Brokerage commissions    
NON-INTEREST INCOME:    
Revenue from contract with customer 165 200
Loan broker commissions    
NON-INTEREST INCOME:    
Revenue from contract with customer 170 541
Debit card income    
NON-INTEREST INCOME:    
Revenue from contract with customer $ 335 $ 345

v3.23.1
CONSOLIDATED STATEMENT OF COMPREHENSIVE INCOME (LOSS) - USD ($)
$ in Thousands
3 Months Ended
Mar. 31, 2023
Mar. 31, 2022
Statement of Comprehensive Income [Abstract]    
Net Income $ 4,658 $ 3,432
Other comprehensive income (loss):    
Net unrealized gain (loss) on available for sale securities 2,333 (6,897)
Tax effect (490) 1,448
Net realized loss on available for sale securities included in net income 61 2
Tax effect (13) 0
Amortization of unrecognized pension loss 37 17
Tax effect (8) (4)
Total other comprehensive income (loss) 1,920 (5,434)
Comprehensive income (loss) $ 6,578 $ (2,002)

v3.23.1
CONSOLIDATED STATEMENT OF CHANGES IN SHAREHOLDERS' EQUITY (UNAUDITED) - USD ($)
$ in Thousands
Total
Cumulative effect of adoption of ASU 2016-13
COMMON STOCK
ADDITIONAL PAID-IN CAPITAL
RETAINED EARNINGS
RETAINED EARNINGS
Cumulative effect of adoption of ASU 2016-13
ACCUMULATED OTHER COMPREHENSIVE LOSS
TREASURY STOCK
Beginning balance (in shares) at Dec. 31, 2021     7,550,272          
Beginning balance at Dec. 31, 2021 $ 172,274   $ 41,945 $ 53,795 $ 89,761   $ (1,112) $ (12,115)
Increase (Decrease) in Stockholders' Equity [Roll Forward]                
Net income 3,432       3,432      
Other comprehensive loss (5,434)           (5,434)  
Stock-based compensation 315     315        
Dividends declared (2,265)       (2,265)      
Common shares issued for employee stock purchase plan (in shares)     880          
Common shares issued for employee stock purchase plan 21   $ 5 16        
Director compensation plan (in shares)     3,415          
Director Compensation Plan 84   $ 19 65        
Ending balance (in shares) at Mar. 31, 2022     7,554,567          
Ending balance at Mar. 31, 2022 168,427   $ 41,969 54,191 90,928   (6,546) (12,115)
Beginning balance (in shares) at Dec. 31, 2021     7,550,272          
Beginning balance at Dec. 31, 2021 $ 172,274   $ 41,945 53,795 89,761   (1,112) (12,115)
Increase (Decrease) in Stockholders' Equity [Roll Forward]                
Accounting Standards Update [Extensible Enumeration] Accounting Standards Update 2016-13 [Member]              
Ending balance (in shares) at Dec. 31, 2022     7,566,810          
Ending balance at Dec. 31, 2022 $ 167,665 $ 1,647 $ 42,039 54,252 98,147 $ 1,647 (13,958) (12,815)
Increase (Decrease) in Stockholders' Equity [Roll Forward]                
Net income 4,658       4,658      
Other comprehensive loss 1,920           1,920  
Stock-based compensation 253     253        
Dividends declared (2,258)       (2,258)      
Common shares issued for employee stock purchase plan (in shares)     854          
Common shares issued for employee stock purchase plan 21   $ 5 16        
Director compensation plan (in shares)     2,422          
Director Compensation Plan 64   $ 13 51        
Ending balance (in shares) at Mar. 31, 2023     7,570,086          
Ending balance at Mar. 31, 2023 $ 173,970   $ 42,057 $ 54,572 $ 102,194   $ (12,038) $ (12,815)

v3.23.1
CONSOLIDATED STATEMENT OF CHANGES IN SHAREHOLDERS' EQUITY (UNAUDITED) (Parenthetical) - $ / shares
3 Months Ended
Mar. 31, 2023
Mar. 31, 2022
Statement of Stockholders' Equity [Abstract]    
Dividends declared per share (in dollars per share) $ 0.32 $ 0.32

v3.23.1
CONSOLIDATED STATEMENT OF CASH FLOWS (UNAUDITED) - USD ($)
$ in Thousands
3 Months Ended
Mar. 31, 2023
Mar. 31, 2022
OPERATING ACTIVITIES:    
Net Income $ 4,658 $ 3,432
Adjustments to reconcile net income to net cash provided by operating activities:    
Depreciation and amortization 807 948
Write down of leasehold improvements 0 254
Amortization of intangible assets 35 43
Provision for credit losses 71 150
Stock based compensation 253 315
Accretion and amortization of investment security discounts and premiums 162 343
Net securities losses, available for sale 61 2
Originations of loans held for sale (6,187) (9,140)
Proceeds of loans held for sale 8,011 11,850
Gain on sale of loans (231) (345)
Net equity securities (gains) losses (21) 59
Security trades payable 0 1,290
Earnings on bank-owned life insurance (556) (170)
Decrease (increase) in deferred tax asset 624 (175)
Other, net 3,419 (1,766)
Net cash provided by operating activities 11,106 7,090
INVESTING ACTIVITIES:    
Proceeds from sales of available for sale securities 12,913 90
Proceeds from calls and maturities of available for sale securities 2,120 920
Purchases of available for sale securities (16,379) (16,251)
Net increase in loans (64,266) (14,175)
Acquisition of premises and equipment (255) (92)
Purchase of bank-owned life insurance (6) (18)
Proceeds from bank-owned life insurance death benefit 1,655 2
Investment in limited partnership 0 (123)
Proceeds from redemption of regulatory stock 6,749 1,674
Purchases of regulatory stock (6,234) (938)
Net cash used for investing activities (63,703) (28,911)
FINANCING ACTIVITIES:    
Net increase (decrease) in interest-bearing deposits 99,086 (28,690)
Net (decrease) increase in noninterest-bearing deposits (16,711) 19,770
Proceeds from long-term borrowings 35,000 0
Repayment of long-term borrowings (5,000) (13,000)
Net (decrease) increase in short-term borrowings (56,247) 887
Finance lease principal payments (45) (45)
Dividends paid (2,258) (2,265)
Issuance of common stock 85 105
Net cash provided by (used for) financing activities 53,910 (23,238)
NET INCREASE (DECREASE) IN CASH AND CASH EQUIVALENTS 1,313 (45,059)
CASH AND CASH EQUIVALENTS, BEGINNING 40,333 263,862
CASH AND CASH EQUIVALENTS, ENDING 41,646 218,803
SUPPLEMENTAL DISCLOSURES OF CASH FLOW INFORMATION:    
Interest paid 4,997 1,602
Income taxes paid 7 10
Non-cash investing and financing activities:    
Transfer of loans to foreclosed real estate $ 0 $ 53

v3.23.1
Basis of Presentation
3 Months Ended
Mar. 31, 2023
Organization, Consolidation and Presentation of Financial Statements [Abstract]  
Basis of Presentation Basis of Presentation
 
The consolidated financial statements include the accounts of Penns Woods Bancorp, Inc. (the “Company”) and its wholly-owned subsidiaries: Woods Investment Company, Inc., Woods Real Estate Development Company, Inc., United Insurance Solutions, LLC., Luzerne Bank, and Jersey Shore State Bank (Jersey Shore State Bank and Luzerne Bank are referred to together as the “Banks”) and Jersey Shore State Bank’s wholly-owned subsidiary, The M Group, Inc. D/B/A The Comprehensive Financial Group (“The M Group”).  All significant inter-company balances and transactions have been eliminated in the consolidation.

The interim financial statements are unaudited, but in the opinion of management reflect all adjustments necessary for the fair presentation of results for such periods.  The results of operations for any interim period are not necessarily indicative of results for the full year.  These financial statements should be read in conjunction with the financial statements and notes thereto contained in the Company’s Annual Report on Form 10-K for the year ended December 31, 2022.

In reference to the attached financial statements, all adjustments are of a normal recurring nature pursuant to Rule 10-01(b) (8) of Regulation S-X.

CECL Adoption and Updated Significant Accounting Policy
On January 1, 2023, the Company adopted ASU 2016-13, Financial Instruments - Credit Losses (ASC Topic 326): Measurement of Credit Losses on Financial Instruments, which replaces the incurred loss methodology, and is referred to as CECL. The measurement of expected credit losses under CECL is applicable to financial assets measured at amortized cost, including loans and HTM debt securities. It also applies to off-balance sheet (“OBS”) credit exposures (loan commitments, standby letters of credit, financial guarantees, and other similar instruments.

The Company adopted CECL using the modified retrospective method for all financial assets measured at amortized cost, net of investments in leases and OBS credit exposures. Results for reporting periods beginning after January 1, 2023 are presented under CECL, while prior period results are reported in accordance with the previously applicable incurred loss methodology. The Company recorded an overall decrease of $3,789,000 to the Allowance for Credit Losses (“ACL”) on January 1, 2023 as a result of the adoption of CECL with an associated increase to retained earnings of $2,993,000 and decrease to deferred tax assets of $796,000. The Company also recorded a liability of $1,703,000 for OBS credit exposures that resulted in a decrease to retained earnings of $1,346,000 and an increase to deferred tax assets of $357,000.

Allowance for Credit Losses: The discussion that follows describes the methodology for determining the ACL under the CECL model that was adopted effective January 1, 2023. The allowance methodology for prior periods is disclosed in the Company’s 2022 Annual Report on Form 10-K.

The Company has elected to exclude accrued interest receivable from the measurement of its ACL. When a loan is placed on non-accrual status, any outstanding accrued interest is reversed against interest income.

Loans: The ACL for loans is an estimate of the expected losses to be realized over the life of the loans in the portfolio. The ACL is determined for two distinct categories of loans: 1) loans evaluated collectively for expected credit losses and 2) loans evaluated individually for expected credit losses. The ACL also includes certain qualitative adjustments to the CECL model.

Loans Evaluated Collectively: Management believes that internal credit ratings are the most relevant credit quality indicator for these types of loans, however; the Company does not assign internal credit ratings to smaller balance, homogeneous loans, such as home equity, residential mortgage, and consumer automobile loans. For these loans, the most relevant credit quality indicator is delinquency status and management evaluates credit quality based on the aging status of the loan. In order to determine the ACL:
Loans aggregated into pools based on similar risk characteristics.
The probability of default "PD" and loss given default rate "LGD" CECL model components are determined based on loss estimates driven by historical experience at the input level.
The PD model component uses "through the economic cycle transition" matrices based on the Company's historical loan and transaction data across each pool of loans.
The LGD model component calculates a lifetime LGD estimate across each pool of loans utilizing a nonparametric loss curve modeling approach.
Reasonable and supportable forecasts are incorporated into the PD model component.
Cash flow assumptions are established for each loan using maturity date, amortization schedule and interest rate.
A constant prepayment rate is calculated for each loan pool in the CECL model.
Loans Evaluated Individually: Loans evaluated individually for expected credit losses include loans determined to be collateral-dependant.

Loans evaluated individually may have specific allocations assigned. For loans measured using the fair value of collateral, if the analysis determines that sufficient collateral value would be available for repayment of the debt, then no allocations would be assigned to those loans. Collateral could be in the form of real estate or business assets, such as accounts receivable or inventory, in the case of commercial and industrial loans.

For loans secured by real estate, estimated fair values are determined through appraisals performed by third-party appraisers or third party evaluations for commercial real estate loans and our internal appraisal department for 1-4 family real estate secured loans, discounted to arrive at expected net sale proceeds. For collateral dependent loans, estimated real estate fair values are also net of estimated selling costs. When a real estate secured loan is impaired, a decision is made regarding whether an updated appraisal of the real estate is necessary. This decision is based on various considerations, including: the age of the most recent appraisal; the loan-to-value ratio based on the original appraisal; the condition of the property; the Company’s experience and knowledge of the real estate market; the purpose of the loan; market factors; payment status; the strength of any guarantors; and the existence and age of other indications of value such as broker price opinions, among others. The Company generally obtains updated evaluations for collateral dependent loans secured predominantly by real estate every 12 months.

When updated evaluations are not obtained for loans secured by real estate, fair values are estimated based on the original appraisal values, as long as the original appraisal indicated an acceptable loan-to-value position and there has not been a significant deterioration in the collateral value since the original appraisal was performed.

Management regularly reviews loans in the portfolio to assess credit quality indicators and to determine appropriate loan classification. For commercial loans, commercial mortgages and construction loans to commercial borrowers, an internal credit rating process is used. The Company believes that internal credit ratings are the most relevant credit quality indicator for these types of loans. The migration of loans through the various internal credit rating categories is a significant component of the ACL methodology for these loans, which bases the PD on this migration. Assigning credit ratings involves judgment. Credit ratings may be changed based on ongoing monitoring procedures, or if specific loan review assessments identify a deterioration or an improvement in the loan.

The following is a summary of the Company's internal credit rating categories:
Pass: These loans do not currently pose undue credit risk and can range from the highest to average quality, depending on the degree of potential risk.
Special Mention: These loans have a heightened credit risk, but not to the point of justifying a classification of Substandard. Loans in this category are currently acceptable, but are nevertheless potentially weak.
Substandard or Lower: There exists a well-defined weakness or weaknesses that jeopardize the normal repayment of the debt.

The allocation of the ACL is reviewed to evaluate its appropriateness in relation to the overall risk profile of the loan portfolio. The Company considers risk factors such as: local and national economic conditions; trends in delinquencies and non-accrual loans; the diversity of borrower industry types; and the composition of the portfolio by loan type.

Qualitative and Other Adjustments to ACL: In addition to the quantitative credit loss estimates for loans evaluated collectively, qualitative factors that may not be fully captured in the quantitative results are also evaluated. These include changes in lending policy, volume of the portfolio, economy conditions, credit concentrations, level of problem loans, loan review, collateral value, and experience of credit staff. Qualitative adjustments are judgmental and are based on Management’s knowledge of the portfolio and the markets in which the Company operates. Qualitative adjustments are evaluated and approved on a quarterly basis.
OBS Credit Exposures: The ACL for OBS credit exposures is recorded in other liabilities on the consolidated balance sheet. This ACL represents management’s estimate of expected losses in its unfunded loan commitments and other OBS credit exposures, such as letters of credit and credit recourse on sold residential mortgage loans. The ACL specific to unfunded commitments is determined by estimating future draws and applying the expected loss rates on those draws. Future draws are based on historical averages of utilization rates (i.e., the likelihood of draws taken). The ACL for OBS credit exposures is increased or decreased by charges or reductions to expense, through the provision for credit losses.

The impact from the adoption of CECL is shown below:
January 1, 2023
(In Thousands)Pre-adoptionAdoption impactAs Reported
Assets
ACL on loans
Commercial, financial, and agricultural$1,914 $2,656 $4,570 
Real estate mortgage:
Residential5,061 (3,893)1,168 
Commercial6,110 (2,660)3,450 
Construction188 (96)92 
Consumer automobile loans1,617 240 1,857 
Other consumer installment loans109 602 711 
Unallocated638 (638)— 
Liabilities
ACL for unfunded commitments143 1,703 1,846 
$15,780 $(2,086)$13,694 

v3.23.1
Accumulated Other Comprehensive Loss
3 Months Ended
Mar. 31, 2023
Comprehensive Income (Loss), Net of Tax, Attributable to Parent [Abstract]  
Accumulated Other Comprehensive Loss Accumulated Other Comprehensive LossThe changes in accumulated other comprehensive loss by component shown net of tax and parenthesis indicating debits, as of March 31, 2023 and 2022 were as follows:
 Three Months Ended March 31, 2023Three Months Ended March 31, 2022
(In Thousands)Net Unrealized Gain (Loss) on Available for Sale SecuritiesDefined
Benefit 
Plan
TotalNet Unrealized Gain (Loss) on Available
for Sale Securities
Defined
Benefit 
Plan
Total
Beginning balance$(9,819)$(4,139)$(13,958)$2,373 $(3,485)$(1,112)
Other comprehensive income (loss) before reclassifications1,843 — 1,843 (5,449)— (5,449)
Amounts reclassified from accumulated other comprehensive gain48 29 77 13 15 
Net current-period other comprehensive income (loss)1,891 29 1,920 (5,447)13 (5,434)
Ending balance$(7,928)$(4,110)$(12,038)$(3,074)$(3,472)$(6,546)
The reclassifications out of accumulated other comprehensive loss shown, net of tax and parenthesis indicating debits to net income, as of March 31, 2023 and 2022 were as follows:
Details about Accumulated Other Comprehensive Loss ComponentsAmount Reclassified from Accumulated Other Comprehensive LossAffected Line Item
 in the Consolidated 
Statement of Income
Three months ended March 31, 2023Three months ended March 31, 2022
Net unrealized losses on available for sale securities$(61)$(2)Net debt securities losses, available for sale
Income tax effect13 — Income tax provision
Total reclassifications for the period$(48)$(2)
Net unrecognized pension costs$(37)$(17)Other non-interest expense
Income tax effectIncome tax provision
Total reclassifications for the period$(29)$(13)

v3.23.1
Recent Accounting Pronouncements
3 Months Ended
Mar. 31, 2023
Accounting Standards Update and Change in Accounting Principle [Abstract]  
Recent Accounting Pronouncements Recent Accounting Pronouncements
In June 2016, the Financial Accounting Standards Board (“FASB”) issued Accounting Standards Update (“ASU”) 2016-13, Financial Instruments – Credit Losses: Measurement of Credit Losses on Financial Instruments, which changes the impairment model for most financial assets. This standard, along with several other subsequent codification updates, replaces the incurred loss impairment methodology in current GAAP with a methodology that reflects expected credit losses that are expected to occur over the remaining life of a financial asset and requires consideration of a broader range of reasonable and supportable information to inform credit loss estimates. The amendments in this update require a financial asset (or a group of financial assets) measured at amortized cost basis to be presented at the net amount expected to be collected. The new current expected credit losses model (“CECL”) will apply to the allowance for loan losses, available-for-sale and held-to-maturity debt securities, purchased financial assets with credit deterioration and certain off-balance sheet credit exposures.

Management has completed its implementation plan, segmentation and testing, and model validation. The implementation plan included drafting of additional controls and policies to govern data uploads to its third-party vendor, balancing and reconciling, testing and auditing of inputs, and review and decision-making surrounding segmentation, methodologies, qualitative factor adjustments, and reasonable and supportable forecasts and reversion techniques. Parallel runs were processed during 2022 and the results were consistent with management's expectations. The implementation plan is currently going through the Company's control structure and internal control testing is being performed.

As a result of adopting this standard, the Company recorded a decrease in its allowance effective January 1, 2023, of $2,086,000. As a result, the Company recorded a decrease in its loan allowance as of January 1, 2023, of $3,789,000; as well as an increase in its allowance for off-balance sheet credit exposures of $1,703,000. These estimates are subject to further refinements based on ongoing evaluations of our model, methodologies, and judgments, as well as prevailing economic conditions and forecasts as of the adoption date. The adoption of ASU 2016-13 is not expected to have a significant impact on our regulatory capital ratios.

At adoption, the Company did not have any securities classified as HTM debt securities. No allowance was recorded related to AFS debt securities at the date of adoption, January 1, 2023.

In January 2017, the FASB issued ASU 2017-04, Simplifying the Test for Goodwill Impairment. To simplify the subsequent measurement of goodwill, the FASB eliminated Step 2 from the goodwill impairment test. In computing the implied fair value of goodwill under Step 2, an entity had to perform procedures to determine the fair value at the impairment testing date of its assets and liabilities (including unrecognized assets and liabilities) following the procedure that would be required in determining the fair value of assets acquired and liabilities assumed in a business combination. Instead, under the amendments in this Update, an entity should perform its annual, or interim, goodwill impairment test by comparing the fair value of a reporting unit with its carrying amount. An entity should recognize an impairment charge for the amount by which the carrying amount exceeds the reporting unit’s fair value; however, the loss recognized should not exceed the total amount of goodwill allocated to that reporting unit. The Update is effective for smaller reporting companies and all other entities for fiscal years beginning after December 15, 2022, and interim periods within those fiscal years. This Update is not expected to have a significant impact on the Company’s financial statements.

In January 2020, the FASB issued ASU 2020-04, Reference Rate Reform (Topic 848): Facilitation of the Effects of Reference Rate Reform on Financial Reporting, March 2020, to provide temporary optional expedients and exceptions to the U.S. GAAP guidance on contract modifications and hedge accounting to ease the financial reporting burdens of the expected market transition from LIBOR and other interbank offered rates to alternative reference rates, such as the Secured Overnight Financing Rate. Entities can elect not to apply certain modification accounting requirements to contracts affected by what the guidance
calls “reference rate reform” if certain criteria are met. An entity that makes this election would not have to remeasure the contracts at the modification date or reassess a previous accounting determination. Also, entities can elect various optional expedients that would allow them to continue applying hedge accounting for hedging relationships affected by reference rate reform if certain criteria are met, and can make a one-time election to sell and/or reclassify held-to-maturity debt securities that reference an interest rate affected by reference rate reform. The amendments in this ASU are effective for all entities upon issuance through December 31, 2022. It is too early to predict whether a new rate index replacement and the adoption of the ASU will have a material impact on the Company’s financial statements.

In August 2020, the FASB issued ASU 2020-06, Debt – Debt with Conversion and Other Options (Subtopic 470-20) and Derivatives and Hedging – Contracts in Entity’s Own Equity (Subtopic 815-40), which simplifies the accounting for certain financial instruments with characteristics of liabilities and equity, including convertible instruments and contracts on an entity’s own equity. This ASU removes from U.S. GAAP the separation models for (1) convertible debt with a cash conversion feature and (2) convertible instruments with a beneficial conversion feature. As a result, entities will not separately present in equity an embedded conversion feature in such debt. Instead, they will account for a convertible debt instrument wholly as debt, and for convertible preferred stock wholly as preferred stock (i.e., as a single unit of account), unless (1) a convertible instrument contains features that require bifurcation as a derivative under ASC 815 or (2) a convertible debt instrument was issued at a substantial premium. This ASU requires entities to provide expanded disclosures about the terms and features of convertible instruments, how the instruments have been reported in the entity’s financial statements, and information about events, conditions, and circumstances that can affect how to assess the amount or timing of an entity’s future cash flows related to those instruments. The amendments in this ASU are effective for public business entities that are not smaller reporting companies, for fiscal years beginning after December 15, 2021, and interim periods within those fiscal years. For all other entities, this ASU is effective for fiscal years beginning after December 15, 2023, and interim periods within those fiscal years. The guidance may be early adopted for fiscal years beginning after December 15, 2020, and interim periods within those fiscal years. This Update is not expected to have a significant impact on the Company’s financial statements.

In March 2022, the FASB issued ASU 2022-02, Financial Instruments - Credit Losses (ASC 326): Troubled Debt Restructurings (TDRs) and Vintage Disclosures. The guidance amends ASC 326 to eliminate the accounting guidance for TDRs by creditors, while enhancing disclosure requirements for certain loan refinancing and restructuring activities by creditors when a borrower is experiencing financial difficulty. Specifically, rather than applying TDR recognition and measurement guidance, creditors will determine whether a modification results in a new loan or continuation of existing loan. These amendments are intended to enhance existing disclosure requirements and introduce new requirements related to certain modifications of receivables made to borrowers experiencing financial difficulty. Additionally, the amendments to ASC 326 require that an entity disclose current-period gross writeoffs by year of origination within the vintage disclosures, which requires that an entity disclose the amortized cost basis of financing receivables by credit quality indicator and class of financing receivable by year of origination. The guidance is only for entities that have adopted the amendments in Update 2016-13 for fiscal years, and interim periods within those fiscal years, beginning after December 15, 2022. This Update did not have a significant impact on the Company’s financial statements.

In June 2022, the FASB issued ASU 2022-03, Fair Value Measurement (Topic 820) – Fair Value Measurement of Equity Securities Subject to Contractual Sale Restrictions. This amendment clarifies the guidance in Topic 820, Fair Value Measurement, when measuring the fair value of an equity security subject to contractual restrictions that prohibit the sale of an equity security. It also introduces new disclosure requirements for equity securities subject to contractual sale restrictions that are measured at fair value in accordance with Topic 820. The amendments are effective for fiscal years beginning after December 15, 2023, and interim periods within those fiscal years. Early adoption is permitted. The amendments will be applied prospectively, with any adjustments from the adoption of the amendments recognized in earnings and disclosed on the date of adoption. This Update is not expected to have a significant impact on the Company’s financial statements.

v3.23.1
Per Share Data
3 Months Ended
Mar. 31, 2023
Earnings Per Share [Abstract]  
Per Share Data Per Share Data
There are no convertible securities which would affect the denominator in calculating basic and dilutive earnings per share. There were a total of 1,003,000 stock options, with an average exercise price of $25.56, outstanding on March 31, 2023. A portion of these options were included, on a weighted average basis, in the computation of diluted earnings per share for the period due to the average market price of common shares of $25.96 for the quarter being greater than the strike price. There were a total of 1,268,525 stock options, with an average exercise price of $26.65 that were excluded, on a weighted average basis, in the computation of diluted earnings per share for the period due to the average market price of common shares of $24.24 being less than the strike price for the period ending March 31, 2022.
 Three Months Ended March 31,
 20232022
Weighted average common shares issued7,568,622 7,552,800 
Weighted average treasury stock shares(510,225)(480,225)
Weighted average common shares outstanding - basic 7,058,397 7,072,575 
Dilutive effect of outstanding stock options275,800 — 
Weighted average common shares outstanding - diluted7,334,197 7,072,575 

v3.23.1
Investment Securities
3 Months Ended
Mar. 31, 2023
Investments, Debt and Equity Securities [Abstract]  
Investment Securities Investment Securities
 
The amortized cost, gross unrealized gains and losses, and fair values of our investment securities portfolio at March 31, 2023 and December 31, 2022 are as follows:
 March 31, 2023
  GrossGross 
 AmortizedUnrealizedUnrealizedFair
(In Thousands)CostGainsLossesValue
Available for sale (AFS):    
U.S. Government and agency securities$3,002 $— $(82)$2,920 
Mortgage-backed securities8,159 15 (222)7,952 
State and political securities145,998 266 (6,572)139,692 
Other debt securities50,066 (3,444)46,626 
Total debt securities$207,225 $285 $(10,320)$197,190 
Investment equity securities:
Equity securities$1,350 $— $(187)$1,163 
 December 31, 2022
  GrossGross 
 AmortizedUnrealizedUnrealizedFair
(In Thousands)CostGainsLossesValue
Available for sale (AFS):    
U.S. Government and agency securities$3,002 $— $(106)$2,896 
Mortgage-backed securities1,496 — (214)1,282 
State and political securities151,426 157 (8,774)142,809 
Other debt securities50,178 58 (3,550)46,686 
Total debt securities$206,102 $215 $(12,644)$193,673 
Investment equity securities:
Equity securities$1,350 $— $(208)$1,142 
The following tables show the Company’s gross unrealized losses and fair value, aggregated by investment category and length of time, that the individual debt securities have been in a continuous unrealized loss position, at March 31, 2023 and December 31, 2022.
 March 31, 2023
 Less than Twelve MonthsTwelve Months or GreaterTotal
  Gross Gross Gross
 FairUnrealizedFairUnrealizedFairUnrealized
(In Thousands)ValueLossesValueLossesValueLosses
Available for sale (AFS):
U.S. Government and agency securities$2,446 $(56)$474 $(26)$2,920 $(82)
Mortgage-backed securities5,139 (36)1,297 (186)6,436 (222)
State and political securities53,390 (1,264)72,923 (5,308)126,313 (6,572)
Other debt securities5,332 (89)40,190 (3,355)45,522 (3,444)
Total debt securities$66,307 $(1,445)$114,884 $(8,875)$181,191 $(10,320)
 December 31, 2022
 Less than Twelve MonthsTwelve Months or GreaterTotal
  Gross Gross Gross
 FairUnrealizedFairUnrealizedFairUnrealized
(In Thousands)ValueLossesValueLossesValueLosses
Available for sale (AFS):
U.S. Government and agency securities$2,896 $(106)$— $— $2,896 $(106)
Mortgage-backed securities— — 1,282 (214)1,282 (214)
State and political securities95,444 (4,797)36,283 (3,977)131,727 (8,774)
Other debt securities16,896 (664)25,144 (2,886)42,040 (3,550)
Total debt securities$115,236 $(5,567)$62,709 $(7,077)$177,945 $(12,644)
 
At March 31, 2023, there were a total of 70 securities in a continuous unrealized loss position for less than twelve months and 165 individual securities that were in a continuous unrealized loss position for twelve months or greater. No credit losses occurred for the period ending March 31, 2023.

The Company reviews its position quarterly and has determined that, at March 31, 2023, the declines outlined in the above table represent temporary non-credit declines and the Company does not intend to sell, and does not believe it will be required to sell, these securities before recovery of their cost basis, which may be at maturity.  The Company has concluded that the unrealized losses disclosed above are not credit-related but are the result of interest rate changes, sector credit ratings changes, or company-specific ratings changes that are not expected to result in the non-collection of principal and interest during the period.

The amortized cost and fair value of debt securities at March 31, 2023, by contractual maturity, are shown below. Expected maturities may differ from contractual maturities since borrowers may have the right to call or prepay obligations with or without call or prepayment penalties.
(In Thousands)Amortized CostFair Value
Due in one year or less$30,883 $30,393 
Due after one year to five years102,687 97,428 
Due after five years to ten years65,362 61,218 
Due after ten years8,293 8,151 
Total$207,225 $197,190 

Total gross proceeds from sales of debt securities available for sale for the three months ended March 31, 2023 was $12,913,000, compared to $90,000 for the corresponding 2022 period.
The following table represents gross realized gains and losses from the sales of debt securities available for sale:
 Three Months Ended March 31,
(In Thousands)20232022
Available for sale (AFS):
Gross realized gains:  
State and political securities$54 $
Gross realized losses:  
State and political securities$(115)$(3)

Investment securities with a carrying value of approximately $149,415,000 and $154,946,000 at March 31, 2023 and December 31, 2022, respectively, were pledged to secure certain deposits, repurchase agreements, and for other purposes as required by law.

At March 31, 2023 and December 31, 2022, we had $1,163,000 and $1,142,000, respectively, in equity securities recorded at fair value. The following is a summary of unrealized and realized gains and losses recognized in net income on equity securities during the three months ended March 31, 2023 and 2022:
Three Months Ended March 31,
(In Thousands)20232022
Net gains (losses) recognized in equity securities during the period$21 $(59)
Less: Net gains realized on the sale of equity securities during the period— — 
Unrealized gains (losses) recognized in equity securities held at reporting date$21 $(59)

v3.23.1
Loans
3 Months Ended
Mar. 31, 2023
Loans and Leases Receivable Disclosure [Abstract]  
Loans Loans
Management segments the Banks' loan portfolio to a level that enables risk and performance monitoring according to similar risk characteristics.  Loans are segmented based on the underlying collateral characteristics.  Categories include commercial, financial, and agricultural, real estate, and installment loans.  Real estate loans are further segmented into three categories: residential, commercial, and construction, while installment loans are classified as either consumer automobile loans or other installment loans.

The following table presents the related aging categories of loans, by class, as of March 31, 2023 and December 31, 2022:
 March 31, 2023
 Past Due  Past Due 90
 30 To 89 Days Or More
(In Thousands)DaysCurrentTotal& Still Accruing
Commercial, financial, and agricultural$261 $200,171 $200,432 $— 
Real estate mortgage:   
Residential5,068 717,710 723,932 1,154 
Commercial914 507,190 509,466 1,362 
Construction472 46,617 47,121 32 
Consumer automobile loans1,121 206,482 207,747 144 
Other consumer installment loans157 10,239 10,400 
 $7,993 $1,688,409 1,699,098 $2,696 
Net deferred loan fees and discounts 925 
Allowance for credit losses (11,734)
Loans, net $1,688,289 
 December 31, 2022
 Past DuePast Due 90  
 30 To 89Days Or MoreNon- 
(In Thousands)Days& Still AccruingAccrualCurrentTotal
Commercial, financial, and agricultural$94 $— $432 $189,935 $190,461 
Real estate mortgage:     
Residential5,472 1,120 524 701,093 708,209 
Commercial2,564 60 2,659 495,349 500,632 
Construction511 — — 42,797 43,308 
Consumer automobile loans2,089 80 — 183,943 186,112 
Other consumer installment loans152 15 — 10,194 10,361 
 $10,882 $1,275 $3,615 $1,623,311 1,639,083 
Net deferred loan fees and discounts   648 
Allowance for loan losses   (15,637)
Loans, net   $1,624,094 

The Allowance for Credit Losses ("ACL") related to loans consists of loans evaluated collectively and individually for expected credit losses. The ACL related to loans represents an estimate of expected credit losses over the expected life of the loans as of the balance sheet date and is recorded as a reduction to net loans. The ACL for off balance sheet credit exposure includes estimated losses on unfunded loan commitments, letters of credit and other off balance sheet credit exposures and is recorded in other liabilities. The total ACL is increased by charges to expense, through the provision for credit losses, and decreased by charge-offs, net of recoveries.

The following table presents the components of the ACL as of March 31, 2023:
March 31,
(In Thousands)2023
ACL - loans$11,734 
ACL - off balance sheet credit exposure1,920 
Total ACL$13,654 
 
Non-accrual Loans
 March 31, 2023December 31, 2022
 Non-accrual Loans
(In Thousands)With a Related ACLWithout a Related ACLTotalTotal Non-accrual loans
Commercial, financial, and agricultural$456 $— $456 $432 
Real estate mortgage:
Residential510 — 510 524 
Commercial248 2,337 2,585 2,659 
Construction— — — — 
Consumer automobile— — — — 
Other consumer installment loans— — — — 
$1,214 $2,337 $3,551 $3,615 

Total interest income recorded on non-accrual loans at March 31, 2023 totaled $32,000.
The following table presents the recorded investment, unpaid principal balance, and related allowance of impaired loans by segment as of December 31, 2022:
 December 31, 2022
 RecordedUnpaid PrincipalRelated
(In Thousands)InvestmentBalanceAllowance
With no related allowance recorded:  
Commercial, financial, and agricultural$295 $295 $— 
Real estate mortgage:   
Residential3,388 3,388 — 
Commercial2,588 2,588 — 
Construction— — — 
Consumer automobile loans— — — 
Installment loans to individuals— — — 
 6,271 6,271 — 
With an allowance recorded:   
Commercial, financial, and agricultural403 403 
Real estate mortgage:   
Residential933 933 111 
Commercial3,607 3,607 827 
Construction— — — 
Consumer automobile loans— — — 
Installment loans to individuals19 — 19 
 4,962 4,943 961 
Total:   
Commercial, financial, and agricultural698 698 
Real estate mortgage:   
Residential4,321 4,321 111 
Commercial6,195 6,195 827 
Construction— — — 
Consumer automobile loans— — — 
Installment loans to individuals19 — 19 
 $11,233 $11,214 $961 

The following table presents outstanding loan balances of collateral-dependent loans by class as of March 31, 2023:
(In Thousands)Real estateOther*Unsecured**
Real estate mortgage:
Residential$525 $— $— 
Commercial154 1,225 332 
Total$679 $1,225 $332 
* 90% of loan balances guaranteed by USDA remaining 10% is unsecured
** Loan considered unsecured due to lien position on property
The following table presents the average recorded investment in impaired loans and related interest income recognized for the three months ended March 31, 2022:
 Three Months Ended March 31,
 2022
(In Thousands)Average
Investment in
Impaired Loans
Interest Income
Recognized on an
Accrual Basis on
Impaired Loans
Interest Income
Recognized on a
Cash Basis on
Impaired Loans
Commercial, financial, and agricultural$853 $$— 
Real estate mortgage:   
Residential4,944 46 — 
Commercial7,757 52 — 
Construction85 — 
Consumer automobile— — — 
Other consumer installment loans20 — — 
$13,659 $104 $— 

Troubled Debt Restructurings

The loan portfolio also includes certain loans that have been modified in a Troubled Debt Restructuring (“TDR”), where economic concessions have been granted to borrowers who have experienced or are expected to experience financial difficulties.  These concessions typically result from loss mitigation activities and could include reductions in the interest rate, payment extensions, forgiveness of principal, forbearance, or other actions.  Certain TDRs are classified as nonperforming at the time of restructure and may only be returned to performing status after considering the borrower’s sustained repayment performance for a reasonable period, generally six months.

There were no loan modifications considered to be TDRs completed during the three months ended March 31, 2023 and 2022.
There were no loan modification considered to be a TDR made during the twelve months prior to March 31, 2023 that defaulted during the three months ended March 31, 2023. There was one loan modifications considered to be a TDR made during the twelve months previous to March 31, 2022 that defaulted during the three months ended March 31, 2022. The defaulted loan type and recorded investments at March 31, 2022 were as follows: one residential real estate loan with a recorded investment of $400,000.

Troubled debt restructurings amounted to $7,328,000 and $7,468,000 as of March 31, 2023 and December 31, 2022, respectively.

The amount of foreclosed residential real estate held at March 31, 2023 and December 31, 2022, totaled $846,000 and $950,000, respectively. Consumer mortgage loans secured by residential real estate properties for which formal foreclosure proceedings are in process at March 31, 2023 and December 31, 2022, totaled $722,000 and $890,000, respectively.

Internal Credit Ratings

Management uses a ten point internal credit rating system to monitor the credit quality of the overall loan portfolio. The first six categories are considered not criticized, and are aggregated as “Pass” rated. The criticized rating categories utilized by management generally follow bank regulatory definitions. The special mention category includes assets that are currently protected but are potentially weak, resulting in an undue and unwarranted credit risk, but not to the point of justifying a substandard classification. Loans in the substandard category have well-defined weaknesses that jeopardize the liquidation of the debt, and have a distinct possibility that some loss will be sustained if the weaknesses are not corrected. All loans greater than 90 days past due are evaluated for substandard classification.  Loans in the doubtful category exhibit the same weaknesses found in the substandard loans; however, the weaknesses are more pronounced.  Such loans are static and collection in full is improbable.  However, these loans are not yet rated as loss because certain events may occur which would salvage the debt.  Loans classified as loss are considered uncollectible and charge-off is imminent.

To help ensure that credit ratings are accurate and reflect the present and future capacity of borrowers to repay a loan as agreed, the Banks have a structured loan rating process with several layers of internal and external oversight.  Generally, consumer and
residential mortgage loans are included in the pass category unless a specific action, such as bankruptcy, repossession, or death occurs to raise awareness of a possible credit event.  An external semi-annual loan review of large commercial relationships is performed, as well as a sample of smaller transactions. The 2022 loan review will evaluate 55% of the Banks' average outstanding commercial portfolio which can consist of outstanding loans, commercial real estate mortgages and outstanding commitments. Detailed reviews, including plans for resolution, are performed on loans classified as substandard, doubtful, or loss on a quarterly basis.
The following table presents the credit quality categories identified above as of March 31, 2023 and December 31, 2022:
March 31, 2023
(In Thousands)20232022202120202019PriorRevolving LoansRevolving Loans Converted to TermTotal
Commercial, financial, and agricultural
Pass$17,392 $57,070 $40,861 $34,532 $9,298 $10,195 $29,713 $131 $199,192 
Special Mention— — — — — 97 — — 97 
Substandard or Lower— — — — — — 430 713 1,143 
$17,392 $57,070 $40,861 $34,532 $9,298 $10,292 $30,143 $844 $200,432 
 
Current period gross write offs$— $— $— $— $— $— $— $— $— 
Real estate mortgage:
Residential
Pass$32,256 $218,074 $127,155 $74,334 $49,003 $68,165 $44,114 $108,180 $721,281 
Special Mention— — 163 — — — — — 163 
Substandard or Lower— — — 90 — 2,301 68 29 2,488 
$32,256 $218,074 $127,318 $74,424 $49,003 $70,466 $44,182 $108,209 $723,932 
Current period gross write offs$— $— $— $— $— $$73 $— $78 
Commercial
Pass$11,022 $102,142 $140,306 $52,744 $27,194 $157,392 $10,849 $599 $502,248 
Special Mention— — 186 — — 48 — — 234 
Substandard or Lower— — — — — 6,921 22 41 6,984 
$11,022 $102,142 $140,492 $52,744 $27,194 $164,361 $10,871 $640 $509,466 
Current period gross write offs$— $— $— $— $— $$— $— $
Construction
Pass$10,388 $17,545 $11,711 $1,726 $611 $4,775 $269 $— $47,025 
Special Mention— — — — — — — — — 
Substandard or Lower— — — — — 96 — — 96
$10,388 $17,545 $11,711 $1,726 $611 $4,871 $269 $— $47,121 
Current period gross write offs$— $— $— $— $— $— $— $— $— 
Consumer Automobile
Pass$35,550 $100,204 $27,682 $22,834 $12,400 $9,077 $— $— $207,747 
Special Mention— — — — — — — — — 
Substandard or Lower— — — — — — — — — 
$35,550 $100,204 $27,682 $22,834 $12,400 $9,077 $— $— $207,747 
Current period gross write offs$$58 $— $29 $— $$— $— $91 
Installment loans to individuals
Pass$888 $3,334 $1,590 $701 $499 $3,339 $— $49 $10,400 
Special Mention— — — — — — — — — 
Substandard or Lower— — — — — — — — — 
$888 $3,334 $1,590 $701 $499 $3,339 $— $49 $10,400 
Current period gross write offs$40 $$21 $— $$$13 $— $88 
The information presented in the table above is not required for periods prior to the adoption of CECL. The following table presents the most comparable required information for the prior period, internal credit ratings for the report loan segments as of December 31, 2022:
 December 31, 2022
 Commercial, Financial, and AgriculturalReal Estate MortgagesConsumer automobile Other consumer installment loans 
(In Thousands)ResidentialCommercialConstructionTotals
Pass$184,783 $705,515 $488,993 $43,209 $186,112 $10,361 $1,618,973 
Special Mention125 266 4,526 — — — 4,917 
Substandard5,553 2,428 7,113 99 — — 15,193 
 $190,461 $708,209 $500,632 $43,308 $186,112 $10,361 $1,639,083 

Allowance for Credit Losses

Maintaining an appropriate Allowance for Credit Losses ("ACL") is dependent on various factors, including the ability to identify potential problem loans in a timely manner. For commercial construction, residential construction, commercial and industrial, and commercial real estate, an internal credit rating process is used. Management believes that internal credit ratings are the most relevant credit quality indicator for these types of loans. The migration of loans through the various internal credit rating categories is a significant component of the ACL methodology for these loans, which bases the probability of default on this migration. Assigning credit ratings involves judgment. The Company's loan review process provide a separate assessment of credit rating accuracy. Credit ratings may be changed based on the ongoing monitoring procedures performed by loan officers or credit administration staff or if specific loan review assessments identify a deterioration or an improvement in the loans.

Management considers the performance of the loan portfolio and its impact on the ACL. The Company does not assign internal Credit ratings to smaller balance, homogeneous loans, such as home equity, residential mortgage, and consumer automobile loans. For these loans, the most relevant credit quality indicator is delinquency status and management evaluates credit quality based on the aging status of the loan.

Historical loss trends are used in the estimation of losses in the current portfolio.  These historical loss amounts are modified by other qualitative factors.  A historical charge-off factor is calculated utilizing the charge-off and recovery data over the past ten years.  Management has identified a number of additional qualitative factors which it uses to supplement the historical charge-off factor because these factors are likely to cause estimated credit losses associated with the existing loan pools to differ from historical loss experience.  The additional factors that are evaluated quarterly and updated using information obtained from internal, regulatory, and governmental sources are: national and local economic trends and conditions; trends in volumes and terms of loans; effects of changes in lending policies; experience, ability, and depth of lending staff; value of underlying collateral; and concentrations of credit from a loan type, industry and/or geographic standpoint.

Management reviews the loan portfolio on a quarterly basis in order to make appropriate and timely adjustments to the ACL.  When information confirms all or part of specific loans to be uncollectible, these amounts are promptly charged off against the ACL.

Activity in the allowance is presented for the three months ended March 31, 2023 and 2022:

 
tThree Months Ended March 31, 2023
 Commercial, Financial, and AgriculturalReal Estate MortgagesConsumer automobileOther consumer installment  
(In Thousands)ResidentialCommercialConstructionUnallocatedTotals
Beginning Balance$1,914 $5,061 $6,110 $188 $1,617 $109 $638 $15,637 
Impact of adopting ASC 3262,656 (3,893)(2,660)(96)240 602 (638)(3,789)
Charge-offs— (78)(3)— (93)(88)— (262)
Recoveries105 — 12 17 — 139 
Provision(813)320 31 92 337 42 — 
Ending Balance$3,862 $1,412 $3,481 $184 $2,113 $682 $— $11,734 
 Three Months Ended March 31, 2022
 Commercial, Financial, and AgriculturalReal Estate MortgagesConsumer automobileOther consumer installment  
(In Thousands)ResidentialCommercialConstructionUnallocatedTotals
Beginning Balance$1,946 $4,701 $5,336 $179 $1,411 $111 $492 $14,176 
Charge-offs— — (155)— (129)(60)— (344)
Recoveries— 24 — 41 
Provision(14)97 33 18 85 39 (108)150 
Ending Balance$1,936 $4,801 $5,215 $197 $1,376 $114 $384 $14,023 

The shift in allocation and the increase in the loan provision is primarily due to changes in the credit metrics within the loan portfolio coupled with the adoption of CECL on January 1, 2023. The increase in provision for the period end March 31, 2023 for residential real estate and consumer auto was loan volume driven.

The Company grants commercial, industrial, residential, and installment loans to customers primarily throughout north-east and central Pennsylvania. Although the Company has a diversified loan portfolio, a substantial portion of its debtors’ ability to honor their contracts is dependent on the economic conditions within this region.

The Company has a concentration of the following to gross loans at March 31, 2023 and 2022: 
 March 31,
 20232022
Owners of residential rental properties19.12 %19.95 %
Owners of commercial rental properties15.28 %15.60 %


The following table presents the balance in the allowance for loan losses and the recorded investment in loans by portfolio segment based on impairment method as of December 31, 2022:
 December 31, 2022
 Commercial, Financial, and AgriculturalReal Estate MortgagesConsumer AutomobileOther consumer installmentUnallocated 
(In Thousands)ResidentialCommercialConstructionTotals
Allowance for Loan Losses:       
Ending allowance balance attributable to loans:       
Individually evaluated for impairment$$111 $827 $— $— $19 $— $961 
Collectively evaluated for impairment1,910 4,950 5,283 188 1,617 90 638 14,676 
Total ending allowance balance$1,914 $5,061 $6,110 $188 $1,617 $109 $638 $15,637 
Loans:       
Individually evaluated for impairment$698 $4,321 $6,195 $— $— $19  $11,233 
Collectively evaluated for impairment189,763 703,888 494,437 43,308 186,112 10,342  1,627,850 
Total ending loans balance$190,461 $708,209 $500,632 $43,308 $186,112 $10,361  $1,639,083 

v3.23.1
Net Periodic Benefit Cost-Defined Benefit Plans
3 Months Ended
Mar. 31, 2023
Pension and Other Postretirement Benefits Cost (Reversal of Cost) [Abstract]  
Net Periodic Benefit Cost-Defined Benefit Plans Net Periodic Benefit Cost-Defined Benefit PlansFor a detailed disclosure on the Company’s pension and employee benefits plans, please refer to Note 13 of the Company’s Consolidated Financial Statements included in the Annual Report on Form 10-K for the year ended December 31, 2022.
The following sets forth the components of the net periodic expense/(gain) of the domestic non-contributory defined benefit plan for the three months ended March 31, 2023 and 2022, respectively:
Three Months Ended March 31,
(In Thousands)20232022
Interest cost$198 $138 
Expected return on plan assets(326)(412)
Amortization of net loss37 17 
Net periodic benefit$(91)$(257)

Employer Contributions

The Company previously disclosed in its consolidated financial statements, included in the Annual Report on Form 10-K for the year ended December 31, 2022, that it does not expect to contribute to its defined benefit plan in 2023.  As of March 31, 2023, there were no contributions made to the pension plan.

v3.23.1
Stock Purchase Plans
3 Months Ended
Mar. 31, 2023
Share-Based Payment Arrangement [Abstract]  
Stock Purchase Plans Stock Purchase PlansThe Company maintains an Employee Stock Purchase Plan (“Plan”).  The Plan is intended to encourage employee participation in the ownership and economic progress of the Company.  The Plan allows for up to 1,500,000 shares to be purchased by employees.  The purchase price of the shares is 95% of market value with an employee eligible to purchase up to the lesser of 15% of base compensation or $12,000 in market value annually.  During the three months ended March 31, 2023 and 2022, there were 854 and 880 shares issued under the Plan, respectively, for total proceeds of $21,000 and $21,000.The Company maintains the 2020 Non-Employee Director Compensation Plan ("Director Plan"). Under this Director Plan, non-employee directors who have not attained specified stock ownership levels are required to receive a portion of their annual compensation in the form of common stock (currently 50%of total annual compensation), with the ability to elect to receive up to 100% of annual compensation in the form of common stock by making a written election prior to the calendar year to which the compensation relates. The Director Plan allows for up to 100,000 shares to be issued. As of March 31 2023, the Company has issued a total of 37,053 shares of common stock to non-employee directors under the Director Plan in lieu of otherwise payable cash compensation with 2,422 and 3,415 shares issued, respectively with an associated expense of $64,000 and $84,000 during the three months ended March 31, 2023 and 2022.

v3.23.1
Off-Balance Sheet Risk
3 Months Ended
Mar. 31, 2023
Off Balance Sheet Risk  
Off-Balance Sheet Risk Off-Balance Sheet Risk
The Company is a party to financial instruments with off-balance sheet risk in the normal course of business to meet the financing needs of its customers.  These financial instruments are primarily comprised of commitments to extend credit, standby letters of credit, and credit exposure from the sale of assets with recourse.  These instruments involve, to varying degrees, elements of credit, interest rate, or liquidity risk in excess of the amount recognized in the Consolidated Balance Sheet.  The contract amounts of these instruments express the extent of involvement the Company has in particular classes of financial instruments.

The Company’s exposure to credit loss from nonperformance by the other party to the financial instruments for commitments to extend credit and standby letters of credit is represented by the contractual amount of these instruments.  The Company uses the same credit policies in making commitments and conditional obligations as it does for on-balance sheet instruments.  The Company may require collateral or other security to support financial instruments with off-balance sheet credit risk.

Financial instruments whose contract amounts represent credit risk are as follows at March 31, 2023 and December 31, 2022:
(In Thousands)March 31, 2023December 31, 2022
Commitments to extend credit$175,959 $169,365 
Standby letters of credit10,197 9,915 
Credit exposure from the sale of assets with recourse7,358 7,358 
$193,514 $186,638 
Allowance for credit losses$1,920 $143 
Commitments to extend credit are legally binding agreements to lend to customers.  Commitments generally have fixed expiration dates or other termination clauses and may require payment of fees.  Since many of the commitments are expected to expire without being drawn upon, the total commitment amounts do not necessarily represent future liquidity requirements.  The Company evaluates each customer’s credit worthiness on a case-by-case basis.  The amount of collateral obtained, if deemed necessary by the Company, on an extension of credit is based on management’s credit assessment of the counterparty.

Standby letters of credit represent conditional commitments issued by the Company to guarantee the performance of a customer to a third party.  These instruments are issued primarily to support bid or performance related contracts.  The coverage period for these instruments is typically a one year period with an annual renewal option subject to prior approval by management.  Fees earned from the issuance of these letters are recognized upon expiration of the coverage period.  For secured letters of credit, the collateral is typically Bank deposit instruments or customer business assets.

v3.23.1
Fair Value Measurements
3 Months Ended
Mar. 31, 2023
Fair Value Disclosures [Abstract]  
Fair Value Measurements Fair Value Measurements
The following disclosures show the hierarchal disclosure framework associated with the level of pricing observations utilized in measuring assets and liabilities at fair value.
Level I: Quoted prices are available in active markets for identical assets or liabilities as of the reported date.
   
Level II: Pricing inputs are other than quoted prices in active markets, which are either directly or indirectly observable as of the reported date. The nature of these assets and liabilities include items for which quoted prices are available but traded less frequently, and items that are fair valued using other financial instruments, the parameters of which can be directly observed.
   
Level III: Assets and liabilities that have little to no pricing observability as of the reported date. These items do not have two-way markets and are measured using management’s best estimate of fair value, where the inputs into the determination of fair value require significant management judgment or estimation.

This hierarchy requires the use of observable market data when available.

The following table presents the assets reported on the Consolidated Balance Sheet at their fair value on a recurring basis as of March 31, 2023 and December 31, 2022, by level within the fair value hierarchy. Financial assets and liabilities are classified in their entirety based on the lowest level of input that is significant to the fair value measurement.
 March 31, 2023
(In Thousands)Level ILevel IILevel IIITotal
Assets measured on a recurring basis:    
Investment securities, available for sale:    
U.S. Government and agency securities$— $2,920 $— $2,920 
Mortgage-backed securities— 7,952 — 7,952 
State and political securities— 139,692 — 139,692 
Other debt securities— 46,626 — 46,626 
Investment equity securities:
  Equity securities1,163 — — 1,163 

 December 31, 2022
(In Thousands)Level ILevel IILevel IIITotal
Assets measured on a recurring basis:    
Investment securities, available for sale:    
U.S. Government and agency securities$— $2,896 $— $2,896 
Mortgage-backed securities— 1,282 — 1,282 
State and political securities— 142,809 — 142,809 
Other debt securities— 46,686 — 46,686 
Investment equity securities:
  Equity securities1,142 — — 1,142 
The following table presents the assets reported on the Consolidated Balance Sheet at their fair value on a non-recurring basis as of March 31, 2023 and December 31, 2022, by level within the fair value hierarchy. Financial assets and liabilities are classified in their entirety based on the lowest level of input that is significant to the fair value measurement. 
 March 31, 2023
(In Thousands)Level ILevel IILevel IIITotal
Assets measured on a non-recurring basis:    
Collateral dependent loans$— $— $1,905 $1,905 
Other real estate owned— — 83 83 
 December 31, 2022
(In Thousands)Level ILevel IILevel IIITotal
Assets measured on a non-recurring basis:    
Impaired loans$— $— $1,923 $1,923 
Other real estate owned— — 83 83 

The following tables present a listing of significant unobservable inputs used in the fair value measurement process for items valued utilizing level III techniques as of March 31, 2023 and December 31, 2022: 
 March 31, 2023
 Quantitative Information About Level III Fair Value Measurements
(In Thousands)Fair ValueValuation Technique(s)Unobservable InputsRangeWeighted Average
Collateral dependent loans$1,905 
Appraisal of collateral (1)
Appraisal adjustments (1)
(10)% to (34)%
(14)%
Other real estate owned$83 
Appraisal of collateral (1)
Appraisal adjustments (1)
(20)%(20)%
(1) Appraisals may be adjusted by management for qualitative factors such as economic conditions and estimated liquidation expenses.
 December 31, 2022
 Quantitative Information About Level III Fair Value Measurements
(In Thousands)Fair ValueValuation Technique(s)Unobservable InputsRangeWeighted Average
Impaired loans$1,923 
Appraisal of collateral (1)
Appraisal adjustments (1)
0% to (34)%
(14)%
Other real estate owned$83 
Appraisal of collateral (1)
Appraisal adjustments (1)
(20)%(20)%
(1) Appraisals may be adjusted by management for qualitative factors such as economic conditions and estimated liquidation expenses.
The significant unobservable input used in the fair value measurement of the Company’s impaired loans using the appraisal of collateral valuation technique include appraisal adjustments, which are adjustments to appraisals by management for qualitative factors such as economic conditions and estimated liquidation expenses.  The significant unobservable input used in the fair value measurement of the Company’s other real estate owned are the same inputs used to value impaired loans using the appraisal of collateral valuation technique.

v3.23.1
Fair Value of Financial Instruments
3 Months Ended
Mar. 31, 2023
Fair Value Disclosures [Abstract]  
Fair Value of Financial Instruments Fair Value of Financial InstrumentsThe Company is required to disclose fair values for its financial instruments.  Fair values are made at a specific point in time, based on relevant market information and information about the financial instrument.  These estimates do not reflect any premium or discount that could result from offering for sale at one time the Company’s entire holdings of a particular financial instrument.  Also, it is the Company’s general practice and intention to hold most of its financial instruments to maturity and not to engage in trading or sales activities.  Because no market exists for a significant portion of the Company’s financial instruments, fair value estimates are based on judgments regarding future expected loss experience, current economic conditions, risk characteristics of various financial instruments, and other factors.  These fair values are subjective in nature and involve uncertainties and matters of significant judgment and therefore cannot be determined with precision.  Changes in assumptions can significantly affect the fair values.
Fair values have been determined by the Company using historical data and an estimation methodology suitable for each category of financial instruments.  The Company’s fair values are set forth below for the Company’s other financial instruments.

As certain assets and liabilities, such as deferred tax assets, premises and equipment, and many other operational elements of the Company, are not considered financial instruments but have value, this fair value of financial instruments would not represent the full market value of the Company.

The fair values of the Company’s financial instruments not recorded at fair value on a recurring or nonrecurring basis are as follows at March 31, 2023 and December 31, 2022:
 CarryingFairFair Value Measurements at March 31, 2023
(In Thousands)ValueValueLevel ILevel IILevel III
Financial assets:     
Loans held for sale (1)$1,705 $1,705 $1,705 $— $— 
Loans, net1,688,289 1,672,564 — — 1,672,564 
Financial liabilities:     
Time deposits & brokered deposits233,136 228,079 — — 228,079 
Short-term borrowings 97,102 97,102 97,102 — — 
Long-term borrowings132,738 130,067 — — 130,067 
(1) The financial instrument is carried at cost at, March 31, 2023 which approximate the fair value of the instruments
 CarryingFairFair Value Measurements at December 31, 2022
(In Thousands)ValueValueLevel ILevel IILevel III
Financial assets:     
Loans held for sale (1)$3,298 $3,298 $3,298 $— $— 
Loans, net1,624,094 1,594,073 — — 1,594,073 
Financial liabilities:     
Time deposits & brokered deposits146,282 137,559 — — 137,559 
Short-term borrowings153,349 153,349 153,349 — — 
Long-term borrowings102,783 99,118 — — 99,118 
(1) The financial instrument is carried at cost at, December 31, 2022 which approximate the fair value of the instruments

The methods and assumptions used by the Company in estimating fair values of financial instruments is in accordance with ASC Topic 825, Financial Instruments, as amended by ASU 2016-01 which requires public entities to use exit pricing in the calculation of the above tables.

v3.23.1
Stock Options
3 Months Ended
Mar. 31, 2023
Share-Based Payment Arrangement [Abstract]  
Stock Options Stock Options
In 2020, the Company adopted the 2020 Equity Incentive Plan which replaced the 2014 Equity Incentive Plan that did not have any remaining shares available for issuance. The plans are designed to help the Company attract, retain, and motivate employees and non-employee directors. Incentive stock options, non-qualified stock options, restricted stock, restricted stock units, and other equity-based awards may be granted as part of the plan.

As of January 1, 2023, the Company had a total of 914,000 stock options outstanding. During the period ended March 31, 2023, the Company issued 89,000 stock options with a strike price of $27.77 to a group of employees. The options granted in 2023 all expire ten years from the grant date. Of the 89,000 grants awarded in 2023, 59,500 of the options vest in three years while the 29,500 remaining options vest in five years.
Stock options outstanding as of March 31, 2023 are presented below:
Stock Options Granted
DateSharesForfeitedCash SettlementOutstandingStrike PriceVesting PeriodExpiration
January 20, 202359,500 — — 59,500 $27.77 3 years10 years
January 20, 202329,500 — — 29,500 27.77 5 years10 years
January 18, 2022156,000 — — 156,000 24.10 3 years10 years
January 18, 202278,000 — — 78,000 24.10 5 years10 years
April 9, 2021156,500 — — 156,500 24.23 3 years10 years
April 9, 202178,000 — — 78,000 24.23 5 years10 years
March 11, 2020119,300 — — 119,300 25.34 3 years10 years
March 11, 2020119,200 — — 119,200 25.34 5 years10 years
March 15, 2019120,900 (18,300)— 102,600 28.01 3 years10 years
March 15, 2019119,100 (17,700)— 101,400 28.01 5 years10 years
August 27, 201558,125 (26,250)(28,875)3,000 28.02 5 years10 years

A summary of stock option activity is presented below:
March 31, 2023
SharesWeighted Average Exercise Price
Outstanding, beginning of year914,000 $25.34 
Granted89,000 27.77 
Cash settlement— — 
Forfeited— — 
Expired— — 
Outstanding, end of period1,003,000 $25.56 
Exercisable, end of period224,900 $26.59 

The estimated fair value of options, including the effect of estimated forfeitures, is recognized as expense on a straight line basis over the options’ vesting periods while ensuring that the cumulative amount of compensation cost recognized at least equals the value of the vested portion of the award at that date.

The fair value of stock options is estimated using the Black-Scholes option pricing model. The following is a summary of the assumptions used in this model for stock options granted for the three months ended March 31, 2023:

Three months ended March 31,
2023
Risk-free interest rate3.76 %
Expected volatility31 %
Expected Annual dividend$1.28 
Expected life6.84 years
Weighted average grant date fair value per option$6.11 



Compensation expense for stock options is recognized using the fair value when the stock options are granted and is amortized over the options' vesting period. Compensation expense related to stock options was $253,000 for the three months ended March 31, 2023 compared to $315,000 for the same period of 2022. As of March 31, 2023, a total of 224,900 stock options were exercisable and the weighted average years to expiration of these options was 6.44 years. Total unrecognized
compensation cost for non-vested options was $1,906,000 and will be recognized over their weighted average remaining vesting period of 1.24 years.

v3.23.1
Reclassification of Comparative Amounts
3 Months Ended
Mar. 31, 2023
Reclassification of Comparative Amounts  
Reclassification of Comparative Amounts Reclassification of Comparative AmountsCertain comparative amounts for the prior period have been reclassified to conform to current period presentations. Such reclassifications had no effect on net income or shareholders’ equity.

v3.23.1
Basis of Presentation (Policies)
3 Months Ended
Mar. 31, 2023
Organization, Consolidation and Presentation of Financial Statements [Abstract]  
Basis of Presentation
The consolidated financial statements include the accounts of Penns Woods Bancorp, Inc. (the “Company”) and its wholly-owned subsidiaries: Woods Investment Company, Inc., Woods Real Estate Development Company, Inc., United Insurance Solutions, LLC., Luzerne Bank, and Jersey Shore State Bank (Jersey Shore State Bank and Luzerne Bank are referred to together as the “Banks”) and Jersey Shore State Bank’s wholly-owned subsidiary, The M Group, Inc. D/B/A The Comprehensive Financial Group (“The M Group”).  All significant inter-company balances and transactions have been eliminated in the consolidation.

The interim financial statements are unaudited, but in the opinion of management reflect all adjustments necessary for the fair presentation of results for such periods.  The results of operations for any interim period are not necessarily indicative of results for the full year.  These financial statements should be read in conjunction with the financial statements and notes thereto contained in the Company’s Annual Report on Form 10-K for the year ended December 31, 2022.
CECL Adoption and Updated Significant Accounting Policy
CECL Adoption and Updated Significant Accounting Policy
On January 1, 2023, the Company adopted ASU 2016-13, Financial Instruments - Credit Losses (ASC Topic 326): Measurement of Credit Losses on Financial Instruments, which replaces the incurred loss methodology, and is referred to as CECL. The measurement of expected credit losses under CECL is applicable to financial assets measured at amortized cost, including loans and HTM debt securities. It also applies to off-balance sheet (“OBS”) credit exposures (loan commitments, standby letters of credit, financial guarantees, and other similar instruments.

The Company adopted CECL using the modified retrospective method for all financial assets measured at amortized cost, net of investments in leases and OBS credit exposures. Results for reporting periods beginning after January 1, 2023 are presented under CECL, while prior period results are reported in accordance with the previously applicable incurred loss methodology. The Company recorded an overall decrease of $3,789,000 to the Allowance for Credit Losses (“ACL”) on January 1, 2023 as a result of the adoption of CECL with an associated increase to retained earnings of $2,993,000 and decrease to deferred tax assets of $796,000. The Company also recorded a liability of $1,703,000 for OBS credit exposures that resulted in a decrease to retained earnings of $1,346,000 and an increase to deferred tax assets of $357,000.

Allowance for Credit Losses: The discussion that follows describes the methodology for determining the ACL under the CECL model that was adopted effective January 1, 2023. The allowance methodology for prior periods is disclosed in the Company’s 2022 Annual Report on Form 10-K.

The Company has elected to exclude accrued interest receivable from the measurement of its ACL. When a loan is placed on non-accrual status, any outstanding accrued interest is reversed against interest income.

Loans: The ACL for loans is an estimate of the expected losses to be realized over the life of the loans in the portfolio. The ACL is determined for two distinct categories of loans: 1) loans evaluated collectively for expected credit losses and 2) loans evaluated individually for expected credit losses. The ACL also includes certain qualitative adjustments to the CECL model.

Loans Evaluated Collectively: Management believes that internal credit ratings are the most relevant credit quality indicator for these types of loans, however; the Company does not assign internal credit ratings to smaller balance, homogeneous loans, such as home equity, residential mortgage, and consumer automobile loans. For these loans, the most relevant credit quality indicator is delinquency status and management evaluates credit quality based on the aging status of the loan. In order to determine the ACL:
Loans aggregated into pools based on similar risk characteristics.
The probability of default "PD" and loss given default rate "LGD" CECL model components are determined based on loss estimates driven by historical experience at the input level.
The PD model component uses "through the economic cycle transition" matrices based on the Company's historical loan and transaction data across each pool of loans.
The LGD model component calculates a lifetime LGD estimate across each pool of loans utilizing a nonparametric loss curve modeling approach.
Reasonable and supportable forecasts are incorporated into the PD model component.
Cash flow assumptions are established for each loan using maturity date, amortization schedule and interest rate.
A constant prepayment rate is calculated for each loan pool in the CECL model.
Loans Evaluated Individually: Loans evaluated individually for expected credit losses include loans determined to be collateral-dependant.

Loans evaluated individually may have specific allocations assigned. For loans measured using the fair value of collateral, if the analysis determines that sufficient collateral value would be available for repayment of the debt, then no allocations would be assigned to those loans. Collateral could be in the form of real estate or business assets, such as accounts receivable or inventory, in the case of commercial and industrial loans.

For loans secured by real estate, estimated fair values are determined through appraisals performed by third-party appraisers or third party evaluations for commercial real estate loans and our internal appraisal department for 1-4 family real estate secured loans, discounted to arrive at expected net sale proceeds. For collateral dependent loans, estimated real estate fair values are also net of estimated selling costs. When a real estate secured loan is impaired, a decision is made regarding whether an updated appraisal of the real estate is necessary. This decision is based on various considerations, including: the age of the most recent appraisal; the loan-to-value ratio based on the original appraisal; the condition of the property; the Company’s experience and knowledge of the real estate market; the purpose of the loan; market factors; payment status; the strength of any guarantors; and the existence and age of other indications of value such as broker price opinions, among others. The Company generally obtains updated evaluations for collateral dependent loans secured predominantly by real estate every 12 months.

When updated evaluations are not obtained for loans secured by real estate, fair values are estimated based on the original appraisal values, as long as the original appraisal indicated an acceptable loan-to-value position and there has not been a significant deterioration in the collateral value since the original appraisal was performed.

Management regularly reviews loans in the portfolio to assess credit quality indicators and to determine appropriate loan classification. For commercial loans, commercial mortgages and construction loans to commercial borrowers, an internal credit rating process is used. The Company believes that internal credit ratings are the most relevant credit quality indicator for these types of loans. The migration of loans through the various internal credit rating categories is a significant component of the ACL methodology for these loans, which bases the PD on this migration. Assigning credit ratings involves judgment. Credit ratings may be changed based on ongoing monitoring procedures, or if specific loan review assessments identify a deterioration or an improvement in the loan.

The following is a summary of the Company's internal credit rating categories:
Pass: These loans do not currently pose undue credit risk and can range from the highest to average quality, depending on the degree of potential risk.
Special Mention: These loans have a heightened credit risk, but not to the point of justifying a classification of Substandard. Loans in this category are currently acceptable, but are nevertheless potentially weak.
Substandard or Lower: There exists a well-defined weakness or weaknesses that jeopardize the normal repayment of the debt.

The allocation of the ACL is reviewed to evaluate its appropriateness in relation to the overall risk profile of the loan portfolio. The Company considers risk factors such as: local and national economic conditions; trends in delinquencies and non-accrual loans; the diversity of borrower industry types; and the composition of the portfolio by loan type.

Qualitative and Other Adjustments to ACL: In addition to the quantitative credit loss estimates for loans evaluated collectively, qualitative factors that may not be fully captured in the quantitative results are also evaluated. These include changes in lending policy, volume of the portfolio, economy conditions, credit concentrations, level of problem loans, loan review, collateral value, and experience of credit staff. Qualitative adjustments are judgmental and are based on Management’s knowledge of the portfolio and the markets in which the Company operates. Qualitative adjustments are evaluated and approved on a quarterly basis.
OBS Credit Exposures: The ACL for OBS credit exposures is recorded in other liabilities on the consolidated balance sheet. This ACL represents management’s estimate of expected losses in its unfunded loan commitments and other OBS credit exposures, such as letters of credit and credit recourse on sold residential mortgage loans. The ACL specific to unfunded commitments is determined by estimating future draws and applying the expected loss rates on those draws. Future draws are based on historical averages of utilization rates (i.e., the likelihood of draws taken). The ACL for OBS credit exposures is increased or decreased by charges or reductions to expense, through the provision for credit losses.

The impact from the adoption of CECL is shown below:
January 1, 2023
(In Thousands)Pre-adoptionAdoption impactAs Reported
Assets
ACL on loans
Commercial, financial, and agricultural$1,914 $2,656 $4,570 
Real estate mortgage:
Residential5,061 (3,893)1,168 
Commercial6,110 (2,660)3,450 
Construction188 (96)92 
Consumer automobile loans1,617 240 1,857 
Other consumer installment loans109 602 711 
Unallocated638 (638)— 
Liabilities
ACL for unfunded commitments143 1,703 1,846 
$15,780 $(2,086)$13,694 
Recent Accounting Pronouncements
In June 2016, the Financial Accounting Standards Board (“FASB”) issued Accounting Standards Update (“ASU”) 2016-13, Financial Instruments – Credit Losses: Measurement of Credit Losses on Financial Instruments, which changes the impairment model for most financial assets. This standard, along with several other subsequent codification updates, replaces the incurred loss impairment methodology in current GAAP with a methodology that reflects expected credit losses that are expected to occur over the remaining life of a financial asset and requires consideration of a broader range of reasonable and supportable information to inform credit loss estimates. The amendments in this update require a financial asset (or a group of financial assets) measured at amortized cost basis to be presented at the net amount expected to be collected. The new current expected credit losses model (“CECL”) will apply to the allowance for loan losses, available-for-sale and held-to-maturity debt securities, purchased financial assets with credit deterioration and certain off-balance sheet credit exposures.

Management has completed its implementation plan, segmentation and testing, and model validation. The implementation plan included drafting of additional controls and policies to govern data uploads to its third-party vendor, balancing and reconciling, testing and auditing of inputs, and review and decision-making surrounding segmentation, methodologies, qualitative factor adjustments, and reasonable and supportable forecasts and reversion techniques. Parallel runs were processed during 2022 and the results were consistent with management's expectations. The implementation plan is currently going through the Company's control structure and internal control testing is being performed.

As a result of adopting this standard, the Company recorded a decrease in its allowance effective January 1, 2023, of $2,086,000. As a result, the Company recorded a decrease in its loan allowance as of January 1, 2023, of $3,789,000; as well as an increase in its allowance for off-balance sheet credit exposures of $1,703,000. These estimates are subject to further refinements based on ongoing evaluations of our model, methodologies, and judgments, as well as prevailing economic conditions and forecasts as of the adoption date. The adoption of ASU 2016-13 is not expected to have a significant impact on our regulatory capital ratios.

At adoption, the Company did not have any securities classified as HTM debt securities. No allowance was recorded related to AFS debt securities at the date of adoption, January 1, 2023.

In January 2017, the FASB issued ASU 2017-04, Simplifying the Test for Goodwill Impairment. To simplify the subsequent measurement of goodwill, the FASB eliminated Step 2 from the goodwill impairment test. In computing the implied fair value of goodwill under Step 2, an entity had to perform procedures to determine the fair value at the impairment testing date of its assets and liabilities (including unrecognized assets and liabilities) following the procedure that would be required in determining the fair value of assets acquired and liabilities assumed in a business combination. Instead, under the amendments in this Update, an entity should perform its annual, or interim, goodwill impairment test by comparing the fair value of a reporting unit with its carrying amount. An entity should recognize an impairment charge for the amount by which the carrying amount exceeds the reporting unit’s fair value; however, the loss recognized should not exceed the total amount of goodwill allocated to that reporting unit. The Update is effective for smaller reporting companies and all other entities for fiscal years beginning after December 15, 2022, and interim periods within those fiscal years. This Update is not expected to have a significant impact on the Company’s financial statements.

In January 2020, the FASB issued ASU 2020-04, Reference Rate Reform (Topic 848): Facilitation of the Effects of Reference Rate Reform on Financial Reporting, March 2020, to provide temporary optional expedients and exceptions to the U.S. GAAP guidance on contract modifications and hedge accounting to ease the financial reporting burdens of the expected market transition from LIBOR and other interbank offered rates to alternative reference rates, such as the Secured Overnight Financing Rate. Entities can elect not to apply certain modification accounting requirements to contracts affected by what the guidance
calls “reference rate reform” if certain criteria are met. An entity that makes this election would not have to remeasure the contracts at the modification date or reassess a previous accounting determination. Also, entities can elect various optional expedients that would allow them to continue applying hedge accounting for hedging relationships affected by reference rate reform if certain criteria are met, and can make a one-time election to sell and/or reclassify held-to-maturity debt securities that reference an interest rate affected by reference rate reform. The amendments in this ASU are effective for all entities upon issuance through December 31, 2022. It is too early to predict whether a new rate index replacement and the adoption of the ASU will have a material impact on the Company’s financial statements.

In August 2020, the FASB issued ASU 2020-06, Debt – Debt with Conversion and Other Options (Subtopic 470-20) and Derivatives and Hedging – Contracts in Entity’s Own Equity (Subtopic 815-40), which simplifies the accounting for certain financial instruments with characteristics of liabilities and equity, including convertible instruments and contracts on an entity’s own equity. This ASU removes from U.S. GAAP the separation models for (1) convertible debt with a cash conversion feature and (2) convertible instruments with a beneficial conversion feature. As a result, entities will not separately present in equity an embedded conversion feature in such debt. Instead, they will account for a convertible debt instrument wholly as debt, and for convertible preferred stock wholly as preferred stock (i.e., as a single unit of account), unless (1) a convertible instrument contains features that require bifurcation as a derivative under ASC 815 or (2) a convertible debt instrument was issued at a substantial premium. This ASU requires entities to provide expanded disclosures about the terms and features of convertible instruments, how the instruments have been reported in the entity’s financial statements, and information about events, conditions, and circumstances that can affect how to assess the amount or timing of an entity’s future cash flows related to those instruments. The amendments in this ASU are effective for public business entities that are not smaller reporting companies, for fiscal years beginning after December 15, 2021, and interim periods within those fiscal years. For all other entities, this ASU is effective for fiscal years beginning after December 15, 2023, and interim periods within those fiscal years. The guidance may be early adopted for fiscal years beginning after December 15, 2020, and interim periods within those fiscal years. This Update is not expected to have a significant impact on the Company’s financial statements.

In March 2022, the FASB issued ASU 2022-02, Financial Instruments - Credit Losses (ASC 326): Troubled Debt Restructurings (TDRs) and Vintage Disclosures. The guidance amends ASC 326 to eliminate the accounting guidance for TDRs by creditors, while enhancing disclosure requirements for certain loan refinancing and restructuring activities by creditors when a borrower is experiencing financial difficulty. Specifically, rather than applying TDR recognition and measurement guidance, creditors will determine whether a modification results in a new loan or continuation of existing loan. These amendments are intended to enhance existing disclosure requirements and introduce new requirements related to certain modifications of receivables made to borrowers experiencing financial difficulty. Additionally, the amendments to ASC 326 require that an entity disclose current-period gross writeoffs by year of origination within the vintage disclosures, which requires that an entity disclose the amortized cost basis of financing receivables by credit quality indicator and class of financing receivable by year of origination. The guidance is only for entities that have adopted the amendments in Update 2016-13 for fiscal years, and interim periods within those fiscal years, beginning after December 15, 2022. This Update did not have a significant impact on the Company’s financial statements.

In June 2022, the FASB issued ASU 2022-03, Fair Value Measurement (Topic 820) – Fair Value Measurement of Equity Securities Subject to Contractual Sale Restrictions. This amendment clarifies the guidance in Topic 820, Fair Value Measurement, when measuring the fair value of an equity security subject to contractual restrictions that prohibit the sale of an equity security. It also introduces new disclosure requirements for equity securities subject to contractual sale restrictions that are measured at fair value in accordance with Topic 820. The amendments are effective for fiscal years beginning after December 15, 2023, and interim periods within those fiscal years. Early adoption is permitted. The amendments will be applied prospectively, with any adjustments from the adoption of the amendments recognized in earnings and disclosed on the date of adoption. This Update is not expected to have a significant impact on the Company’s financial statements.
In March 2023, the FASB issued ASU 2023-02, Investments – Equity Method and Joint Ventures (Topic 323): Accounting for Investments in Tax Credit Structures Using the Proportional Amortization Method. ASU 2023-02 permits reporting entities to elect to account for their tax equity investments, regardless of the tax credit program from which the income tax credits are received, using the proportional amortization method if certain conditions are met. ASU 2023-02 is effective for fiscal years, and interim periods within those fiscal years, beginning after December 15, 2023. This Update is not expected to have a significant impact on the Company’s financial statements.

v3.23.1
Basis of Presentation (Tables)
3 Months Ended
Mar. 31, 2023
Organization, Consolidation and Presentation of Financial Statements [Abstract]  
Summary of Impact of CECL
The impact from the adoption of CECL is shown below:
January 1, 2023
(In Thousands)Pre-adoptionAdoption impactAs Reported
Assets
ACL on loans
Commercial, financial, and agricultural$1,914 $2,656 $4,570 
Real estate mortgage:
Residential5,061 (3,893)1,168 
Commercial6,110 (2,660)3,450 
Construction188 (96)92 
Consumer automobile loans1,617 240 1,857 
Other consumer installment loans109 602 711 
Unallocated638 (638)— 
Liabilities
ACL for unfunded commitments143 1,703 1,846 
$15,780 $(2,086)$13,694 

v3.23.1
Accumulated Other Comprehensive Loss (Tables)
3 Months Ended
Mar. 31, 2023
Comprehensive Income (Loss), Net of Tax, Attributable to Parent [Abstract]  
Schedule of changes in accumulated other comprehensive income by component The changes in accumulated other comprehensive loss by component shown net of tax and parenthesis indicating debits, as of March 31, 2023 and 2022 were as follows:
 Three Months Ended March 31, 2023Three Months Ended March 31, 2022
(In Thousands)Net Unrealized Gain (Loss) on Available for Sale SecuritiesDefined
Benefit 
Plan
TotalNet Unrealized Gain (Loss) on Available
for Sale Securities
Defined
Benefit 
Plan
Total
Beginning balance$(9,819)$(4,139)$(13,958)$2,373 $(3,485)$(1,112)
Other comprehensive income (loss) before reclassifications1,843 — 1,843 (5,449)— (5,449)
Amounts reclassified from accumulated other comprehensive gain48 29 77 13 15 
Net current-period other comprehensive income (loss)1,891 29 1,920 (5,447)13 (5,434)
Ending balance$(7,928)$(4,110)$(12,038)$(3,074)$(3,472)$(6,546)
Schedule of reclassifications out of accumulated other comprehensive income
The reclassifications out of accumulated other comprehensive loss shown, net of tax and parenthesis indicating debits to net income, as of March 31, 2023 and 2022 were as follows:
Details about Accumulated Other Comprehensive Loss ComponentsAmount Reclassified from Accumulated Other Comprehensive LossAffected Line Item
 in the Consolidated 
Statement of Income
Three months ended March 31, 2023Three months ended March 31, 2022
Net unrealized losses on available for sale securities$(61)$(2)Net debt securities losses, available for sale
Income tax effect13 — Income tax provision
Total reclassifications for the period$(48)$(2)
Net unrecognized pension costs$(37)$(17)Other non-interest expense
Income tax effectIncome tax provision
Total reclassifications for the period$(29)$(13)

v3.23.1
Per Share Data (Tables)
3 Months Ended
Mar. 31, 2023
Earnings Per Share [Abstract]  
Schedule of weighted average common shares (denominator) used in the basic and dilutive earnings per share computation
 Three Months Ended March 31,
 20232022
Weighted average common shares issued7,568,622 7,552,800 
Weighted average treasury stock shares(510,225)(480,225)
Weighted average common shares outstanding - basic 7,058,397 7,072,575 
Dilutive effect of outstanding stock options275,800 — 
Weighted average common shares outstanding - diluted7,334,197 7,072,575 

v3.23.1
Investment Securities (Tables)
3 Months Ended
Mar. 31, 2023
Investments, Debt and Equity Securities [Abstract]  
Schedule of amortized cost, gross unrealized gains and losses, and fair values of equity and trading investment securities
The amortized cost, gross unrealized gains and losses, and fair values of our investment securities portfolio at March 31, 2023 and December 31, 2022 are as follows:
 March 31, 2023
  GrossGross 
 AmortizedUnrealizedUnrealizedFair
(In Thousands)CostGainsLossesValue
Available for sale (AFS):    
U.S. Government and agency securities$3,002 $— $(82)$2,920 
Mortgage-backed securities8,159 15 (222)7,952 
State and political securities145,998 266 (6,572)139,692 
Other debt securities50,066 (3,444)46,626 
Total debt securities$207,225 $285 $(10,320)$197,190 
Investment equity securities:
Equity securities$1,350 $— $(187)$1,163 
 December 31, 2022
  GrossGross 
 AmortizedUnrealizedUnrealizedFair
(In Thousands)CostGainsLossesValue
Available for sale (AFS):    
U.S. Government and agency securities$3,002 $— $(106)$2,896 
Mortgage-backed securities1,496 — (214)1,282 
State and political securities151,426 157 (8,774)142,809 
Other debt securities50,178 58 (3,550)46,686 
Total debt securities$206,102 $215 $(12,644)$193,673 
Investment equity securities:
Equity securities$1,350 $— $(208)$1,142 
Schedule of gross unrealized losses and fair value
The following tables show the Company’s gross unrealized losses and fair value, aggregated by investment category and length of time, that the individual debt securities have been in a continuous unrealized loss position, at March 31, 2023 and December 31, 2022.
 March 31, 2023
 Less than Twelve MonthsTwelve Months or GreaterTotal
  Gross Gross Gross
 FairUnrealizedFairUnrealizedFairUnrealized
(In Thousands)ValueLossesValueLossesValueLosses
Available for sale (AFS):
U.S. Government and agency securities$2,446 $(56)$474 $(26)$2,920 $(82)
Mortgage-backed securities5,139 (36)1,297 (186)6,436 (222)
State and political securities53,390 (1,264)72,923 (5,308)126,313 (6,572)
Other debt securities5,332 (89)40,190 (3,355)45,522 (3,444)
Total debt securities$66,307 $(1,445)$114,884 $(8,875)$181,191 $(10,320)
 December 31, 2022
 Less than Twelve MonthsTwelve Months or GreaterTotal
  Gross Gross Gross
 FairUnrealizedFairUnrealizedFairUnrealized
(In Thousands)ValueLossesValueLossesValueLosses
Available for sale (AFS):
U.S. Government and agency securities$2,896 $(106)$— $— $2,896 $(106)
Mortgage-backed securities— — 1,282 (214)1,282 (214)
State and political securities95,444 (4,797)36,283 (3,977)131,727 (8,774)
Other debt securities16,896 (664)25,144 (2,886)42,040 (3,550)
Total debt securities$115,236 $(5,567)$62,709 $(7,077)$177,945 $(12,644)
Schedule of amortized cost and fair value of debt securities by contractual maturity
The amortized cost and fair value of debt securities at March 31, 2023, by contractual maturity, are shown below. Expected maturities may differ from contractual maturities since borrowers may have the right to call or prepay obligations with or without call or prepayment penalties.
(In Thousands)Amortized CostFair Value
Due in one year or less$30,883 $30,393 
Due after one year to five years102,687 97,428 
Due after five years to ten years65,362 61,218 
Due after ten years8,293 8,151 
Total$207,225 $197,190 
Schedule of gross realized gains and losses
The following table represents gross realized gains and losses from the sales of debt securities available for sale:
 Three Months Ended March 31,
(In Thousands)20232022
Available for sale (AFS):
Gross realized gains:  
State and political securities$54 $
Gross realized losses:  
State and political securities$(115)$(3)
Schedule of unrealized and realized gains and losses recognized in net income The following is a summary of unrealized and realized gains and losses recognized in net income on equity securities during the three months ended March 31, 2023 and 2022:
Three Months Ended March 31,
(In Thousands)20232022
Net gains (losses) recognized in equity securities during the period$21 $(59)
Less: Net gains realized on the sale of equity securities during the period— — 
Unrealized gains (losses) recognized in equity securities held at reporting date$21 $(59)

v3.23.1
Loans (Tables)
3 Months Ended
Mar. 31, 2023
Loans and Leases Receivable Disclosure [Abstract]  
Schedule of related aging categories of loans by segment
The following table presents the related aging categories of loans, by class, as of March 31, 2023 and December 31, 2022:
 March 31, 2023
 Past Due  Past Due 90
 30 To 89 Days Or More
(In Thousands)DaysCurrentTotal& Still Accruing
Commercial, financial, and agricultural$261 $200,171 $200,432 $— 
Real estate mortgage:   
Residential5,068 717,710 723,932 1,154 
Commercial914 507,190 509,466 1,362 
Construction472 46,617 47,121 32 
Consumer automobile loans1,121 206,482 207,747 144 
Other consumer installment loans157 10,239 10,400 
 $7,993 $1,688,409 1,699,098 $2,696 
Net deferred loan fees and discounts 925 
Allowance for credit losses (11,734)
Loans, net $1,688,289 
 December 31, 2022
 Past DuePast Due 90  
 30 To 89Days Or MoreNon- 
(In Thousands)Days& Still AccruingAccrualCurrentTotal
Commercial, financial, and agricultural$94 $— $432 $189,935 $190,461 
Real estate mortgage:     
Residential5,472 1,120 524 701,093 708,209 
Commercial2,564 60 2,659 495,349 500,632 
Construction511 — — 42,797 43,308 
Consumer automobile loans2,089 80 — 183,943 186,112 
Other consumer installment loans152 15 — 10,194 10,361 
 $10,882 $1,275 $3,615 $1,623,311 1,639,083 
Net deferred loan fees and discounts   648 
Allowance for loan losses   (15,637)
Loans, net   $1,624,094 
Schedule of components of and activity in the allowance
The following table presents the components of the ACL as of March 31, 2023:
March 31,
(In Thousands)2023
ACL - loans$11,734 
ACL - off balance sheet credit exposure1,920 
Total ACL$13,654 
Activity in the allowance is presented for the three months ended March 31, 2023 and 2022:

 
tThree Months Ended March 31, 2023
 Commercial, Financial, and AgriculturalReal Estate MortgagesConsumer automobileOther consumer installment  
(In Thousands)ResidentialCommercialConstructionUnallocatedTotals
Beginning Balance$1,914 $5,061 $6,110 $188 $1,617 $109 $638 $15,637 
Impact of adopting ASC 3262,656 (3,893)(2,660)(96)240 602 (638)(3,789)
Charge-offs— (78)(3)— (93)(88)— (262)
Recoveries105 — 12 17 — 139 
Provision(813)320 31 92 337 42 — 
Ending Balance$3,862 $1,412 $3,481 $184 $2,113 $682 $— $11,734 
 Three Months Ended March 31, 2022
 Commercial, Financial, and AgriculturalReal Estate MortgagesConsumer automobileOther consumer installment  
(In Thousands)ResidentialCommercialConstructionUnallocatedTotals
Beginning Balance$1,946 $4,701 $5,336 $179 $1,411 $111 $492 $14,176 
Charge-offs— — (155)— (129)(60)— (344)
Recoveries— 24 — 41 
Provision(14)97 33 18 85 39 (108)150 
Ending Balance$1,936 $4,801 $5,215 $197 $1,376 $114 $384 $14,023 
Schedule of non-accrual loans
Non-accrual Loans
 March 31, 2023December 31, 2022
 Non-accrual Loans
(In Thousands)With a Related ACLWithout a Related ACLTotalTotal Non-accrual loans
Commercial, financial, and agricultural$456 $— $456 $432 
Real estate mortgage:
Residential510 — 510 524 
Commercial248 2,337 2,585 2,659 
Construction— — — — 
Consumer automobile— — — — 
Other consumer installment loans— — — — 
$1,214 $2,337 $3,551 $3,615 
Schedule of recorded investment, unpaid principal balance, and related allowance of impaired loans by segment
The following table presents the recorded investment, unpaid principal balance, and related allowance of impaired loans by segment as of December 31, 2022:
 December 31, 2022
 RecordedUnpaid PrincipalRelated
(In Thousands)InvestmentBalanceAllowance
With no related allowance recorded:  
Commercial, financial, and agricultural$295 $295 $— 
Real estate mortgage:   
Residential3,388 3,388 — 
Commercial2,588 2,588 — 
Construction— — — 
Consumer automobile loans— — — 
Installment loans to individuals— — — 
 6,271 6,271 — 
With an allowance recorded:   
Commercial, financial, and agricultural403 403 
Real estate mortgage:   
Residential933 933 111 
Commercial3,607 3,607 827 
Construction— — — 
Consumer automobile loans— — — 
Installment loans to individuals19 — 19 
 4,962 4,943 961 
Total:   
Commercial, financial, and agricultural698 698 
Real estate mortgage:   
Residential4,321 4,321 111 
Commercial6,195 6,195 827 
Construction— — — 
Consumer automobile loans— — — 
Installment loans to individuals19 — 19 
 $11,233 $11,214 $961 
Schedule of collateral dependent loans
The following table presents outstanding loan balances of collateral-dependent loans by class as of March 31, 2023:
(In Thousands)Real estateOther*Unsecured**
Real estate mortgage:
Residential$525 $— $— 
Commercial154 1,225 332 
Total$679 $1,225 $332 
* 90% of loan balances guaranteed by USDA remaining 10% is unsecured
** Loan considered unsecured due to lien position on property
Schedule of average recorded investment in impaired loans and related interest income recognized
The following table presents the average recorded investment in impaired loans and related interest income recognized for the three months ended March 31, 2022:
 Three Months Ended March 31,
 2022
(In Thousands)Average
Investment in
Impaired Loans
Interest Income
Recognized on an
Accrual Basis on
Impaired Loans
Interest Income
Recognized on a
Cash Basis on
Impaired Loans
Commercial, financial, and agricultural$853 $$— 
Real estate mortgage:   
Residential4,944 46 — 
Commercial7,757 52 — 
Construction85 — 
Consumer automobile— — — 
Other consumer installment loans20 — — 
$13,659 $104 $— 
Schedule of credit quality categories
The following table presents the credit quality categories identified above as of March 31, 2023 and December 31, 2022:
March 31, 2023
(In Thousands)20232022202120202019PriorRevolving LoansRevolving Loans Converted to TermTotal
Commercial, financial, and agricultural
Pass$17,392 $57,070 $40,861 $34,532 $9,298 $10,195 $29,713 $131 $199,192 
Special Mention— — — — — 97 — — 97 
Substandard or Lower— — — — — — 430 713 1,143 
$17,392 $57,070 $40,861 $34,532 $9,298 $10,292 $30,143 $844 $200,432 
 
Current period gross write offs$— $— $— $— $— $— $— $— $— 
Real estate mortgage:
Residential
Pass$32,256 $218,074 $127,155 $74,334 $49,003 $68,165 $44,114 $108,180 $721,281 
Special Mention— — 163 — — — — — 163 
Substandard or Lower— — — 90 — 2,301 68 29 2,488 
$32,256 $218,074 $127,318 $74,424 $49,003 $70,466 $44,182 $108,209 $723,932 
Current period gross write offs$— $— $— $— $— $$73 $— $78 
Commercial
Pass$11,022 $102,142 $140,306 $52,744 $27,194 $157,392 $10,849 $599 $502,248 
Special Mention— — 186 — — 48 — — 234 
Substandard or Lower— — — — — 6,921 22 41 6,984 
$11,022 $102,142 $140,492 $52,744 $27,194 $164,361 $10,871 $640 $509,466 
Current period gross write offs$— $— $— $— $— $$— $— $
Construction
Pass$10,388 $17,545 $11,711 $1,726 $611 $4,775 $269 $— $47,025 
Special Mention— — — — — — — — — 
Substandard or Lower— — — — — 96 — — 96
$10,388 $17,545 $11,711 $1,726 $611 $4,871 $269 $— $47,121 
Current period gross write offs$— $— $— $— $— $— $— $— $— 
Consumer Automobile
Pass$35,550 $100,204 $27,682 $22,834 $12,400 $9,077 $— $— $207,747 
Special Mention— — — — — — — — — 
Substandard or Lower— — — — — — — — — 
$35,550 $100,204 $27,682 $22,834 $12,400 $9,077 $— $— $207,747 
Current period gross write offs$$58 $— $29 $— $$— $— $91 
Installment loans to individuals
Pass$888 $3,334 $1,590 $701 $499 $3,339 $— $49 $10,400 
Special Mention— — — — — — — — — 
Substandard or Lower— — — — — — — — — 
$888 $3,334 $1,590 $701 $499 $3,339 $— $49 $10,400 
Current period gross write offs$40 $$21 $— $$$13 $— $88 
The information presented in the table above is not required for periods prior to the adoption of CECL. The following table presents the most comparable required information for the prior period, internal credit ratings for the report loan segments as of December 31, 2022:
 December 31, 2022
 Commercial, Financial, and AgriculturalReal Estate MortgagesConsumer automobile Other consumer installment loans 
(In Thousands)ResidentialCommercialConstructionTotals
Pass$184,783 $705,515 $488,993 $43,209 $186,112 $10,361 $1,618,973 
Special Mention125 266 4,526 — — — 4,917 
Substandard5,553 2,428 7,113 99 — — 15,193 
 $190,461 $708,209 $500,632 $43,308 $186,112 $10,361 $1,639,083 
Schedule of concentration of loan
The Company has a concentration of the following to gross loans at March 31, 2023 and 2022: 
 March 31,
 20232022
Owners of residential rental properties19.12 %19.95 %
Owners of commercial rental properties15.28 %15.60 %
Schedule of allowance for loan losses and the recorded investment in loans by portfolio segment based on impairment method
The following table presents the balance in the allowance for loan losses and the recorded investment in loans by portfolio segment based on impairment method as of December 31, 2022:
 December 31, 2022
 Commercial, Financial, and AgriculturalReal Estate MortgagesConsumer AutomobileOther consumer installmentUnallocated 
(In Thousands)ResidentialCommercialConstructionTotals
Allowance for Loan Losses:       
Ending allowance balance attributable to loans:       
Individually evaluated for impairment$$111 $827 $— $— $19 $— $961 
Collectively evaluated for impairment1,910 4,950 5,283 188 1,617 90 638 14,676 
Total ending allowance balance$1,914 $5,061 $6,110 $188 $1,617 $109 $638 $15,637 
Loans:       
Individually evaluated for impairment$698 $4,321 $6,195 $— $— $19  $11,233 
Collectively evaluated for impairment189,763 703,888 494,437 43,308 186,112 10,342  1,627,850 
Total ending loans balance$190,461 $708,209 $500,632 $43,308 $186,112 $10,361  $1,639,083 

v3.23.1
Net Periodic Benefit Cost-Defined Benefit Plans (Tables)
3 Months Ended
Mar. 31, 2023
Pension and Other Postretirement Benefits Cost (Reversal of Cost) [Abstract]  
Schedule of components of the net periodic benefit/cost of the domestic non-contributory defined benefit plan
The following sets forth the components of the net periodic expense/(gain) of the domestic non-contributory defined benefit plan for the three months ended March 31, 2023 and 2022, respectively:
Three Months Ended March 31,
(In Thousands)20232022
Interest cost$198 $138 
Expected return on plan assets(326)(412)
Amortization of net loss37 17 
Net periodic benefit$(91)$(257)

v3.23.1
Off-Balance Sheet Risk (Tables)
3 Months Ended
Mar. 31, 2023
Off Balance Sheet Risk  
Schedule of Financial instruments whose contract amounts represent credit risk
Financial instruments whose contract amounts represent credit risk are as follows at March 31, 2023 and December 31, 2022:
(In Thousands)March 31, 2023December 31, 2022
Commitments to extend credit$175,959 $169,365 
Standby letters of credit10,197 9,915 
Credit exposure from the sale of assets with recourse7,358 7,358 
$193,514 $186,638 
Allowance for credit losses$1,920 $143 

v3.23.1
Fair Value Measurements (Tables)
3 Months Ended
Mar. 31, 2023
Fair Value Disclosures [Abstract]  
Schedule of assets reported on the balance sheet at their fair value on a recurring basis
The following table presents the assets reported on the Consolidated Balance Sheet at their fair value on a recurring basis as of March 31, 2023 and December 31, 2022, by level within the fair value hierarchy. Financial assets and liabilities are classified in their entirety based on the lowest level of input that is significant to the fair value measurement.
 March 31, 2023
(In Thousands)Level ILevel IILevel IIITotal
Assets measured on a recurring basis:    
Investment securities, available for sale:    
U.S. Government and agency securities$— $2,920 $— $2,920 
Mortgage-backed securities— 7,952 — 7,952 
State and political securities— 139,692 — 139,692 
Other debt securities— 46,626 — 46,626 
Investment equity securities:
  Equity securities1,163 — — 1,163 

 December 31, 2022
(In Thousands)Level ILevel IILevel IIITotal
Assets measured on a recurring basis:    
Investment securities, available for sale:    
U.S. Government and agency securities$— $2,896 $— $2,896 
Mortgage-backed securities— 1,282 — 1,282 
State and political securities— 142,809 — 142,809 
Other debt securities— 46,686 — 46,686 
Investment equity securities:
  Equity securities1,142 — — 1,142 
Schedule of assets reported on the consolidated balance sheet at their fair value on a non-recurring basis
The following table presents the assets reported on the Consolidated Balance Sheet at their fair value on a non-recurring basis as of March 31, 2023 and December 31, 2022, by level within the fair value hierarchy. Financial assets and liabilities are classified in their entirety based on the lowest level of input that is significant to the fair value measurement. 
 March 31, 2023
(In Thousands)Level ILevel IILevel IIITotal
Assets measured on a non-recurring basis:    
Collateral dependent loans$— $— $1,905 $1,905 
Other real estate owned— — 83 83 
 December 31, 2022
(In Thousands)Level ILevel IILevel IIITotal
Assets measured on a non-recurring basis:    
Impaired loans$— $— $1,923 $1,923 
Other real estate owned— — 83 83 
Schedule of listing of significant unobservable inputs used in the fair value measurement process for items valued utilizing level III techniques
The following tables present a listing of significant unobservable inputs used in the fair value measurement process for items valued utilizing level III techniques as of March 31, 2023 and December 31, 2022: 
 March 31, 2023
 Quantitative Information About Level III Fair Value Measurements
(In Thousands)Fair ValueValuation Technique(s)Unobservable InputsRangeWeighted Average
Collateral dependent loans$1,905 
Appraisal of collateral (1)
Appraisal adjustments (1)
(10)% to (34)%
(14)%
Other real estate owned$83 
Appraisal of collateral (1)
Appraisal adjustments (1)
(20)%(20)%
(1) Appraisals may be adjusted by management for qualitative factors such as economic conditions and estimated liquidation expenses.
 December 31, 2022
 Quantitative Information About Level III Fair Value Measurements
(In Thousands)Fair ValueValuation Technique(s)Unobservable InputsRangeWeighted Average
Impaired loans$1,923 
Appraisal of collateral (1)
Appraisal adjustments (1)
0% to (34)%
(14)%
Other real estate owned$83 
Appraisal of collateral (1)
Appraisal adjustments (1)
(20)%(20)%
(1) Appraisals may be adjusted by management for qualitative factors such as economic conditions and estimated liquidation expenses.

v3.23.1
Fair Value of Financial Instruments (Tables)
3 Months Ended
Mar. 31, 2023
Fair Value Disclosures [Abstract]  
Schedule of fair value of financial instruments
The fair values of the Company’s financial instruments not recorded at fair value on a recurring or nonrecurring basis are as follows at March 31, 2023 and December 31, 2022:
 CarryingFairFair Value Measurements at March 31, 2023
(In Thousands)ValueValueLevel ILevel IILevel III
Financial assets:     
Loans held for sale (1)$1,705 $1,705 $1,705 $— $— 
Loans, net1,688,289 1,672,564 — — 1,672,564 
Financial liabilities:     
Time deposits & brokered deposits233,136 228,079 — — 228,079 
Short-term borrowings 97,102 97,102 97,102 — — 
Long-term borrowings132,738 130,067 — — 130,067 
(1) The financial instrument is carried at cost at, March 31, 2023 which approximate the fair value of the instruments
 CarryingFairFair Value Measurements at December 31, 2022
(In Thousands)ValueValueLevel ILevel IILevel III
Financial assets:     
Loans held for sale (1)$3,298 $3,298 $3,298 $— $— 
Loans, net1,624,094 1,594,073 — — 1,594,073 
Financial liabilities:     
Time deposits & brokered deposits146,282 137,559 — — 137,559 
Short-term borrowings153,349 153,349 153,349 — — 
Long-term borrowings102,783 99,118 — — 99,118 
(1) The financial instrument is carried at cost at, December 31, 2022 which approximate the fair value of the instruments

v3.23.1
Stock Options (Tables)
3 Months Ended
Mar. 31, 2023
Share-Based Payment Arrangement [Abstract]  
Schedule of Share-based Compensation, Stock Options Granted
Stock options outstanding as of March 31, 2023 are presented below:
Stock Options Granted
DateSharesForfeitedCash SettlementOutstandingStrike PriceVesting PeriodExpiration
January 20, 202359,500 — — 59,500 $27.77 3 years10 years
January 20, 202329,500 — — 29,500 27.77 5 years10 years
January 18, 2022156,000 — — 156,000 24.10 3 years10 years
January 18, 202278,000 — — 78,000 24.10 5 years10 years
April 9, 2021156,500 — — 156,500 24.23 3 years10 years
April 9, 202178,000 — — 78,000 24.23 5 years10 years
March 11, 2020119,300 — — 119,300 25.34 3 years10 years
March 11, 2020119,200 — — 119,200 25.34 5 years10 years
March 15, 2019120,900 (18,300)— 102,600 28.01 3 years10 years
March 15, 2019119,100 (17,700)— 101,400 28.01 5 years10 years
August 27, 201558,125 (26,250)(28,875)3,000 28.02 5 years10 years

A summary of stock option activity is presented below:
March 31, 2023
SharesWeighted Average Exercise Price
Outstanding, beginning of year914,000 $25.34 
Granted89,000 27.77 
Cash settlement— — 
Forfeited— — 
Expired— — 
Outstanding, end of period1,003,000 $25.56 
Exercisable, end of period224,900 $26.59 
Schedule of Share-based Payment Award, Stock Options, Valuation Assumptions The following is a summary of the assumptions used in this model for stock options granted for the three months ended March 31, 2023:
Three months ended March 31,
2023
Risk-free interest rate3.76 %
Expected volatility31 %
Expected Annual dividend$1.28 
Expected life6.84 years
Weighted average grant date fair value per option$6.11 

v3.23.1
Basis of Presentation - Narrative (Details) - USD ($)
$ in Thousands
Mar. 31, 2023
Dec. 31, 2022
Mar. 31, 2022
Dec. 31, 2021
Assets        
Allowance for credit losses $ 11,734 $ 15,637 $ 14,023 $ 14,176
Stockholders' equity 173,970 167,665 168,427 172,274
Deferred tax asset 5,741 6,868    
ACL - off balance sheet credit exposure 1,920 143 143  
RETAINED EARNINGS        
Assets        
Stockholders' equity $ 102,194 98,147 $ 90,928 $ 89,761
Adoption impact        
Assets        
Allowance for credit losses   (3,789)    
Stockholders' equity   1,647    
ACL - off balance sheet credit exposure   1,703    
Adoption impact | Financing Receivable Credit Loss Impact        
Assets        
Deferred tax asset   (796)    
Adoption impact | Off Balance Sheet Credit Exposure Impact        
Assets        
Deferred tax asset   357    
Adoption impact | RETAINED EARNINGS        
Assets        
Stockholders' equity   1,647    
Adoption impact | RETAINED EARNINGS | Financing Receivable Credit Loss Impact        
Assets        
Stockholders' equity   2,993    
Adoption impact | RETAINED EARNINGS | Off Balance Sheet Credit Exposure Impact        
Assets        
Stockholders' equity   $ (1,346)    

v3.23.1
Basis of Presentation - Summary of Impact of CECL (Details) - USD ($)
$ in Thousands
Mar. 31, 2023
Dec. 31, 2022
Mar. 31, 2022
Dec. 31, 2021
Assets        
Allowance for credit losses $ 11,734 $ 15,637 $ 14,023 $ 14,176
Liabilities        
ACL - off balance sheet credit exposure 1,920 143 143  
Total ACL 13,654 15,780    
Adoption impact        
Assets        
Allowance for credit losses   (3,789)    
Liabilities        
ACL - off balance sheet credit exposure   1,703    
Total ACL   (2,086)    
As Reported        
Liabilities        
ACL - off balance sheet credit exposure   1,846    
Total ACL   13,694    
Commercial, financial, and agricultural        
Assets        
Allowance for credit losses 3,862 1,914 1,936 1,946
Commercial, financial, and agricultural | Adoption impact        
Assets        
Allowance for credit losses   2,656    
Commercial, financial, and agricultural | As Reported        
Assets        
Allowance for credit losses   4,570    
Consumer automobile loans        
Assets        
Allowance for credit losses 2,113 1,617 1,376 1,411
Consumer automobile loans | Adoption impact        
Assets        
Allowance for credit losses   240    
Consumer automobile loans | As Reported        
Assets        
Allowance for credit losses   1,857    
Other consumer installment loans        
Assets        
Allowance for credit losses 682 109 114 111
Other consumer installment loans | Adoption impact        
Assets        
Allowance for credit losses   602    
Other consumer installment loans | As Reported        
Assets        
Allowance for credit losses   711    
Unallocated        
Assets        
Allowance for credit losses 0 638 384 492
Unallocated | Adoption impact        
Assets        
Allowance for credit losses   (638)    
Unallocated | As Reported        
Assets        
Allowance for credit losses   0    
Residential | Real Estate Mortgages        
Assets        
Allowance for credit losses 1,412 5,061 4,801 4,701
Residential | Real Estate Mortgages | Adoption impact        
Assets        
Allowance for credit losses   (3,893)    
Residential | Real Estate Mortgages | As Reported        
Assets        
Allowance for credit losses   1,168    
Commercial | Real Estate Mortgages        
Assets        
Allowance for credit losses 3,481 6,110 5,215 5,336
Commercial | Real Estate Mortgages | Adoption impact        
Assets        
Allowance for credit losses   (2,660)    
Commercial | Real Estate Mortgages | As Reported        
Assets        
Allowance for credit losses   3,450    
Construction | Real Estate Mortgages        
Assets        
Allowance for credit losses $ 184 188 $ 197 $ 179
Construction | Real Estate Mortgages | Adoption impact        
Assets        
Allowance for credit losses   (96)    
Construction | Real Estate Mortgages | As Reported        
Assets        
Allowance for credit losses   $ 92    

v3.23.1
Accumulated Other Comprehensive Loss - Schedule of AOCI (Details) - USD ($)
$ in Thousands
3 Months Ended
Mar. 31, 2023
Mar. 31, 2022
AOCI Attributable to Parent, Net of Tax [Roll Forward]    
Beginning balance $ 167,665 $ 172,274
Other comprehensive income (loss) before reclassifications 1,843 (5,449)
Amounts reclassified from accumulated other comprehensive gain 77 15
Net current-period other comprehensive income (loss) 1,920 (5,434)
Ending balance 173,970 168,427
Total    
AOCI Attributable to Parent, Net of Tax [Roll Forward]    
Beginning balance (13,958) (1,112)
Ending balance (12,038) (6,546)
Net Unrealized Gain (Loss) on Available for Sale Securities    
AOCI Attributable to Parent, Net of Tax [Roll Forward]    
Beginning balance (9,819) 2,373
Other comprehensive income (loss) before reclassifications 1,843 (5,449)
Amounts reclassified from accumulated other comprehensive gain 48 2
Net current-period other comprehensive income (loss) 1,891 (5,447)
Ending balance (7,928) (3,074)
Defined Benefit  Plan    
AOCI Attributable to Parent, Net of Tax [Roll Forward]    
Beginning balance (4,139) (3,485)
Other comprehensive income (loss) before reclassifications 0 0
Amounts reclassified from accumulated other comprehensive gain 29 13
Net current-period other comprehensive income (loss) 29 13
Ending balance $ (4,110) $ (3,472)

v3.23.1
Accumulated Other Comprehensive Loss - Schedule of Reclassifications out of AOCI (Details) - USD ($)
$ in Thousands
3 Months Ended
Mar. 31, 2023
Mar. 31, 2022
Reclassifications out of accumulated other comprehensive income    
Net unrealized (loss) gain on available for sale securities $ (61) $ (2)
Net unrecognized pension costs (1,456) (1,452)
Income tax effect (928) (676)
Net Income 4,658 3,432
Amount Reclassified from Accumulated Other Comprehensive Loss | Net Unrealized Gain (Loss) on Available for Sale Securities    
Reclassifications out of accumulated other comprehensive income    
Net unrealized (loss) gain on available for sale securities (61) (2)
Income tax effect 13 0
Net Income (48) (2)
Amount Reclassified from Accumulated Other Comprehensive Loss | Defined Benefit  Plan    
Reclassifications out of accumulated other comprehensive income    
Net unrecognized pension costs (37) (17)
Income tax effect 8 4
Net Income $ (29) $ (13)

v3.23.1
Recent Accounting Pronouncements (Details) - USD ($)
$ in Thousands
Mar. 31, 2023
Dec. 31, 2022
Mar. 31, 2022
Dec. 31, 2021
Assets        
Net impact of adoption $ 13,654 $ 15,780    
Allowance for credit losses 11,734 15,637 $ 14,023 $ 14,176
ACL - off balance sheet credit exposure $ 1,920 143 $ 143  
Adoption impact        
Assets        
Net impact of adoption   (2,086)    
Allowance for credit losses   (3,789)    
ACL - off balance sheet credit exposure   $ 1,703    

v3.23.1
Per Share Data - Narrative (Details) - $ / shares
3 Months Ended
Mar. 31, 2023
Mar. 31, 2022
Dec. 31, 2022
Aug. 27, 2015
Earnings Per Share [Abstract]        
Convertible securities which would affect denominator in calculating basic and dilutive earnings per share (in shares) 0      
Options, outstanding (in shares) 1,003,000 1,268,525 914,000 3,000
Outstanding, weighted average exercise price (in dollars per share) $ 25.56 $ 26.65 $ 25.34  
Average share price (in dollars per share) $ 25.96 $ 24.24    

v3.23.1
Per Share Data - Composition of Weighted Average Common Shares Used in Earnings per Share Computation (Details) - shares
3 Months Ended
Mar. 31, 2023
Mar. 31, 2022
Earnings Per Share [Abstract]    
Weighted average common shares issued (in shares) 7,568,622 7,552,800
Weighted average treasury stock shares (in shares) (510,225) (480,225)
Weighted average shares outstanding - basic (in shares) 7,058,397 7,072,575
Dilutive effect of outstanding stock options (in shares) 275,800 0
Weighted average common shares outstanding - diluted (in shares) 7,334,197 7,072,575

v3.23.1
Investment Securities - Amortized Cost and Fair Values of Investment Securities Available for Sale (Details) - USD ($)
$ in Thousands
Mar. 31, 2023
Dec. 31, 2022
Available for sale (AFS):    
Amortized Cost $ 207,225  
Fair value 197,190 $ 193,673
Investment equity securities:    
Fair value 1,163 1,142
Total debt securities    
Available for sale (AFS):    
Amortized Cost 207,225 206,102
Gross unrealized gains 285 215
Gross unrealized losses (10,320) (12,644)
Fair value 197,190 193,673
U.S. Government and agency securities    
Available for sale (AFS):    
Amortized Cost 3,002 3,002
Gross unrealized gains 0 0
Gross unrealized losses (82) (106)
Fair value 2,920 2,896
Mortgage-backed securities    
Available for sale (AFS):    
Amortized Cost 8,159 1,496
Gross unrealized gains 15 0
Gross unrealized losses (222) (214)
Fair value 7,952 1,282
State and political securities    
Available for sale (AFS):    
Amortized Cost 145,998 151,426
Gross unrealized gains 266 157
Gross unrealized losses (6,572) (8,774)
Fair value 139,692 142,809
Other debt securities    
Available for sale (AFS):    
Amortized Cost 50,066 50,178
Gross unrealized gains 4 58
Gross unrealized losses (3,444) (3,550)
Fair value 46,626 46,686
Equity securities    
Investment equity securities:    
Amortized Cost 1,350 1,350
Gross unrealized gains 0 0
Gross unrealized losses (187) (208)
Fair value $ 1,163 $ 1,142

v3.23.1
Investment Securities - Gross Unrealized Losses and Fair Value by Investment Category (Details) - USD ($)
$ in Thousands
Mar. 31, 2023
Dec. 31, 2022
Total debt securities    
Investment securities    
Fair value, less than twelve months $ 66,307 $ 115,236
Gross unrealized losses, less than twelve months (1,445) (5,567)
Fair value, twelve months or greater 114,884 62,709
Gross unrealized losses, twelve months or greater (8,875) (7,077)
Fair value, total 181,191 177,945
Gross unrealized losses, total (10,320) (12,644)
U.S. Government and agency securities    
Investment securities    
Fair value, less than twelve months 2,446 2,896
Gross unrealized losses, less than twelve months (56) (106)
Fair value, twelve months or greater 474 0
Gross unrealized losses, twelve months or greater (26) 0
Fair value, total 2,920 2,896
Gross unrealized losses, total (82) (106)
Mortgage-backed securities    
Investment securities    
Fair value, less than twelve months 5,139 0
Gross unrealized losses, less than twelve months (36) 0
Fair value, twelve months or greater 1,297 1,282
Gross unrealized losses, twelve months or greater (186) (214)
Fair value, total 6,436 1,282
Gross unrealized losses, total (222) (214)
State and political securities    
Investment securities    
Fair value, less than twelve months 53,390 95,444
Gross unrealized losses, less than twelve months (1,264) (4,797)
Fair value, twelve months or greater 72,923 36,283
Gross unrealized losses, twelve months or greater (5,308) (3,977)
Fair value, total 126,313 131,727
Gross unrealized losses, total (6,572) (8,774)
Other debt securities    
Investment securities    
Fair value, less than twelve months 5,332 16,896
Gross unrealized losses, less than twelve months (89) (664)
Fair value, twelve months or greater 40,190 25,144
Gross unrealized losses, twelve months or greater (3,355) (2,886)
Fair value, total 45,522 42,040
Gross unrealized losses, total $ (3,444) $ (3,550)

v3.23.1
Investment Securities - Narrative (Details)
3 Months Ended
Mar. 31, 2023
USD ($)
security
Mar. 31, 2022
USD ($)
Dec. 31, 2022
USD ($)
Investments, Debt and Equity Securities [Abstract]      
Number of individual securities that were in a continuous unrealized loss position for less than twelve months (in securities) | security 70    
Number of individual securities that were in a continuous unrealized loss position for greater than twelve months (in securities) | security 165    
Credit losses $ 0    
Gross proceeds from sales of securities 12,913,000 $ 90,000  
Carrying value of investment securities pledged 149,415,000   $ 154,946,000
Investment equity securities, at fair value $ 1,163,000   $ 1,142,000

v3.23.1
Investment Securities - Amortized Cost and Fair Value of Debt Securities (Details)
$ in Thousands
Mar. 31, 2023
USD ($)
Amortized Cost  
Due in one year or less $ 30,883
Due after one year to five years 102,687
Due after five years to ten years 65,362
Due after ten years 8,293
Amortized Cost 207,225
Fair Value  
Due in one year or less 30,393
Due after one year to five years 97,428
Due after five years to ten years 61,218
Due after ten years 8,151
Total $ 197,190

v3.23.1
Investment Securities - Total Gross Proceeds from Sales of Securities (Details) - State and political securities - USD ($)
$ in Thousands
3 Months Ended
Mar. 31, 2023
Mar. 31, 2022
Available for sale (AFS):    
Available-for-sale securities, gross realized gains $ 54 $ 1
Available-for-sale securities, gross realized losses $ (115) $ (3)

v3.23.1
Investment Securities - Unrealized and Realized Gains and Losses Recognized in Net Income (Details) - USD ($)
$ in Thousands
3 Months Ended
Mar. 31, 2023
Mar. 31, 2022
Equity Securities, FV-NI, Gain (Loss) [Abstract]    
Net gains (losses) recognized in equity securities during the period $ 21 $ (59)
Less: Net gains realized on the sale of equity securities during the period 0 0
Unrealized gains (losses) recognized in equity securities held at reporting date $ 21 $ (59)

v3.23.1
Loans - Narrative (Details)
3 Months Ended
Mar. 31, 2023
USD ($)
contract
category
Mar. 31, 2022
USD ($)
contract
Dec. 31, 2022
USD ($)
Accounts, Notes, Loans and Financing Receivable [Line Items]      
Period to classify TDR non performing loans to performing (in months) 6 months    
Non-accrual loans interest income $ 32,000    
Number of loan modifications (in contracts) | contract 0 0  
Number of TDRs that defaulted (in contracts) | contract 0 1  
Troubled debt restructuring $ 7,328,000   $ 7,468,000
Real estate acquired through foreclosure 846,000   950,000
Mortgage loans in process of foreclosure, amount $ 722,000   $ 890,000
Number of categories considered not criticized and rated as pass (in categories) | category 6    
Minimum period after which loans are considered as substandard (in days) 90 days    
Percentage of loan review evaluated 0.55    
Real Estate      
Accounts, Notes, Loans and Financing Receivable [Line Items]      
Number of categories in which real estate loans segmented (in categories) | category 3    
Commercial | Real Estate Mortgages      
Accounts, Notes, Loans and Financing Receivable [Line Items]      
Number of TDRs that defaulted (in contracts) | contract   1  
Troubled debt restructuring, default amount   $ 400,000  

v3.23.1
Loans - Aging Categories of Loans by Segment (Details) - USD ($)
$ in Thousands
Mar. 31, 2023
Dec. 31, 2022
Mar. 31, 2022
Dec. 31, 2021
Aging categories of loans by segment        
Non-Accrual $ 3,551 $ 3,615    
Total ending loans balance 1,699,098 1,639,083    
Past due 90 days or more & still accruing 2,696 1,275    
Net deferred loan fees and discounts 925 648    
Allowance for credit losses (11,734) (15,637) $ (14,023) $ (14,176)
Loans, net 1,688,289 1,624,094    
Past Due 30 to 89 Days        
Aging categories of loans by segment        
Total ending loans balance 7,993 10,882    
Current        
Aging categories of loans by segment        
Total ending loans balance 1,688,409 1,623,311    
Commercial, financial, and agricultural        
Aging categories of loans by segment        
Non-Accrual 456 432    
Total ending loans balance 200,432 190,461    
Past due 90 days or more & still accruing 0 0    
Allowance for credit losses (3,862) (1,914) (1,936) (1,946)
Commercial, financial, and agricultural | Past Due 30 to 89 Days        
Aging categories of loans by segment        
Total ending loans balance 261 94    
Commercial, financial, and agricultural | Current        
Aging categories of loans by segment        
Total ending loans balance 200,171 189,935    
Real Estate Mortgages | Residential        
Aging categories of loans by segment        
Non-Accrual 510 524    
Total ending loans balance 723,932 708,209    
Past due 90 days or more & still accruing 1,154 1,120    
Allowance for credit losses (1,412) (5,061) (4,801) (4,701)
Real Estate Mortgages | Residential | Past Due 30 to 89 Days        
Aging categories of loans by segment        
Total ending loans balance 5,068 5,472    
Real Estate Mortgages | Residential | Current        
Aging categories of loans by segment        
Total ending loans balance 717,710 701,093    
Real Estate Mortgages | Commercial        
Aging categories of loans by segment        
Non-Accrual 2,585 2,659    
Total ending loans balance 509,466 500,632    
Past due 90 days or more & still accruing 1,362 60    
Allowance for credit losses (3,481) (6,110) (5,215) (5,336)
Real Estate Mortgages | Commercial | Past Due 30 to 89 Days        
Aging categories of loans by segment        
Total ending loans balance 914 2,564    
Real Estate Mortgages | Commercial | Current        
Aging categories of loans by segment        
Total ending loans balance 507,190 495,349    
Real Estate Mortgages | Construction        
Aging categories of loans by segment        
Non-Accrual 0 0    
Total ending loans balance 47,121 43,308    
Past due 90 days or more & still accruing 32 0    
Allowance for credit losses (184) (188) (197) (179)
Real Estate Mortgages | Construction | Past Due 30 to 89 Days        
Aging categories of loans by segment        
Total ending loans balance 472 511    
Real Estate Mortgages | Construction | Current        
Aging categories of loans by segment        
Total ending loans balance 46,617 42,797    
Consumer automobile loans        
Aging categories of loans by segment        
Non-Accrual 0 0    
Total ending loans balance 207,747 186,112    
Past due 90 days or more & still accruing 144 80    
Allowance for credit losses (2,113) (1,617) (1,376) (1,411)
Consumer automobile loans | Past Due 30 to 89 Days        
Aging categories of loans by segment        
Total ending loans balance 1,121 2,089    
Consumer automobile loans | Current        
Aging categories of loans by segment        
Total ending loans balance 206,482 183,943    
Other consumer installment loans        
Aging categories of loans by segment        
Non-Accrual 0 0    
Total ending loans balance 10,400 10,361    
Past due 90 days or more & still accruing 4 15    
Allowance for credit losses (682) (109) $ (114) $ (111)
Other consumer installment loans | Past Due 30 to 89 Days        
Aging categories of loans by segment        
Total ending loans balance 157 152    
Other consumer installment loans | Current        
Aging categories of loans by segment        
Total ending loans balance $ 10,239 $ 10,194    

v3.23.1
Loans - Components of the Allowance (Details) - USD ($)
$ in Thousands
Mar. 31, 2023
Dec. 31, 2022
Mar. 31, 2022
Dec. 31, 2021
Other Income and Expenses [Abstract]        
Allowance for credit losses $ 11,734 $ 15,637 $ 14,023 $ 14,176
ACL - off balance sheet credit exposure 1,920 143 $ 143  
Total ACL $ 13,654 $ 15,780    

v3.23.1
Loans - Non-accrual Loans (Details) - USD ($)
$ in Thousands
Mar. 31, 2023
Dec. 31, 2022
Financing Receivable, Nonaccrual [Line Items]    
Non-accrual Loans, With a Related Allowance $ 1,214  
Non-accrual Loans, Without a Related Allowance 2,337  
Non-accrual Loans, Total 3,551 $ 3,615
Commercial, financial, and agricultural    
Financing Receivable, Nonaccrual [Line Items]    
Non-accrual Loans, With a Related Allowance 456  
Non-accrual Loans, Without a Related Allowance 0  
Non-accrual Loans, Total 456 432
Real Estate Mortgages | Residential    
Financing Receivable, Nonaccrual [Line Items]    
Non-accrual Loans, With a Related Allowance 510  
Non-accrual Loans, Without a Related Allowance 0  
Non-accrual Loans, Total 510 524
Real Estate Mortgages | Commercial    
Financing Receivable, Nonaccrual [Line Items]    
Non-accrual Loans, With a Related Allowance 248  
Non-accrual Loans, Without a Related Allowance 2,337  
Non-accrual Loans, Total 2,585 2,659
Real Estate Mortgages | Construction    
Financing Receivable, Nonaccrual [Line Items]    
Non-accrual Loans, With a Related Allowance 0  
Non-accrual Loans, Without a Related Allowance 0  
Non-accrual Loans, Total 0 0
Consumer automobile loans    
Financing Receivable, Nonaccrual [Line Items]    
Non-accrual Loans, With a Related Allowance 0  
Non-accrual Loans, Without a Related Allowance 0  
Non-accrual Loans, Total 0 0
Other consumer installment loans    
Financing Receivable, Nonaccrual [Line Items]    
Non-accrual Loans, With a Related Allowance 0  
Non-accrual Loans, Without a Related Allowance 0  
Non-accrual Loans, Total $ 0 $ 0

v3.23.1
Loans - Recorded Investment, Unpaid Principal Balance, Related Allowance of Impaired Loans (Details)
$ in Thousands
Dec. 31, 2022
USD ($)
Credit Quality and Related Allowance for Loan Losses  
Recorded investment, with no related allowance recorded $ 6,271
Recorded investment, with an allowance recorded 4,962
Recorded investment 11,233
Unpaid principal balance, with no related allowance recorded 6,271
Unpaid principal balance, with an allowance recorded 4,943
Unpaid principal balance 11,214
Related allowance 961
Commercial, financial, and agricultural  
Credit Quality and Related Allowance for Loan Losses  
Recorded investment, with no related allowance recorded 295
Recorded investment, with an allowance recorded 403
Recorded investment 698
Unpaid principal balance, with no related allowance recorded 295
Unpaid principal balance, with an allowance recorded 403
Unpaid principal balance 698
Related allowance 4
Real Estate Mortgages | Residential  
Credit Quality and Related Allowance for Loan Losses  
Recorded investment, with no related allowance recorded 3,388
Recorded investment, with an allowance recorded 933
Recorded investment 4,321
Unpaid principal balance, with no related allowance recorded 3,388
Unpaid principal balance, with an allowance recorded 933
Unpaid principal balance 4,321
Related allowance 111
Real Estate Mortgages | Commercial  
Credit Quality and Related Allowance for Loan Losses  
Recorded investment, with no related allowance recorded 2,588
Recorded investment, with an allowance recorded 3,607
Recorded investment 6,195
Unpaid principal balance, with no related allowance recorded 2,588
Unpaid principal balance, with an allowance recorded 3,607
Unpaid principal balance 6,195
Related allowance 827
Real Estate Mortgages | Construction  
Credit Quality and Related Allowance for Loan Losses  
Recorded investment, with no related allowance recorded 0
Recorded investment, with an allowance recorded 0
Recorded investment 0
Unpaid principal balance, with no related allowance recorded 0
Unpaid principal balance, with an allowance recorded 0
Unpaid principal balance 0
Related allowance 0
Consumer automobile loans  
Credit Quality and Related Allowance for Loan Losses  
Recorded investment, with no related allowance recorded 0
Recorded investment, with an allowance recorded 0
Recorded investment 0
Unpaid principal balance, with no related allowance recorded 0
Unpaid principal balance, with an allowance recorded 0
Unpaid principal balance 0
Related allowance 0
Installment loans to individuals  
Credit Quality and Related Allowance for Loan Losses  
Recorded investment, with no related allowance recorded 0
Recorded investment, with an allowance recorded 19
Recorded investment 19
Unpaid principal balance, with no related allowance recorded 0
Unpaid principal balance, with an allowance recorded 0
Unpaid principal balance 0
Related allowance $ 19

v3.23.1
Loans - Schedule of Collateral Dependent Loans (Details)
Mar. 31, 2023
USD ($)
Real Estate  
Assets  
Collateral dependent loans $ 679
Other  
Assets  
Collateral dependent loans $ 1,225
Percentage of loans guaranteed 0.90
Unsecured  
Assets  
Collateral dependent loans $ 332
Percentage of loans guaranteed 0.10
Residential | Real Estate | Real Estate Mortgages  
Assets  
Collateral dependent loans $ 525
Residential | Other | Real Estate Mortgages  
Assets  
Collateral dependent loans 0
Residential | Unsecured | Real Estate Mortgages  
Assets  
Collateral dependent loans 0
Commercial | Real Estate | Real Estate Mortgages  
Assets  
Collateral dependent loans 154
Commercial | Other | Real Estate Mortgages  
Assets  
Collateral dependent loans 1,225
Commercial | Unsecured | Real Estate Mortgages  
Assets  
Collateral dependent loans $ 332

v3.23.1
Loans - Average Recorded Investment - Impaired Loans (Details)
$ in Thousands
3 Months Ended
Mar. 31, 2022
USD ($)
Credit Quality and Related Allowance for Loan Losses  
Average Investment in Impaired Loans $ 13,659
Interest Income Recognized on an Accrual Basis on Impaired Loans 104
Interest Income Recognized on a Cash Basis on Impaired Loans 0
Commercial, financial, and agricultural  
Credit Quality and Related Allowance for Loan Losses  
Average Investment in Impaired Loans 853
Interest Income Recognized on an Accrual Basis on Impaired Loans 5
Interest Income Recognized on a Cash Basis on Impaired Loans 0
Real Estate Mortgages | Residential  
Credit Quality and Related Allowance for Loan Losses  
Average Investment in Impaired Loans 4,944
Interest Income Recognized on an Accrual Basis on Impaired Loans 46
Interest Income Recognized on a Cash Basis on Impaired Loans 0
Real Estate Mortgages | Commercial  
Credit Quality and Related Allowance for Loan Losses  
Average Investment in Impaired Loans 7,757
Interest Income Recognized on an Accrual Basis on Impaired Loans 52
Interest Income Recognized on a Cash Basis on Impaired Loans 0
Real Estate Mortgages | Construction  
Credit Quality and Related Allowance for Loan Losses  
Average Investment in Impaired Loans 85
Interest Income Recognized on an Accrual Basis on Impaired Loans 1
Interest Income Recognized on a Cash Basis on Impaired Loans 0
Consumer automobile loans  
Credit Quality and Related Allowance for Loan Losses  
Average Investment in Impaired Loans 0
Interest Income Recognized on an Accrual Basis on Impaired Loans 0
Interest Income Recognized on a Cash Basis on Impaired Loans 0
Other consumer installment loans  
Credit Quality and Related Allowance for Loan Losses  
Average Investment in Impaired Loans 20
Interest Income Recognized on an Accrual Basis on Impaired Loans 0
Interest Income Recognized on a Cash Basis on Impaired Loans $ 0

v3.23.1
Loans - Credit Quality Indicators (Details) - USD ($)
$ in Thousands
3 Months Ended
Mar. 31, 2023
Dec. 31, 2022
Credit quality categories    
Total ending loans balance $ 1,699,098 $ 1,639,083
Pass    
Credit quality categories    
Total ending loans balance   1,618,973
Special Mention    
Credit quality categories    
Total ending loans balance   4,917
Substandard    
Credit quality categories    
Total ending loans balance   15,193
Commercial, financial, and agricultural    
Credit quality categories    
2023 17,392  
2022 57,070  
2021 40,861  
2020 34,532  
2019 9,298  
Prior 10,292  
Revolving Loans 30,143  
Revolving Loans Converted to Term 844  
Total ending loans balance 200,432 190,461
Current period gross write offs    
2023 0  
2022 0  
2021 0  
2020 0  
2019 0  
Prior 0  
Revolving Loans 0  
Revolving Loans Converted to Term 0  
Current period gross write offs 0  
Commercial, financial, and agricultural | Pass    
Credit quality categories    
2023 17,392  
2022 57,070  
2021 40,861  
2020 34,532  
2019 9,298  
Prior 10,195  
Revolving Loans 29,713  
Revolving Loans Converted to Term 131  
Total ending loans balance 199,192 184,783
Commercial, financial, and agricultural | Special Mention    
Credit quality categories    
2023 0  
2022 0  
2021 0  
2020 0  
2019 0  
Prior 97  
Revolving Loans 0  
Revolving Loans Converted to Term 0  
Total ending loans balance 97 125
Commercial, financial, and agricultural | Substandard    
Credit quality categories    
2023 0  
2022 0  
2021 0  
2020 0  
2019 0  
Prior 0  
Revolving Loans 430  
Revolving Loans Converted to Term 713  
Total ending loans balance 1,143 5,553
Real Estate Mortgages | Residential    
Credit quality categories    
2023 32,256  
2022 218,074  
2021 127,318  
2020 74,424  
2019 49,003  
Prior 70,466  
Revolving Loans 44,182  
Revolving Loans Converted to Term 108,209  
Total ending loans balance 723,932 708,209
Real Estate Mortgages | Residential | Pass    
Credit quality categories    
2023 32,256  
2022 218,074  
2021 127,155  
2020 74,334  
2019 49,003  
Prior 68,165  
Revolving Loans 44,114  
Revolving Loans Converted to Term 108,180  
Total ending loans balance 721,281 705,515
Real Estate Mortgages | Residential | Special Mention    
Credit quality categories    
2023 0  
2022 0  
2021 163  
2020 0  
2019 0  
Prior 0  
Revolving Loans 0  
Revolving Loans Converted to Term 0  
Total ending loans balance 163 266
Real Estate Mortgages | Residential | Substandard    
Credit quality categories    
2023 0  
2022 0  
2021 0  
2020 90  
2019 0  
Prior 2,301  
Revolving Loans 68  
Revolving Loans Converted to Term 29  
Total ending loans balance 2,488 2,428
Current period gross write offs    
2023 0  
2022 0  
2021 0  
2020 0  
2019 0  
Prior 5  
Revolving Loans 73  
Revolving Loans Converted to Term 0  
Current period gross write offs 78  
Real Estate Mortgages | Commercial    
Credit quality categories    
2023 11,022  
2022 102,142  
2021 140,492  
2020 52,744  
2019 27,194  
Prior 164,361  
Revolving Loans 10,871  
Revolving Loans Converted to Term 640  
Total ending loans balance 509,466 500,632
Real Estate Mortgages | Commercial | Pass    
Credit quality categories    
2023 11,022  
2022 102,142  
2021 140,306  
2020 52,744  
2019 27,194  
Prior 157,392  
Revolving Loans 10,849  
Revolving Loans Converted to Term 599  
Total ending loans balance 502,248 488,993
Real Estate Mortgages | Commercial | Special Mention    
Credit quality categories    
2023 0  
2022 0  
2021 186  
2020 0  
2019 0  
Prior 48  
Revolving Loans 0  
Revolving Loans Converted to Term 0  
Total ending loans balance 234 4,526
Real Estate Mortgages | Commercial | Substandard    
Credit quality categories    
2023 0  
2022 0  
2021 0  
2020 0  
2019 0  
Prior 6,921  
Revolving Loans 22  
Revolving Loans Converted to Term 41  
Total ending loans balance 6,984 7,113
Current period gross write offs    
2023 0  
2022 0  
2021 0  
2020 0  
2019 0  
Prior 3  
Revolving Loans 0  
Revolving Loans Converted to Term 0  
Current period gross write offs 3  
Real Estate Mortgages | Construction    
Credit quality categories    
2023 10,388  
2022 17,545  
2021 11,711  
2020 1,726  
2019 611  
Prior 4,871  
Revolving Loans 269  
Revolving Loans Converted to Term 0  
Total ending loans balance 47,121 43,308
Real Estate Mortgages | Construction | Pass    
Credit quality categories    
2023 10,388  
2022 17,545  
2021 11,711  
2020 1,726  
2019 611  
Prior 4,775  
Revolving Loans 269  
Revolving Loans Converted to Term 0  
Total ending loans balance 47,025 43,209
Real Estate Mortgages | Construction | Special Mention    
Credit quality categories    
2023 0  
2022 0  
2021 0  
2020 0  
2019 0  
Prior 0  
Revolving Loans 0  
Revolving Loans Converted to Term 0  
Total ending loans balance 0 0
Real Estate Mortgages | Construction | Substandard    
Credit quality categories    
2023 0  
2022 0  
2021 0  
2020 0  
2019 0  
Prior 96  
Revolving Loans 0  
Revolving Loans Converted to Term 0  
Total ending loans balance 96 99
Current period gross write offs    
2023 0  
2022 0  
2021 0  
2020 0  
2019 0  
Prior 0  
Revolving Loans 0  
Revolving Loans Converted to Term 0  
Current period gross write offs 0  
Consumer automobile loans    
Credit quality categories    
2023 35,550  
2022 100,204  
2021 27,682  
2020 22,834  
2019 12,400  
Prior 9,077  
Revolving Loans 0  
Revolving Loans Converted to Term 0  
Total ending loans balance 207,747 186,112
Consumer automobile loans | Pass    
Credit quality categories    
2023 35,550  
2022 100,204  
2021 27,682  
2020 22,834  
2019 12,400  
Prior 9,077  
Revolving Loans 0  
Revolving Loans Converted to Term 0  
Total ending loans balance 207,747 186,112
Consumer automobile loans | Special Mention    
Credit quality categories    
2023 0  
2022 0  
2021 0  
2020 0  
2019 0  
Prior 0  
Revolving Loans 0  
Revolving Loans Converted to Term 0  
Total ending loans balance 0 0
Consumer automobile loans | Substandard    
Credit quality categories    
2023 0  
2022 0  
2021 0  
2020 0  
2019 0  
Prior 0  
Revolving Loans 0  
Revolving Loans Converted to Term 0  
Total ending loans balance 0 0
Current period gross write offs    
2023 1  
2022 58  
2021 0  
2020 29  
2019 0  
Prior 3  
Revolving Loans 0  
Revolving Loans Converted to Term 0  
Current period gross write offs 91  
Other consumer installment loans    
Credit quality categories    
2023 888  
2022 3,334  
2021 1,590  
2020 701  
2019 499  
Prior 3,339  
Revolving Loans 0  
Revolving Loans Converted to Term 49  
Total ending loans balance 10,400 10,361
Other consumer installment loans | Pass    
Credit quality categories    
2023 888  
2022 3,334  
2021 1,590  
2020 701  
2019 499  
Prior 3,339  
Revolving Loans 0  
Revolving Loans Converted to Term 49  
Total ending loans balance 10,400 10,361
Current period gross write offs    
2023 40  
2022 5  
2021 21  
2020 0  
2019 3  
Prior 6  
Revolving Loans 13  
Revolving Loans Converted to Term 0  
Current period gross write offs 88  
Other consumer installment loans | Special Mention    
Credit quality categories    
2023 0  
2022 0  
2021 0  
2020 0  
2019 0  
Prior 0  
Revolving Loans 0  
Revolving Loans Converted to Term 0  
Total ending loans balance 0 0
Other consumer installment loans | Substandard    
Credit quality categories    
2023 0  
2022 0  
2021 0  
2020 0  
2019 0  
Prior 0  
Revolving Loans 0  
Revolving Loans Converted to Term 0  
Total ending loans balance $ 0 $ 0

v3.23.1
Loans - Allowance for Credit Losses on Financing Receivables (Details) - USD ($)
$ in Thousands
3 Months Ended
Mar. 31, 2023
Mar. 31, 2022
Allowance for Loan Losses:    
Beginning Balance $ 15,637 $ 14,176
Charge-offs (262) (344)
Recoveries 139 41
Provision for credit losses 9 150
Ending Balance 11,734 14,023
Adoption impact    
Allowance for Loan Losses:    
Beginning Balance (3,789)  
Commercial, financial, and agricultural    
Allowance for Loan Losses:    
Beginning Balance 1,914 1,946
Charge-offs 0 0
Recoveries 105 4
Provision for credit losses (813) (14)
Ending Balance 3,862 1,936
Commercial, financial, and agricultural | Adoption impact    
Allowance for Loan Losses:    
Beginning Balance 2,656  
Real Estate Mortgages | Residential    
Allowance for Loan Losses:    
Beginning Balance 5,061 4,701
Charge-offs (78) 0
Recoveries 2 3
Provision for credit losses 320 97
Ending Balance 1,412 4,801
Real Estate Mortgages | Residential | Adoption impact    
Allowance for Loan Losses:    
Beginning Balance (3,893)  
Real Estate Mortgages | Commercial    
Allowance for Loan Losses:    
Beginning Balance 6,110 5,336
Charge-offs (3) (155)
Recoveries 3 1
Provision for credit losses 31 33
Ending Balance 3,481 5,215
Real Estate Mortgages | Commercial | Adoption impact    
Allowance for Loan Losses:    
Beginning Balance (2,660)  
Real Estate Mortgages | Construction    
Allowance for Loan Losses:    
Beginning Balance 188 179
Charge-offs 0 0
Recoveries 0 0
Provision for credit losses 92 18
Ending Balance 184 197
Real Estate Mortgages | Construction | Adoption impact    
Allowance for Loan Losses:    
Beginning Balance (96)  
Consumer automobile loans    
Allowance for Loan Losses:    
Beginning Balance 1,617 1,411
Charge-offs (93) (129)
Recoveries 12 9
Provision for credit losses 337 85
Ending Balance 2,113 1,376
Consumer automobile loans | Adoption impact    
Allowance for Loan Losses:    
Beginning Balance 240  
Other consumer installment loans    
Allowance for Loan Losses:    
Beginning Balance 109 111
Charge-offs (88) (60)
Recoveries 17 24
Provision for credit losses 42 39
Ending Balance 682 114
Other consumer installment loans | Adoption impact    
Allowance for Loan Losses:    
Beginning Balance 602  
Unallocated    
Allowance for Loan Losses:    
Beginning Balance 638 492
Charge-offs 0 0
Recoveries 0 0
Provision for credit losses 0 (108)
Ending Balance 0 $ 384
Unallocated | Adoption impact    
Allowance for Loan Losses:    
Beginning Balance $ (638)  

v3.23.1
Loans - Schedule of Concentration Risk (Details) - Owners of rental properties - Financing receivable
3 Months Ended
Mar. 31, 2023
Mar. 31, 2022
Residential    
Concentration Risk [Line Items]    
Concentration of loans (as a percent) 19.12% 19.95%
Commercial    
Concentration Risk [Line Items]    
Concentration of loans (as a percent) 15.28% 15.60%

v3.23.1
Loans - Allowance for Loan Losses (Details) - USD ($)
$ in Thousands
Mar. 31, 2023
Dec. 31, 2022
Mar. 31, 2022
Dec. 31, 2021
Ending allowance balance attributable to loans:        
Individually evaluated for impairment   $ 961    
Collectively evaluated for impairment   14,676    
Total ending allowance balance $ 11,734 15,637 $ 14,023 $ 14,176
Loans:        
Individually evaluated for impairment   11,233    
Collectively evaluated for impairment   1,627,850    
Total ending loans balance 1,699,098 1,639,083    
Commercial, financial, and agricultural        
Ending allowance balance attributable to loans:        
Individually evaluated for impairment   4    
Collectively evaluated for impairment   1,910    
Total ending allowance balance 3,862 1,914 1,936 1,946
Loans:        
Individually evaluated for impairment   698    
Collectively evaluated for impairment   189,763    
Total ending loans balance 200,432 190,461    
Real Estate Mortgages | Residential        
Ending allowance balance attributable to loans:        
Individually evaluated for impairment   111    
Collectively evaluated for impairment   4,950    
Total ending allowance balance 1,412 5,061 4,801 4,701
Loans:        
Individually evaluated for impairment   4,321    
Collectively evaluated for impairment   703,888    
Total ending loans balance 723,932 708,209    
Real Estate Mortgages | Commercial        
Ending allowance balance attributable to loans:        
Individually evaluated for impairment   827    
Collectively evaluated for impairment   5,283    
Total ending allowance balance 3,481 6,110 5,215 5,336
Loans:        
Individually evaluated for impairment   6,195    
Collectively evaluated for impairment   494,437    
Total ending loans balance 509,466 500,632    
Real Estate Mortgages | Construction        
Ending allowance balance attributable to loans:        
Individually evaluated for impairment   0    
Collectively evaluated for impairment   188    
Total ending allowance balance 184 188 197 179
Loans:        
Individually evaluated for impairment   0    
Collectively evaluated for impairment   43,308    
Total ending loans balance 47,121 43,308    
Consumer automobile loans        
Ending allowance balance attributable to loans:        
Individually evaluated for impairment   0    
Collectively evaluated for impairment   1,617    
Total ending allowance balance 2,113 1,617 1,376 1,411
Loans:        
Individually evaluated for impairment   0    
Collectively evaluated for impairment   186,112    
Total ending loans balance 207,747 186,112    
Other consumer installment loans        
Ending allowance balance attributable to loans:        
Individually evaluated for impairment   19    
Collectively evaluated for impairment   90    
Total ending allowance balance 682 109 114 111
Loans:        
Individually evaluated for impairment   19    
Collectively evaluated for impairment   10,342    
Total ending loans balance 10,400 10,361    
Unallocated        
Ending allowance balance attributable to loans:        
Individually evaluated for impairment   0    
Collectively evaluated for impairment   638    
Total ending allowance balance $ 0 $ 638 $ 384 $ 492

v3.23.1
Net Periodic Benefit Cost-Defined Benefit Plans (Details) - USD ($)
3 Months Ended
Mar. 31, 2023
Mar. 31, 2022
Net periodic benefit cost of the domestic non-contributory defined benefit plan    
Interest cost $ 198,000 $ 138,000
Expected return on plan assets (326,000) (412,000)
Amortization of net loss 37,000 17,000
Net periodic benefit (91,000) $ (257,000)
Employer contributions made to the defined benefit plan $ 0  

v3.23.1
Stock Purchase Plans (Details) - USD ($)
3 Months Ended
Mar. 31, 2023
Mar. 31, 2022
Dec. 31, 2022
Aug. 27, 2015
Stock Purchase Plans        
Common shares issued for employee stock purchase plan $ 21,000 $ 21,000    
Options, outstanding (in shares) 1,003,000 1,268,525 914,000 3,000
Director compensation plan, expense $ 64,000 $ 84,000    
Non-Employee Director Compensation Plan        
Stock Purchase Plans        
Number of shares allowed to be purchased (in shares) 100,000      
Maximum percentage of base compensation 100.00%      
Current percentage of base compensation 50.00%      
Options, outstanding (in shares) 37,053      
Director compensation plan (in shares) 2,422 3,415    
Director compensation plan, expense $ 64,000 $ 84,000    
Employee Stock        
Stock Purchase Plans        
Number of shares allowed to be purchased (in shares) 1,500,000      
Purchase price of the shares with respect to market value (as a percent) 95.00%      
Maximum percentage of base compensation 15.00%      
Maximum market value $ 12,000      
Number of shares issued under the plan (in shares) 854 880    

v3.23.1
Off-Balance Sheet Risk (Details) - USD ($)
$ in Thousands
3 Months Ended
Mar. 31, 2023
Dec. 31, 2022
Mar. 31, 2022
Off Balance Sheet Risk      
Contract amounts representing credit risk $ 193,514 $ 186,638  
Allowance for credit losses 1,920 143 $ 143
Commitments to extend credit      
Off Balance Sheet Risk      
Contract amounts representing credit risk 175,959 169,365  
Standby letters of credit      
Off Balance Sheet Risk      
Contract amounts representing credit risk $ 10,197 9,915  
Coverage period for instrument (in years) 1 year    
Credit exposure from the sale of assets with recourse      
Off Balance Sheet Risk      
Contract amounts representing credit risk $ 7,358 $ 7,358  

v3.23.1
Fair Value Measurements - Recurring Assets (Details) - Recurring - USD ($)
$ in Thousands
Mar. 31, 2023
Dec. 31, 2022
U.S. Government and agency securities    
Fair Value Measurements [Abstract]    
Total assets, fair value $ 2,920 $ 2,896
Mortgage-backed securities    
Fair Value Measurements [Abstract]    
Total assets, fair value 7,952 1,282
State and political securities    
Fair Value Measurements [Abstract]    
Total assets, fair value 139,692 142,809
Other debt securities    
Fair Value Measurements [Abstract]    
Total assets, fair value 46,626 46,686
Equity securities    
Fair Value Measurements [Abstract]    
Total assets, fair value 1,163 1,142
Level I | U.S. Government and agency securities    
Fair Value Measurements [Abstract]    
Total assets, fair value 0 0
Level I | Mortgage-backed securities    
Fair Value Measurements [Abstract]    
Total assets, fair value 0 0
Level I | State and political securities    
Fair Value Measurements [Abstract]    
Total assets, fair value 0 0
Level I | Other debt securities    
Fair Value Measurements [Abstract]    
Total assets, fair value 0 0
Level I | Equity securities    
Fair Value Measurements [Abstract]    
Total assets, fair value 1,163 1,142
Level II | U.S. Government and agency securities    
Fair Value Measurements [Abstract]    
Total assets, fair value 2,920 2,896
Level II | Mortgage-backed securities    
Fair Value Measurements [Abstract]    
Total assets, fair value 7,952 1,282
Level II | State and political securities    
Fair Value Measurements [Abstract]    
Total assets, fair value 139,692 142,809
Level II | Other debt securities    
Fair Value Measurements [Abstract]    
Total assets, fair value 46,626 46,686
Level II | Equity securities    
Fair Value Measurements [Abstract]    
Total assets, fair value 0 0
Level III | U.S. Government and agency securities    
Fair Value Measurements [Abstract]    
Total assets, fair value 0 0
Level III | Mortgage-backed securities    
Fair Value Measurements [Abstract]    
Total assets, fair value 0 0
Level III | State and political securities    
Fair Value Measurements [Abstract]    
Total assets, fair value 0 0
Level III | Other debt securities    
Fair Value Measurements [Abstract]    
Total assets, fair value 0 0
Level III | Equity securities    
Fair Value Measurements [Abstract]    
Total assets, fair value $ 0 $ 0

v3.23.1
Fair Value Measurements - Non-Recurring Assets (Details) - Nonrecurring - USD ($)
$ in Thousands
Mar. 31, 2023
Dec. 31, 2022
Collateral dependent loans    
Fair Value Measurements [Abstract]    
Total assets, fair value $ 1,905  
Collateral dependent loans | Level I    
Fair Value Measurements [Abstract]    
Total assets, fair value 0  
Collateral dependent loans | Level II    
Fair Value Measurements [Abstract]    
Total assets, fair value 0  
Collateral dependent loans | Level III    
Fair Value Measurements [Abstract]    
Total assets, fair value 1,905  
Other real estate owned    
Fair Value Measurements [Abstract]    
Total assets, fair value 83 $ 83
Other real estate owned | Level I    
Fair Value Measurements [Abstract]    
Total assets, fair value 0 0
Other real estate owned | Level II    
Fair Value Measurements [Abstract]    
Total assets, fair value 0 0
Other real estate owned | Level III    
Fair Value Measurements [Abstract]    
Total assets, fair value $ 83 83
Impaired loans    
Fair Value Measurements [Abstract]    
Total assets, fair value   1,923
Impaired loans | Level I    
Fair Value Measurements [Abstract]    
Total assets, fair value   0
Impaired loans | Level II    
Fair Value Measurements [Abstract]    
Total assets, fair value   0
Impaired loans | Level III    
Fair Value Measurements [Abstract]    
Total assets, fair value   $ 1,923

v3.23.1
Fair Value Measurements - Significant Unobservable Inputs (Details) - Nonrecurring - Level III - Appraisal of collateral
$ in Thousands
Mar. 31, 2023
USD ($)
Dec. 31, 2022
USD ($)
Listing of significant unobservable inputs used in the fair value measurement process for items valued utilizing level III techniques    
Impaired loans, fair value   $ 1,923
Collateral dependent loans, fair value $ 1,905  
Other real estate owned, fair value $ 83 $ 83
Measurement input, appraised value    
Listing of significant unobservable inputs used in the fair value measurement process for items valued utilizing level III techniques    
Other real estate owned, measurement input percentage (0.20) (0.20)
Measurement input, appraised value | Minimum    
Listing of significant unobservable inputs used in the fair value measurement process for items valued utilizing level III techniques    
Impaired loans, measurement input percentage   0
Collateral dependent loans, measurement input (0.10)  
Measurement input, appraised value | Maximum    
Listing of significant unobservable inputs used in the fair value measurement process for items valued utilizing level III techniques    
Impaired loans, measurement input percentage   (0.34)
Collateral dependent loans, measurement input (0.34)  
Measurement input, appraised value | Weighted Average    
Listing of significant unobservable inputs used in the fair value measurement process for items valued utilizing level III techniques    
Impaired loans, measurement input percentage   (0.14)
Collateral dependent loans, measurement input (0.14)  
Other real estate owned, measurement input percentage (0.20) (0.20)

v3.23.1
Fair Value of Financial Instruments (Details) - USD ($)
$ in Thousands
Mar. 31, 2023
Dec. 31, 2022
Level I    
Financial assets:    
Loans held for sale $ 1,705 $ 3,298
Loans, net 0 0
Financial liabilities:    
Time deposits & brokered deposits 0 0
Short-term borrowings 97,102 153,349
Long-term borrowings 0 0
Level II    
Financial assets:    
Loans held for sale 0 0
Loans, net 0 0
Financial liabilities:    
Time deposits & brokered deposits 0 0
Short-term borrowings 0 0
Long-term borrowings 0 0
Level III    
Financial assets:    
Loans held for sale 0 0
Loans, net 1,672,564 1,594,073
Financial liabilities:    
Time deposits & brokered deposits 228,079 137,559
Short-term borrowings 0 0
Long-term borrowings 130,067 99,118
Carrying Value    
Financial assets:    
Loans held for sale 1,705 3,298
Loans, net 1,688,289 1,624,094
Financial liabilities:    
Time deposits & brokered deposits 233,136 146,282
Short-term borrowings 97,102 153,349
Long-term borrowings 132,738 102,783
Fair Value    
Financial assets:    
Loans held for sale 1,705 3,298
Loans, net 1,672,564 1,594,073
Financial liabilities:    
Time deposits & brokered deposits 228,079 137,559
Short-term borrowings 97,102 153,349
Long-term borrowings $ 130,067 $ 99,118

v3.23.1
Stock Options - Narrative (Details) - USD ($)
$ / shares in Units, $ in Thousands
3 Months Ended
Jan. 20, 2023
Jan. 18, 2022
Apr. 09, 2021
Mar. 11, 2020
Mar. 15, 2019
Aug. 27, 2015
Mar. 31, 2023
Mar. 31, 2022
Jan. 01, 2023
Dec. 31, 2022
Employee Stock Purchase Plan                    
Options, outstanding (in shares)           3,000 1,003,000 1,268,525   914,000
Granted (in shares)           58,125 89,000      
Granted (in dollars per share)           $ 28.02 $ 27.77      
Exercisable period (in years)           5 years        
Tranche One                    
Employee Stock Purchase Plan                    
Options, outstanding (in shares) 59,500 156,000 156,500 119,300 102,600          
Granted (in shares) 59,500 156,000 156,500 119,300 120,900   59,500      
Granted (in dollars per share) $ 27.77 $ 24.10 $ 24.23 $ 25.34 $ 28.01          
Exercisable period (in years) 3 years 3 years 3 years 3 years 3 years          
Tranche Two                    
Employee Stock Purchase Plan                    
Options, outstanding (in shares) 29,500 78,000 78,000 119,200 101,400          
Granted (in shares) 29,500 78,000 78,000 119,200 119,100   29,500      
Granted (in dollars per share) $ 27.77 $ 24.10 $ 24.23 $ 25.34 $ 28.01          
Exercisable period (in years) 5 years 5 years 5 years 5 years 5 years          
Employee Stock Option                    
Employee Stock Purchase Plan                    
Options, outstanding (in shares)                 914,000  
Exercisable period (in years)             10 years      
Compensation expense             $ 253 $ 315    
Number of exercisable options (in shares)             224,900      
Weighted average remaining contractual term (in years)             6 years 5 months 8 days      
Unrecognized compensation cost for non-vested shares             $ 1,906      
Period for recognition (in years)             1 year 2 months 26 days      
Employee Stock Option | Tranche One                    
Employee Stock Purchase Plan                    
Exercisable period (in years)             3 years      
Employee Stock Option | Tranche Two                    
Employee Stock Purchase Plan                    
Exercisable period (in years)             5 years      

v3.23.1
Stock Options - Schedule of Stock Options Granted (Details) - $ / shares
3 Months Ended
Jan. 20, 2023
Jan. 18, 2022
Apr. 09, 2021
Mar. 11, 2020
Mar. 15, 2019
Aug. 27, 2015
Mar. 31, 2023
Dec. 31, 2022
Mar. 31, 2022
Employee Stock Purchase Plan                  
Shares (in shares)           58,125 89,000    
Forfeited (in shares)           (26,250) 0    
Exercised (in shares)           (28,875) 0    
Outstanding (in shares)           3,000 1,003,000 914,000 1,268,525
Strike price (in dollars per share)           $ 28.02 $ 27.77    
Vesting period (in years)           5 years      
Expiration (in years)           10 years      
Tranche One                  
Employee Stock Purchase Plan                  
Shares (in shares) 59,500 156,000 156,500 119,300 120,900   59,500    
Forfeited (in shares) 0 0 0 0 (18,300)        
Exercised (in shares) 0 0 0 0 0        
Outstanding (in shares) 59,500 156,000 156,500 119,300 102,600        
Strike price (in dollars per share) $ 27.77 $ 24.10 $ 24.23 $ 25.34 $ 28.01        
Vesting period (in years) 3 years 3 years 3 years 3 years 3 years        
Expiration (in years) 10 years 10 years 10 years 10 years 10 years        
Tranche Two                  
Employee Stock Purchase Plan                  
Shares (in shares) 29,500 78,000 78,000 119,200 119,100   29,500    
Forfeited (in shares) 0 0 0 0 (17,700)        
Exercised (in shares) 0 0 0 0 0        
Outstanding (in shares) 29,500 78,000 78,000 119,200 101,400        
Strike price (in dollars per share) $ 27.77 $ 24.10 $ 24.23 $ 25.34 $ 28.01        
Vesting period (in years) 5 years 5 years 5 years 5 years 5 years        
Expiration (in years) 10 years 10 years 10 years 10 years 10 years        

v3.23.1
Stock Options - Schedule of Options Outstanding (Details) - $ / shares
3 Months Ended
Aug. 27, 2015
Mar. 31, 2023
Shares    
Outstanding, beginning of year (in shares)   914,000
Granted (in shares) 58,125 89,000
Cash settlement (in shares) 28,875 0
Forfeited (in shares) (26,250) 0
Expired (in shares)   0
Outstanding, end of period (in shares) 3,000 1,003,000
Exercisable, end of period (in shares)   224,900
Weighted Average Exercise Price    
Outstanding, weighted average exercise price (in dollars per share)   $ 25.34
Granted (in dollars per share) $ 28.02 27.77
Cash settlement (dollars per share)   0
Forfeited (in dollars per share)   0
Expired (in dollars per share)   0
Outstanding, weighted average exercise price (in dollars per share)   25.56
Exercisable, end of period (in dollars per share)   $ 26.59

v3.23.1
Stock Options - Fair Value Assumptions (Details)
3 Months Ended
Mar. 31, 2023
$ / shares
Share-Based Payment Arrangement [Abstract]  
Risk-free interest rate 3.76%
Expected volatility 31.00%
Expected Annual dividend (in dollars per share) $ 1.28
Expected life 6 years 10 months 2 days
Weighted average grant date fair value per option (in dollars per share) $ 6.11

v3.23.1
Reclassification of Comparative Amounts (Details)
3 Months Ended
Mar. 31, 2023
USD ($)
Reclassification of Comparative Amounts  
Effect of reclassification adjustment on net income or shareholders' equity $ 0

{
 "instance": {
  "pwod-20230331.htm": {
   "axisCustom": 1,
   "axisStandard": 22,
   "baseTaxonomies": {
    "http://fasb.org/us-gaap/2022": 1386,
    "http://xbrl.sec.gov/dei/2022": 29
   },
   "contextCount": 344,
   "dts": {
    "calculationLink": {
     "local": [
      "pwod-20230331_cal.xml"
     ]
    },
    "definitionLink": {
     "local": [
      "pwod-20230331_def.xml"
     ]
    },
    "inline": {
     "local": [
      "pwod-20230331.htm"
     ]
    },
    "labelLink": {
     "local": [
      "pwod-20230331_lab.xml"
     ]
    },
    "presentationLink": {
     "local": [
      "pwod-20230331_pre.xml"
     ]
    },
    "schema": {
     "local": [
      "pwod-20230331.xsd"
     ],
     "remote": [
      "http://www.xbrl.org/2003/xbrl-instance-2003-12-31.xsd",
      "http://www.xbrl.org/2003/xbrl-linkbase-2003-12-31.xsd",
      "http://www.xbrl.org/2003/xl-2003-12-31.xsd",
      "http://www.xbrl.org/2003/xlink-2003-12-31.xsd",
      "http://www.xbrl.org/2005/xbrldt-2005.xsd",
      "http://www.xbrl.org/2006/ref-2006-02-27.xsd",
      "http://www.xbrl.org/lrr/role/negated-2009-12-16.xsd",
      "http://www.xbrl.org/lrr/role/net-2009-12-16.xsd",
      "http://www.xbrl.org/lrr/role/reference-2009-12-16.xsd",
      "https://www.xbrl.org/2020/extensible-enumerations-2.0.xsd",
      "https://www.xbrl.org/dtr/type/2020-01-21/types.xsd",
      "https://xbrl.fasb.org/srt/2022/elts/srt-2022.xsd",
      "https://xbrl.fasb.org/srt/2022/elts/srt-roles-2022.xsd",
      "https://xbrl.fasb.org/srt/2022/elts/srt-types-2022.xsd",
      "https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd",
      "https://xbrl.fasb.org/us-gaap/2022/elts/us-roles-2022.xsd",
      "https://xbrl.fasb.org/us-gaap/2022/elts/us-types-2022.xsd",
      "https://xbrl.sec.gov/country/2022/country-2022.xsd",
      "https://xbrl.sec.gov/dei/2022/dei-2022.xsd"
     ]
    }
   },
   "elementCount": 545,
   "entityCount": 1,
   "hidden": {
    "http://fasb.org/us-gaap/2022": 1,
    "http://xbrl.sec.gov/dei/2022": 5,
    "total": 6
   },
   "keyCustom": 45,
   "keyStandard": 305,
   "memberCustom": 16,
   "memberStandard": 48,
   "nsprefix": "pwod",
   "nsuri": "http://www.pwod.com/20230331",
   "report": {
    "R1": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "div",
       "body",
       "html"
      ],
      "baseRef": "pwod-20230331.htm",
      "contextRef": "i003ed7a3f94142bd9b455bf8b1578e5c_D20230101-20230331",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "dei:DocumentType",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "document",
     "isDefault": "true",
     "longName": "0000001 - Document - Cover Page",
     "menuCat": "Cover",
     "order": "1",
     "role": "http://www.pwod.com/role/CoverPage",
     "shortName": "Cover Page",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "div",
       "body",
       "html"
      ],
      "baseRef": "pwod-20230331.htm",
      "contextRef": "i003ed7a3f94142bd9b455bf8b1578e5c_D20230101-20230331",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "dei:DocumentType",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R10": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "div",
       "body",
       "html"
      ],
      "baseRef": "pwod-20230331.htm",
      "contextRef": "i003ed7a3f94142bd9b455bf8b1578e5c_D20230101-20230331",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ComprehensiveIncomeNoteTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "0000010 - Disclosure - Accumulated Other Comprehensive Loss",
     "menuCat": "Notes",
     "order": "10",
     "role": "http://www.pwod.com/role/AccumulatedOtherComprehensiveLoss",
     "shortName": "Accumulated Other Comprehensive Loss",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "div",
       "body",
       "html"
      ],
      "baseRef": "pwod-20230331.htm",
      "contextRef": "i003ed7a3f94142bd9b455bf8b1578e5c_D20230101-20230331",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ComprehensiveIncomeNoteTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R11": {
     "firstAnchor": {
      "ancestors": [
       "ix:continuation",
       "span",
       "div",
       "body",
       "html"
      ],
      "baseRef": "pwod-20230331.htm",
      "contextRef": "i003ed7a3f94142bd9b455bf8b1578e5c_D20230101-20230331",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:NewAccountingPronouncementsAndChangesInAccountingPrinciplesTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "0000011 - Disclosure - Recent Accounting Pronouncements",
     "menuCat": "Notes",
     "order": "11",
     "role": "http://www.pwod.com/role/RecentAccountingPronouncements",
     "shortName": "Recent Accounting Pronouncements",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "ix:continuation",
       "span",
       "div",
       "body",
       "html"
      ],
      "baseRef": "pwod-20230331.htm",
      "contextRef": "i003ed7a3f94142bd9b455bf8b1578e5c_D20230101-20230331",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:NewAccountingPronouncementsAndChangesInAccountingPrinciplesTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R12": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "div",
       "body",
       "html"
      ],
      "baseRef": "pwod-20230331.htm",
      "contextRef": "i003ed7a3f94142bd9b455bf8b1578e5c_D20230101-20230331",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:EarningsPerShareTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "0000012 - Disclosure - Per Share Data",
     "menuCat": "Notes",
     "order": "12",
     "role": "http://www.pwod.com/role/PerShareData",
     "shortName": "Per Share Data",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "div",
       "body",
       "html"
      ],
      "baseRef": "pwod-20230331.htm",
      "contextRef": "i003ed7a3f94142bd9b455bf8b1578e5c_D20230101-20230331",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:EarningsPerShareTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R13": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "div",
       "body",
       "html"
      ],
      "baseRef": "pwod-20230331.htm",
      "contextRef": "i003ed7a3f94142bd9b455bf8b1578e5c_D20230101-20230331",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:InvestmentsInDebtAndMarketableEquitySecuritiesAndCertainTradingAssetsDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "0000013 - Disclosure - Investment Securities",
     "menuCat": "Notes",
     "order": "13",
     "role": "http://www.pwod.com/role/InvestmentSecurities",
     "shortName": "Investment Securities",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "div",
       "body",
       "html"
      ],
      "baseRef": "pwod-20230331.htm",
      "contextRef": "i003ed7a3f94142bd9b455bf8b1578e5c_D20230101-20230331",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:InvestmentsInDebtAndMarketableEquitySecuritiesAndCertainTradingAssetsDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R14": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "div",
       "body",
       "html"
      ],
      "baseRef": "pwod-20230331.htm",
      "contextRef": "i003ed7a3f94142bd9b455bf8b1578e5c_D20230101-20230331",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:LoansNotesTradeAndOtherReceivablesDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "0000014 - Disclosure - Loans",
     "menuCat": "Notes",
     "order": "14",
     "role": "http://www.pwod.com/role/Loans",
     "shortName": "Loans",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "div",
       "body",
       "html"
      ],
      "baseRef": "pwod-20230331.htm",
      "contextRef": "i003ed7a3f94142bd9b455bf8b1578e5c_D20230101-20230331",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:LoansNotesTradeAndOtherReceivablesDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R15": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "div",
       "body",
       "html"
      ],
      "baseRef": "pwod-20230331.htm",
      "contextRef": "i003ed7a3f94142bd9b455bf8b1578e5c_D20230101-20230331",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:PensionAndOtherPostretirementBenefitsDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "0000015 - Disclosure - Net Periodic Benefit Cost-Defined Benefit Plans",
     "menuCat": "Notes",
     "order": "15",
     "role": "http://www.pwod.com/role/NetPeriodicBenefitCostDefinedBenefitPlans",
     "shortName": "Net Periodic Benefit Cost-Defined Benefit Plans",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "div",
       "body",
       "html"
      ],
      "baseRef": "pwod-20230331.htm",
      "contextRef": "i003ed7a3f94142bd9b455bf8b1578e5c_D20230101-20230331",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:PensionAndOtherPostretirementBenefitsDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R16": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "div",
       "body",
       "html"
      ],
      "baseRef": "pwod-20230331.htm",
      "contextRef": "i003ed7a3f94142bd9b455bf8b1578e5c_D20230101-20230331",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:DisclosureOfCompensationRelatedCostsShareBasedPaymentsTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "0000016 - Disclosure - Stock Purchase Plans",
     "menuCat": "Notes",
     "order": "16",
     "role": "http://www.pwod.com/role/StockPurchasePlans",
     "shortName": "Stock Purchase Plans",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "div",
       "body",
       "html"
      ],
      "baseRef": "pwod-20230331.htm",
      "contextRef": "i003ed7a3f94142bd9b455bf8b1578e5c_D20230101-20230331",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:DisclosureOfCompensationRelatedCostsShareBasedPaymentsTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R17": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "div",
       "body",
       "html"
      ],
      "baseRef": "pwod-20230331.htm",
      "contextRef": "i003ed7a3f94142bd9b455bf8b1578e5c_D20230101-20230331",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "pwod:OffBalanceSheetRiskDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "0000017 - Disclosure - Off-Balance Sheet Risk",
     "menuCat": "Notes",
     "order": "17",
     "role": "http://www.pwod.com/role/OffBalanceSheetRisk",
     "shortName": "Off-Balance Sheet Risk",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "div",
       "body",
       "html"
      ],
      "baseRef": "pwod-20230331.htm",
      "contextRef": "i003ed7a3f94142bd9b455bf8b1578e5c_D20230101-20230331",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "pwod:OffBalanceSheetRiskDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R18": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "div",
       "body",
       "html"
      ],
      "baseRef": "pwod-20230331.htm",
      "contextRef": "i003ed7a3f94142bd9b455bf8b1578e5c_D20230101-20230331",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:FairValueDisclosuresTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "0000018 - Disclosure - Fair Value Measurements",
     "menuCat": "Notes",
     "order": "18",
     "role": "http://www.pwod.com/role/FairValueMeasurements",
     "shortName": "Fair Value Measurements",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "div",
       "body",
       "html"
      ],
      "baseRef": "pwod-20230331.htm",
      "contextRef": "i003ed7a3f94142bd9b455bf8b1578e5c_D20230101-20230331",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:FairValueDisclosuresTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R19": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "div",
       "body",
       "html"
      ],
      "baseRef": "pwod-20230331.htm",
      "contextRef": "i003ed7a3f94142bd9b455bf8b1578e5c_D20230101-20230331",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:FinancialInstrumentsDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "0000019 - Disclosure - Fair Value of Financial Instruments",
     "menuCat": "Notes",
     "order": "19",
     "role": "http://www.pwod.com/role/FairValueofFinancialInstruments",
     "shortName": "Fair Value of Financial Instruments",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "div",
       "body",
       "html"
      ],
      "baseRef": "pwod-20230331.htm",
      "contextRef": "i003ed7a3f94142bd9b455bf8b1578e5c_D20230101-20230331",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:FinancialInstrumentsDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R2": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "body",
       "html"
      ],
      "baseRef": "pwod-20230331.htm",
      "contextRef": "i90001f9123544706a528142648706fce_I20230331",
      "decimals": "-3",
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:CashAndDueFromBanks",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "statement",
     "isDefault": "false",
     "longName": "0000002 - Statement - CONSOLIDATED BALANCE SHEET (UNAUDITED)",
     "menuCat": "Statements",
     "order": "2",
     "role": "http://www.pwod.com/role/CONSOLIDATEDBALANCESHEETUNAUDITED",
     "shortName": "CONSOLIDATED BALANCE SHEET (UNAUDITED)",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "body",
       "html"
      ],
      "baseRef": "pwod-20230331.htm",
      "contextRef": "i90001f9123544706a528142648706fce_I20230331",
      "decimals": "-3",
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:CashAndDueFromBanks",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R20": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "div",
       "body",
       "html"
      ],
      "baseRef": "pwod-20230331.htm",
      "contextRef": "i003ed7a3f94142bd9b455bf8b1578e5c_D20230101-20230331",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ShareholdersEquityAndShareBasedPaymentsTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "0000020 - Disclosure - Stock Options",
     "menuCat": "Notes",
     "order": "20",
     "role": "http://www.pwod.com/role/StockOptions",
     "shortName": "Stock Options",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "div",
       "body",
       "html"
      ],
      "baseRef": "pwod-20230331.htm",
      "contextRef": "i003ed7a3f94142bd9b455bf8b1578e5c_D20230101-20230331",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ShareholdersEquityAndShareBasedPaymentsTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R21": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "div",
       "body",
       "html"
      ],
      "baseRef": "pwod-20230331.htm",
      "contextRef": "i003ed7a3f94142bd9b455bf8b1578e5c_D20230101-20230331",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:DisclosureOfReclassificationAmountTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "0000021 - Disclosure - Reclassification of Comparative Amounts",
     "menuCat": "Notes",
     "order": "21",
     "role": "http://www.pwod.com/role/ReclassificationofComparativeAmounts",
     "shortName": "Reclassification of Comparative Amounts",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "div",
       "body",
       "html"
      ],
      "baseRef": "pwod-20230331.htm",
      "contextRef": "i003ed7a3f94142bd9b455bf8b1578e5c_D20230101-20230331",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:DisclosureOfReclassificationAmountTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R22": {
     "firstAnchor": {
      "ancestors": [
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "pwod-20230331.htm",
      "contextRef": "i003ed7a3f94142bd9b455bf8b1578e5c_D20230101-20230331",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ConsolidationPolicyTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "0000022 - Disclosure - Basis of Presentation (Policies)",
     "menuCat": "Policies",
     "order": "22",
     "role": "http://www.pwod.com/role/BasisofPresentationPolicies",
     "shortName": "Basis of Presentation (Policies)",
     "subGroupType": "policies",
     "uniqueAnchor": {
      "ancestors": [
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "pwod-20230331.htm",
      "contextRef": "i003ed7a3f94142bd9b455bf8b1578e5c_D20230101-20230331",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ConsolidationPolicyTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R23": {
     "firstAnchor": {
      "ancestors": [
       "ix:continuation",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "pwod-20230331.htm",
      "contextRef": "i003ed7a3f94142bd9b455bf8b1578e5c_D20230101-20230331",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfNewAccountingPronouncementsAndChangesInAccountingPrinciplesTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "0000023 - Disclosure - Basis of Presentation (Tables)",
     "menuCat": "Tables",
     "order": "23",
     "role": "http://www.pwod.com/role/BasisofPresentationTables",
     "shortName": "Basis of Presentation (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "ix:continuation",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "pwod-20230331.htm",
      "contextRef": "i003ed7a3f94142bd9b455bf8b1578e5c_D20230101-20230331",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfNewAccountingPronouncementsAndChangesInAccountingPrinciplesTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R24": {
     "firstAnchor": {
      "ancestors": [
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "pwod-20230331.htm",
      "contextRef": "i003ed7a3f94142bd9b455bf8b1578e5c_D20230101-20230331",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfAccumulatedOtherComprehensiveIncomeLossTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "0000024 - Disclosure - Accumulated Other Comprehensive Loss (Tables)",
     "menuCat": "Tables",
     "order": "24",
     "role": "http://www.pwod.com/role/AccumulatedOtherComprehensiveLossTables",
     "shortName": "Accumulated Other Comprehensive Loss (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "pwod-20230331.htm",
      "contextRef": "i003ed7a3f94142bd9b455bf8b1578e5c_D20230101-20230331",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfAccumulatedOtherComprehensiveIncomeLossTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R25": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "pwod-20230331.htm",
      "contextRef": "i003ed7a3f94142bd9b455bf8b1578e5c_D20230101-20230331",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfWeightedAverageNumberOfSharesTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "0000025 - Disclosure - Per Share Data (Tables)",
     "menuCat": "Tables",
     "order": "25",
     "role": "http://www.pwod.com/role/PerShareDataTables",
     "shortName": "Per Share Data (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "pwod-20230331.htm",
      "contextRef": "i003ed7a3f94142bd9b455bf8b1578e5c_D20230101-20230331",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfWeightedAverageNumberOfSharesTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R26": {
     "firstAnchor": {
      "ancestors": [
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "pwod-20230331.htm",
      "contextRef": "i003ed7a3f94142bd9b455bf8b1578e5c_D20230101-20230331",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:TradingSecuritiesAndCertainTradingAssetsTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "0000026 - Disclosure - Investment Securities (Tables)",
     "menuCat": "Tables",
     "order": "26",
     "role": "http://www.pwod.com/role/InvestmentSecuritiesTables",
     "shortName": "Investment Securities (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "pwod-20230331.htm",
      "contextRef": "i003ed7a3f94142bd9b455bf8b1578e5c_D20230101-20230331",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:TradingSecuritiesAndCertainTradingAssetsTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R27": {
     "firstAnchor": {
      "ancestors": [
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "pwod-20230331.htm",
      "contextRef": "i003ed7a3f94142bd9b455bf8b1578e5c_D20230101-20230331",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:PastDueFinancingReceivablesTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "0000027 - Disclosure - Loans (Tables)",
     "menuCat": "Tables",
     "order": "27",
     "role": "http://www.pwod.com/role/LoansTables",
     "shortName": "Loans (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "pwod-20230331.htm",
      "contextRef": "i003ed7a3f94142bd9b455bf8b1578e5c_D20230101-20230331",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:PastDueFinancingReceivablesTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R28": {
     "firstAnchor": {
      "ancestors": [
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "pwod-20230331.htm",
      "contextRef": "i003ed7a3f94142bd9b455bf8b1578e5c_D20230101-20230331",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfNetBenefitCostsTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "0000028 - Disclosure - Net Periodic Benefit Cost-Defined Benefit Plans (Tables)",
     "menuCat": "Tables",
     "order": "28",
     "role": "http://www.pwod.com/role/NetPeriodicBenefitCostDefinedBenefitPlansTables",
     "shortName": "Net Periodic Benefit Cost-Defined Benefit Plans (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "pwod-20230331.htm",
      "contextRef": "i003ed7a3f94142bd9b455bf8b1578e5c_D20230101-20230331",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfNetBenefitCostsTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R29": {
     "firstAnchor": {
      "ancestors": [
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "pwod-20230331.htm",
      "contextRef": "i003ed7a3f94142bd9b455bf8b1578e5c_D20230101-20230331",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfFairValueOffBalanceSheetRisksTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "0000029 - Disclosure - Off-Balance Sheet Risk (Tables)",
     "menuCat": "Tables",
     "order": "29",
     "role": "http://www.pwod.com/role/OffBalanceSheetRiskTables",
     "shortName": "Off-Balance Sheet Risk (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "pwod-20230331.htm",
      "contextRef": "i003ed7a3f94142bd9b455bf8b1578e5c_D20230101-20230331",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfFairValueOffBalanceSheetRisksTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R3": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "body",
       "html"
      ],
      "baseRef": "pwod-20230331.htm",
      "contextRef": "i90001f9123544706a528142648706fce_I20230331",
      "decimals": "-3",
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:PreferredStockValue",
      "reportCount": 1,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "statement",
     "isDefault": "false",
     "longName": "0000003 - Statement - CONSOLIDATED BALANCE SHEET (UNAUDITED)\u00a0(Parenthetical)",
     "menuCat": "Statements",
     "order": "3",
     "role": "http://www.pwod.com/role/CONSOLIDATEDBALANCESHEETUNAUDITEDParenthetical",
     "shortName": "CONSOLIDATED BALANCE SHEET (UNAUDITED)\u00a0(Parenthetical)",
     "subGroupType": "parenthetical",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "body",
       "html"
      ],
      "baseRef": "pwod-20230331.htm",
      "contextRef": "i90001f9123544706a528142648706fce_I20230331",
      "decimals": "INF",
      "lang": "en-US",
      "name": "us-gaap:PreferredStockSharesAuthorized",
      "reportCount": 1,
      "unique": true,
      "unitRef": "shares",
      "xsiNil": "false"
     }
    },
    "R30": {
     "firstAnchor": {
      "ancestors": [
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "pwod-20230331.htm",
      "contextRef": "i003ed7a3f94142bd9b455bf8b1578e5c_D20230101-20230331",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:FairValueAssetsMeasuredOnRecurringBasisTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "0000030 - Disclosure - Fair Value Measurements (Tables)",
     "menuCat": "Tables",
     "order": "30",
     "role": "http://www.pwod.com/role/FairValueMeasurementsTables",
     "shortName": "Fair Value Measurements (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "pwod-20230331.htm",
      "contextRef": "i003ed7a3f94142bd9b455bf8b1578e5c_D20230101-20230331",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:FairValueAssetsMeasuredOnRecurringBasisTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R31": {
     "firstAnchor": {
      "ancestors": [
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "pwod-20230331.htm",
      "contextRef": "i003ed7a3f94142bd9b455bf8b1578e5c_D20230101-20230331",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:FairValueByBalanceSheetGroupingTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "0000031 - Disclosure - Fair Value of Financial Instruments (Tables)",
     "menuCat": "Tables",
     "order": "31",
     "role": "http://www.pwod.com/role/FairValueofFinancialInstrumentsTables",
     "shortName": "Fair Value of Financial Instruments (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "pwod-20230331.htm",
      "contextRef": "i003ed7a3f94142bd9b455bf8b1578e5c_D20230101-20230331",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:FairValueByBalanceSheetGroupingTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R32": {
     "firstAnchor": {
      "ancestors": [
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "pwod-20230331.htm",
      "contextRef": "i003ed7a3f94142bd9b455bf8b1578e5c_D20230101-20230331",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfShareBasedCompensationStockOptionsActivityTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "0000032 - Disclosure - Stock Options (Tables)",
     "menuCat": "Tables",
     "order": "32",
     "role": "http://www.pwod.com/role/StockOptionsTables",
     "shortName": "Stock Options (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "pwod-20230331.htm",
      "contextRef": "i003ed7a3f94142bd9b455bf8b1578e5c_D20230101-20230331",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfShareBasedCompensationStockOptionsActivityTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R33": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "ix:continuation",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "pwod-20230331.htm",
      "contextRef": "i90001f9123544706a528142648706fce_I20230331",
      "decimals": "-3",
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:FinancingReceivableAllowanceForCreditLossExcludingAccruedInterest",
      "reportCount": 1,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "0000033 - Disclosure - Basis of Presentation - Narrative (Details)",
     "menuCat": "Details",
     "order": "33",
     "role": "http://www.pwod.com/role/BasisofPresentationNarrativeDetails",
     "shortName": "Basis of Presentation - Narrative (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "div",
       "us-gaap:NewAccountingPronouncementsPolicyPolicyTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "pwod-20230331.htm",
      "contextRef": "i423bccb7045942c88bf6e50d144c68e8_I20221231",
      "decimals": "-3",
      "lang": "en-US",
      "name": "us-gaap:DeferredIncomeTaxAssetsNet",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R34": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "ix:continuation",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "pwod-20230331.htm",
      "contextRef": "i90001f9123544706a528142648706fce_I20230331",
      "decimals": "-3",
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:FinancingReceivableAllowanceForCreditLossExcludingAccruedInterest",
      "reportCount": 1,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "0000034 - Disclosure - Basis of Presentation - Summary of Impact of CECL (Details)",
     "menuCat": "Details",
     "order": "34",
     "role": "http://www.pwod.com/role/BasisofPresentationSummaryofImpactofCECLDetails",
     "shortName": "Basis of Presentation - Summary of Impact of CECL (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "us-gaap:ScheduleOfNewAccountingPronouncementsAndChangesInAccountingPrinciplesTextBlock",
       "ix:continuation",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "pwod-20230331.htm",
      "contextRef": "i18ca0758ec9c4eeabe6445cd1c18a51b_I20221231",
      "decimals": "-3",
      "lang": "en-US",
      "name": "us-gaap:OffBalanceSheetCreditLossLiability",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R35": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "body",
       "html"
      ],
      "baseRef": "pwod-20230331.htm",
      "contextRef": "i65e60c30a1944949a6759349e991feab_I20221231",
      "decimals": "-3",
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest",
      "reportCount": 1,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "0000035 - Disclosure - Accumulated Other Comprehensive Loss - Schedule of AOCI (Details)",
     "menuCat": "Details",
     "order": "35",
     "role": "http://www.pwod.com/role/AccumulatedOtherComprehensiveLossScheduleofAOCIDetails",
     "shortName": "Accumulated Other Comprehensive Loss - Schedule of AOCI (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfAccumulatedOtherComprehensiveIncomeLossTableTextBlock",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "pwod-20230331.htm",
      "contextRef": "i003ed7a3f94142bd9b455bf8b1578e5c_D20230101-20230331",
      "decimals": "-3",
      "lang": "en-US",
      "name": "us-gaap:OtherComprehensiveIncomeLossBeforeReclassificationsNetOfTax",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R36": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "body",
       "html"
      ],
      "baseRef": "pwod-20230331.htm",
      "contextRef": "i003ed7a3f94142bd9b455bf8b1578e5c_D20230101-20230331",
      "decimals": "-3",
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:DebtSecuritiesAvailableForSaleRealizedGainLoss",
      "reportCount": 1,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "0000036 - Disclosure - Accumulated Other Comprehensive Loss - Schedule of Reclassifications out of AOCI (Details)",
     "menuCat": "Details",
     "order": "36",
     "role": "http://www.pwod.com/role/AccumulatedOtherComprehensiveLossScheduleofReclassificationsoutofAOCIDetails",
     "shortName": "Accumulated Other Comprehensive Loss - Schedule of Reclassifications out of AOCI (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "us-gaap:ReclassificationOutOfAccumulatedOtherComprehensiveIncomeTableTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "pwod-20230331.htm",
      "contextRef": "id89a81ed475249ef8d922bc11bc3a362_D20230101-20230331",
      "decimals": "-3",
      "lang": "en-US",
      "name": "us-gaap:DebtSecuritiesAvailableForSaleRealizedGainLoss",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R37": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "us-gaap:AllowanceForCreditLossesOnFinancingReceivablesTableTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "pwod-20230331.htm",
      "contextRef": "i90001f9123544706a528142648706fce_I20230331",
      "decimals": "-3",
      "first": true,
      "lang": "en-US",
      "name": "pwod:FinancingReceivableExcludingInterestAllowanceForCreditLossesAndOffBalanceSheetCreditLossLiability",
      "reportCount": 1,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "0000037 - Disclosure - Recent Accounting Pronouncements (Details)",
     "menuCat": "Details",
     "order": "37",
     "role": "http://www.pwod.com/role/RecentAccountingPronouncementsDetails",
     "shortName": "Recent Accounting Pronouncements (Details)",
     "subGroupType": "details",
     "uniqueAnchor": null
    },
    "R38": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "div",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "pwod-20230331.htm",
      "contextRef": "i003ed7a3f94142bd9b455bf8b1578e5c_D20230101-20230331",
      "decimals": "INF",
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:IncrementalCommonSharesAttributableToConversionOfDebtSecurities",
      "reportCount": 1,
      "unique": true,
      "unitRef": "shares",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "0000038 - Disclosure - Per Share Data - Narrative (Details)",
     "menuCat": "Details",
     "order": "38",
     "role": "http://www.pwod.com/role/PerShareDataNarrativeDetails",
     "shortName": "Per Share Data - Narrative (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "div",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "pwod-20230331.htm",
      "contextRef": "i003ed7a3f94142bd9b455bf8b1578e5c_D20230101-20230331",
      "decimals": "INF",
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:IncrementalCommonSharesAttributableToConversionOfDebtSecurities",
      "reportCount": 1,
      "unique": true,
      "unitRef": "shares",
      "xsiNil": "false"
     }
    },
    "R39": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfWeightedAverageNumberOfSharesTableTextBlock",
       "div",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "pwod-20230331.htm",
      "contextRef": "i003ed7a3f94142bd9b455bf8b1578e5c_D20230101-20230331",
      "decimals": "0",
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:WeightedAverageNumberOfSharesIssuedBasic",
      "reportCount": 1,
      "unique": true,
      "unitRef": "shares",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "0000039 - Disclosure - Per Share Data - Composition of Weighted Average Common Shares Used in Earnings per Share Computation (Details)",
     "menuCat": "Details",
     "order": "39",
     "role": "http://www.pwod.com/role/PerShareDataCompositionofWeightedAverageCommonSharesUsedinEarningsperShareComputationDetails",
     "shortName": "Per Share Data - Composition of Weighted Average Common Shares Used in Earnings per Share Computation (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfWeightedAverageNumberOfSharesTableTextBlock",
       "div",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "pwod-20230331.htm",
      "contextRef": "i003ed7a3f94142bd9b455bf8b1578e5c_D20230101-20230331",
      "decimals": "0",
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:WeightedAverageNumberOfSharesIssuedBasic",
      "reportCount": 1,
      "unique": true,
      "unitRef": "shares",
      "xsiNil": "false"
     }
    },
    "R4": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "body",
       "html"
      ],
      "baseRef": "pwod-20230331.htm",
      "contextRef": "i003ed7a3f94142bd9b455bf8b1578e5c_D20230101-20230331",
      "decimals": "-3",
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:InterestAndFeeIncomeLoansAndLeases",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "statement",
     "isDefault": "false",
     "longName": "0000004 - Statement - CONSOLIDATED STATEMENT OF INCOME (UNAUDITED)",
     "menuCat": "Statements",
     "order": "4",
     "role": "http://www.pwod.com/role/CONSOLIDATEDSTATEMENTOFINCOMEUNAUDITED",
     "shortName": "CONSOLIDATED STATEMENT OF INCOME (UNAUDITED)",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "body",
       "html"
      ],
      "baseRef": "pwod-20230331.htm",
      "contextRef": "i003ed7a3f94142bd9b455bf8b1578e5c_D20230101-20230331",
      "decimals": "-3",
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:InterestAndFeeIncomeLoansAndLeases",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R40": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "us-gaap:InvestmentsClassifiedByContractualMaturityDateTableTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "pwod-20230331.htm",
      "contextRef": "i90001f9123544706a528142648706fce_I20230331",
      "decimals": "-3",
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:AvailableForSaleDebtSecuritiesAmortizedCostBasis",
      "reportCount": 1,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "0000040 - Disclosure - Investment Securities - Amortized Cost and Fair Values of Investment Securities Available for Sale (Details)",
     "menuCat": "Details",
     "order": "40",
     "role": "http://www.pwod.com/role/InvestmentSecuritiesAmortizedCostandFairValuesofInvestmentSecuritiesAvailableforSaleDetails",
     "shortName": "Investment Securities - Amortized Cost and Fair Values of Investment Securities Available for Sale (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "us-gaap:TradingSecuritiesAndCertainTradingAssetsTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "pwod-20230331.htm",
      "contextRef": "i1a5877dbdcf24886bdd0affb85932844_I20230331",
      "decimals": "-3",
      "lang": "en-US",
      "name": "us-gaap:AvailableForSaleDebtSecuritiesAmortizedCostBasis",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R41": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "us-gaap:DebtSecuritiesAvailableForSaleUnrealizedLossPositionFairValueTableTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "pwod-20230331.htm",
      "contextRef": "i1a5877dbdcf24886bdd0affb85932844_I20230331",
      "decimals": "-3",
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPositionLessThan12Months",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "0000041 - Disclosure - Investment Securities - Gross Unrealized Losses and Fair Value by Investment Category (Details)",
     "menuCat": "Details",
     "order": "41",
     "role": "http://www.pwod.com/role/InvestmentSecuritiesGrossUnrealizedLossesandFairValuebyInvestmentCategoryDetails",
     "shortName": "Investment Securities - Gross Unrealized Losses and Fair Value by Investment Category (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "us-gaap:DebtSecuritiesAvailableForSaleUnrealizedLossPositionFairValueTableTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "pwod-20230331.htm",
      "contextRef": "i1a5877dbdcf24886bdd0affb85932844_I20230331",
      "decimals": "-3",
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPositionLessThan12Months",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R42": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "div",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "pwod-20230331.htm",
      "contextRef": "i90001f9123544706a528142648706fce_I20230331",
      "decimals": "INF",
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPositionLessThan12MonthsNumberOfPositions",
      "reportCount": 1,
      "unique": true,
      "unitRef": "security",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "0000042 - Disclosure - Investment Securities - Narrative (Details)",
     "menuCat": "Details",
     "order": "42",
     "role": "http://www.pwod.com/role/InvestmentSecuritiesNarrativeDetails",
     "shortName": "Investment Securities - Narrative (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "div",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "pwod-20230331.htm",
      "contextRef": "i90001f9123544706a528142648706fce_I20230331",
      "decimals": "INF",
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPositionLessThan12MonthsNumberOfPositions",
      "reportCount": 1,
      "unique": true,
      "unitRef": "security",
      "xsiNil": "false"
     }
    },
    "R43": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "us-gaap:InvestmentsClassifiedByContractualMaturityDateTableTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "pwod-20230331.htm",
      "contextRef": "i90001f9123544706a528142648706fce_I20230331",
      "decimals": "-3",
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:AvailableForSaleSecuritiesDebtMaturitiesWithinOneYearAmortizedCost",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "0000043 - Disclosure - Investment Securities - Amortized Cost and Fair Value of Debt Securities (Details)",
     "menuCat": "Details",
     "order": "43",
     "role": "http://www.pwod.com/role/InvestmentSecuritiesAmortizedCostandFairValueofDebtSecuritiesDetails",
     "shortName": "Investment Securities - Amortized Cost and Fair Value of Debt Securities (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "us-gaap:InvestmentsClassifiedByContractualMaturityDateTableTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "pwod-20230331.htm",
      "contextRef": "i90001f9123544706a528142648706fce_I20230331",
      "decimals": "-3",
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:AvailableForSaleSecuritiesDebtMaturitiesWithinOneYearAmortizedCost",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R44": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "us-gaap:RealizedGainLossOnInvestmentsTableTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "pwod-20230331.htm",
      "contextRef": "i812c5a96eb5943fc8b0f660fa8822ff2_D20230101-20230331",
      "decimals": "-3",
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:DebtSecuritiesAvailableForSaleRealizedGain",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "0000044 - Disclosure - Investment Securities - Total Gross Proceeds from Sales of Securities (Details)",
     "menuCat": "Details",
     "order": "44",
     "role": "http://www.pwod.com/role/InvestmentSecuritiesTotalGrossProceedsfromSalesofSecuritiesDetails",
     "shortName": "Investment Securities - Total Gross Proceeds from Sales of Securities (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "us-gaap:RealizedGainLossOnInvestmentsTableTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "pwod-20230331.htm",
      "contextRef": "i812c5a96eb5943fc8b0f660fa8822ff2_D20230101-20230331",
      "decimals": "-3",
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:DebtSecuritiesAvailableForSaleRealizedGain",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R45": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "ix:continuation",
       "div",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "pwod-20230331.htm",
      "contextRef": "i003ed7a3f94142bd9b455bf8b1578e5c_D20230101-20230331",
      "decimals": "-3",
      "first": true,
      "lang": "en-US",
      "name": "pwod:DebtTradingAndEquitySecuritiesGainLoss",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "0000045 - Disclosure - Investment Securities - Unrealized and Realized Gains and Losses Recognized in Net Income (Details)",
     "menuCat": "Details",
     "order": "45",
     "role": "http://www.pwod.com/role/InvestmentSecuritiesUnrealizedandRealizedGainsandLossesRecognizedinNetIncomeDetails",
     "shortName": "Investment Securities - Unrealized and Realized Gains and Losses Recognized in Net Income (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "ix:continuation",
       "div",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "pwod-20230331.htm",
      "contextRef": "i003ed7a3f94142bd9b455bf8b1578e5c_D20230101-20230331",
      "decimals": "-3",
      "first": true,
      "lang": "en-US",
      "name": "pwod:DebtTradingAndEquitySecuritiesGainLoss",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R46": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "div",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "pwod-20230331.htm",
      "contextRef": "i003ed7a3f94142bd9b455bf8b1578e5c_D20230101-20230331",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "pwod:ReasonablePeriodToClassifyFromTroubledDebtRestructuringNonPerformingLoansToPerformingLoans",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "0000046 - Disclosure - Loans - Narrative (Details)",
     "menuCat": "Details",
     "order": "46",
     "role": "http://www.pwod.com/role/LoansNarrativeDetails",
     "shortName": "Loans - Narrative (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "div",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "pwod-20230331.htm",
      "contextRef": "i003ed7a3f94142bd9b455bf8b1578e5c_D20230101-20230331",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "pwod:ReasonablePeriodToClassifyFromTroubledDebtRestructuringNonPerformingLoansToPerformingLoans",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R47": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "us-gaap:ScheduleOfFinancingReceivablesNonAccrualStatusTableTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "pwod-20230331.htm",
      "contextRef": "i90001f9123544706a528142648706fce_I20230331",
      "decimals": "-3",
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:FinancingReceivableExcludingAccruedInterestNonaccrual",
      "reportCount": 1,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "0000047 - Disclosure - Loans - Aging Categories of Loans by Segment (Details)",
     "menuCat": "Details",
     "order": "47",
     "role": "http://www.pwod.com/role/LoansAgingCategoriesofLoansbySegmentDetails",
     "shortName": "Loans - Aging Categories of Loans by Segment (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "us-gaap:PastDueFinancingReceivablesTableTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "pwod-20230331.htm",
      "contextRef": "i90001f9123544706a528142648706fce_I20230331",
      "decimals": "-3",
      "lang": "en-US",
      "name": "us-gaap:FinancingReceivableExcludingAccruedInterest90DaysOrMorePastDueStillAccruing",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R48": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "ix:continuation",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "pwod-20230331.htm",
      "contextRef": "i90001f9123544706a528142648706fce_I20230331",
      "decimals": "-3",
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:FinancingReceivableAllowanceForCreditLossExcludingAccruedInterest",
      "reportCount": 1,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "0000048 - Disclosure - Loans - Components of the Allowance (Details)",
     "menuCat": "Details",
     "order": "48",
     "role": "http://www.pwod.com/role/LoansComponentsoftheAllowanceDetails",
     "shortName": "Loans - Components of the Allowance (Details)",
     "subGroupType": "details",
     "uniqueAnchor": null
    },
    "R49": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "us-gaap:ScheduleOfFinancingReceivablesNonAccrualStatusTableTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "pwod-20230331.htm",
      "contextRef": "i90001f9123544706a528142648706fce_I20230331",
      "decimals": "-3",
      "first": true,
      "lang": "en-US",
      "name": "pwod:FinancingReceivableNonaccrualWithAllowance",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "0000049 - Disclosure - Loans - Non-accrual Loans (Details)",
     "menuCat": "Details",
     "order": "49",
     "role": "http://www.pwod.com/role/LoansNonaccrualLoansDetails",
     "shortName": "Loans - Non-accrual Loans (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "us-gaap:ScheduleOfFinancingReceivablesNonAccrualStatusTableTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "pwod-20230331.htm",
      "contextRef": "i90001f9123544706a528142648706fce_I20230331",
      "decimals": "-3",
      "first": true,
      "lang": "en-US",
      "name": "pwod:FinancingReceivableNonaccrualWithAllowance",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R5": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "body",
       "html"
      ],
      "baseRef": "pwod-20230331.htm",
      "contextRef": "i003ed7a3f94142bd9b455bf8b1578e5c_D20230101-20230331",
      "decimals": "-3",
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:NetIncomeLoss",
      "reportCount": 1,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "statement",
     "isDefault": "false",
     "longName": "0000005 - Statement - CONSOLIDATED STATEMENT OF COMPREHENSIVE INCOME (LOSS)",
     "menuCat": "Statements",
     "order": "5",
     "role": "http://www.pwod.com/role/CONSOLIDATEDSTATEMENTOFCOMPREHENSIVEINCOMELOSS",
     "shortName": "CONSOLIDATED STATEMENT OF COMPREHENSIVE INCOME (LOSS)",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "body",
       "html"
      ],
      "baseRef": "pwod-20230331.htm",
      "contextRef": "i003ed7a3f94142bd9b455bf8b1578e5c_D20230101-20230331",
      "decimals": "-3",
      "lang": "en-US",
      "name": "us-gaap:OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodBeforeTax",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R50": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "us-gaap:ImpairedFinancingReceivablesTableTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "pwod-20230331.htm",
      "contextRef": "i65e60c30a1944949a6759349e991feab_I20221231",
      "decimals": "-3",
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ImpairedFinancingReceivableWithNoRelatedAllowanceRecordedInvestment",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "0000050 - Disclosure - Loans - Recorded Investment, Unpaid Principal Balance, Related Allowance of Impaired Loans (Details)",
     "menuCat": "Details",
     "order": "50",
     "role": "http://www.pwod.com/role/LoansRecordedInvestmentUnpaidPrincipalBalanceRelatedAllowanceofImpairedLoansDetails",
     "shortName": "Loans - Recorded Investment, Unpaid Principal Balance, Related Allowance of Impaired Loans (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "us-gaap:ImpairedFinancingReceivablesTableTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "pwod-20230331.htm",
      "contextRef": "i65e60c30a1944949a6759349e991feab_I20221231",
      "decimals": "-3",
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ImpairedFinancingReceivableWithNoRelatedAllowanceRecordedInvestment",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R51": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "pwod:ScheduleOfCollateralDependentLoansTableTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "pwod-20230331.htm",
      "contextRef": "i2a2484ea9c764581aafacd4ed5b2d442_I20230331",
      "decimals": "0",
      "first": true,
      "lang": "en-US",
      "name": "pwod:FinancingReceivableCollateralDependentLoans",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "0000051 - Disclosure - Loans - Schedule of Collateral Dependent Loans (Details)",
     "menuCat": "Details",
     "order": "51",
     "role": "http://www.pwod.com/role/LoansScheduleofCollateralDependentLoansDetails",
     "shortName": "Loans - Schedule of Collateral Dependent Loans (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "pwod:ScheduleOfCollateralDependentLoansTableTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "pwod-20230331.htm",
      "contextRef": "i2a2484ea9c764581aafacd4ed5b2d442_I20230331",
      "decimals": "0",
      "first": true,
      "lang": "en-US",
      "name": "pwod:FinancingReceivableCollateralDependentLoans",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R52": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "pwod:ImpairedFinancingReceivablesInvestmentAverageBalanceAndInterestIncomeTableTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "pwod-20230331.htm",
      "contextRef": "i2e0094186d4845febc805c1aee667d43_D20220101-20220331",
      "decimals": "-3",
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ImpairedFinancingReceivableAverageRecordedInvestment",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "0000052 - Disclosure - Loans - Average Recorded Investment - Impaired Loans (Details)",
     "menuCat": "Details",
     "order": "52",
     "role": "http://www.pwod.com/role/LoansAverageRecordedInvestmentImpairedLoansDetails",
     "shortName": "Loans - Average Recorded Investment - Impaired Loans (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "pwod:ImpairedFinancingReceivablesInvestmentAverageBalanceAndInterestIncomeTableTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "pwod-20230331.htm",
      "contextRef": "i2e0094186d4845febc805c1aee667d43_D20220101-20220331",
      "decimals": "-3",
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ImpairedFinancingReceivableAverageRecordedInvestment",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R53": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "us-gaap:PastDueFinancingReceivablesTableTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "pwod-20230331.htm",
      "contextRef": "i90001f9123544706a528142648706fce_I20230331",
      "decimals": "-3",
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:FinancingReceivableExcludingAccruedInterestBeforeAllowanceForCreditLossFeeAndLoanInProcess",
      "reportCount": 1,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "0000053 - Disclosure - Loans - Credit Quality Indicators (Details)",
     "menuCat": "Details",
     "order": "53",
     "role": "http://www.pwod.com/role/LoansCreditQualityIndicatorsDetails",
     "shortName": "Loans - Credit Quality Indicators (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "ix:continuation",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "pwod-20230331.htm",
      "contextRef": "i57a8e4d0597e4ff0a41090f77a985fe8_I20221231",
      "decimals": "-3",
      "lang": "en-US",
      "name": "us-gaap:FinancingReceivableExcludingAccruedInterestBeforeAllowanceForCreditLossFeeAndLoanInProcess",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R54": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "ix:continuation",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "pwod-20230331.htm",
      "contextRef": "i65e60c30a1944949a6759349e991feab_I20221231",
      "decimals": "-3",
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:FinancingReceivableAllowanceForCreditLossExcludingAccruedInterest",
      "reportCount": 1,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "0000054 - Disclosure - Loans - Allowance for Credit Losses on Financing Receivables (Details)",
     "menuCat": "Details",
     "order": "54",
     "role": "http://www.pwod.com/role/LoansAllowanceforCreditLossesonFinancingReceivablesDetails",
     "shortName": "Loans - Allowance for Credit Losses on Financing Receivables (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "ix:continuation",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "pwod-20230331.htm",
      "contextRef": "i003ed7a3f94142bd9b455bf8b1578e5c_D20230101-20230331",
      "decimals": "-3",
      "lang": "en-US",
      "name": "us-gaap:FinancingReceivableExcludingAccruedInterestAllowanceForCreditLossWriteoff",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R55": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "pwod:SchedulesOfFinanceReceivableConcentrationOfRiskByLoanTypeTableTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "pwod-20230331.htm",
      "contextRef": "i41ed6895b81c43c685d981e20c174dfd_D20230101-20230331",
      "decimals": "4",
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ConcentrationRiskPercentage1",
      "reportCount": 1,
      "unique": true,
      "unitRef": "number",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "0000055 - Disclosure - Loans - Schedule of Concentration Risk (Details)",
     "menuCat": "Details",
     "order": "55",
     "role": "http://www.pwod.com/role/LoansScheduleofConcentrationRiskDetails",
     "shortName": "Loans - Schedule of Concentration Risk (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "pwod:SchedulesOfFinanceReceivableConcentrationOfRiskByLoanTypeTableTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "pwod-20230331.htm",
      "contextRef": "i41ed6895b81c43c685d981e20c174dfd_D20230101-20230331",
      "decimals": "4",
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ConcentrationRiskPercentage1",
      "reportCount": 1,
      "unique": true,
      "unitRef": "number",
      "xsiNil": "false"
     }
    },
    "R56": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "pwod:AllowanceForCreditLossesOnFinancingReceivablesBasedOnImpairmentMethodTableTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "pwod-20230331.htm",
      "contextRef": "i65e60c30a1944949a6759349e991feab_I20221231",
      "decimals": "-3",
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:FinancingReceivableAllowanceForCreditLossesIndividuallyEvaluatedForImpairment1",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "0000056 - Disclosure - Loans - Allowance for Loan Losses (Details)",
     "menuCat": "Details",
     "order": "56",
     "role": "http://www.pwod.com/role/LoansAllowanceforLoanLossesDetails",
     "shortName": "Loans - Allowance for Loan Losses (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "pwod:AllowanceForCreditLossesOnFinancingReceivablesBasedOnImpairmentMethodTableTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "pwod-20230331.htm",
      "contextRef": "i65e60c30a1944949a6759349e991feab_I20221231",
      "decimals": "-3",
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:FinancingReceivableAllowanceForCreditLossesIndividuallyEvaluatedForImpairment1",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R57": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "us-gaap:ScheduleOfNetBenefitCostsTableTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "pwod-20230331.htm",
      "contextRef": "i003ed7a3f94142bd9b455bf8b1578e5c_D20230101-20230331",
      "decimals": "-3",
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:DefinedBenefitPlanInterestCost",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "0000057 - Disclosure - Net Periodic Benefit Cost-Defined Benefit Plans (Details)",
     "menuCat": "Details",
     "order": "57",
     "role": "http://www.pwod.com/role/NetPeriodicBenefitCostDefinedBenefitPlansDetails",
     "shortName": "Net Periodic Benefit Cost-Defined Benefit Plans (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "us-gaap:ScheduleOfNetBenefitCostsTableTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "pwod-20230331.htm",
      "contextRef": "i003ed7a3f94142bd9b455bf8b1578e5c_D20230101-20230331",
      "decimals": "-3",
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:DefinedBenefitPlanInterestCost",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R58": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "body",
       "html"
      ],
      "baseRef": "pwod-20230331.htm",
      "contextRef": "i003ed7a3f94142bd9b455bf8b1578e5c_D20230101-20230331",
      "decimals": "-3",
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:StockIssuedDuringPeriodValueEmployeeStockPurchasePlan",
      "reportCount": 1,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "0000058 - Disclosure - Stock Purchase Plans (Details)",
     "menuCat": "Details",
     "order": "58",
     "role": "http://www.pwod.com/role/StockPurchasePlansDetails",
     "shortName": "Stock Purchase Plans (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "ix:continuation",
       "span",
       "div",
       "body",
       "html"
      ],
      "baseRef": "pwod-20230331.htm",
      "contextRef": "i478ed2b1468e4282aa0e870c8caf7310_I20230331",
      "decimals": "INF",
      "lang": "en-US",
      "name": "us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAuthorized",
      "reportCount": 1,
      "unique": true,
      "unitRef": "shares",
      "xsiNil": "false"
     }
    },
    "R59": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "us-gaap:ScheduleOfFairValueOffBalanceSheetRisksTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "pwod-20230331.htm",
      "contextRef": "i90001f9123544706a528142648706fce_I20230331",
      "decimals": "-3",
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:FairValueDisclosureOffbalanceSheetRisksFaceAmountLiability",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "0000059 - Disclosure - Off-Balance Sheet Risk (Details)",
     "menuCat": "Details",
     "order": "59",
     "role": "http://www.pwod.com/role/OffBalanceSheetRiskDetails",
     "shortName": "Off-Balance Sheet Risk (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "us-gaap:ScheduleOfFairValueOffBalanceSheetRisksTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "pwod-20230331.htm",
      "contextRef": "i90001f9123544706a528142648706fce_I20230331",
      "decimals": "-3",
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:FairValueDisclosureOffbalanceSheetRisksFaceAmountLiability",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R6": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "body",
       "html"
      ],
      "baseRef": "pwod-20230331.htm",
      "contextRef": "i8550afec63724f48880458140d8afd33_I20211231",
      "decimals": "INF",
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:SharesIssued",
      "reportCount": 1,
      "unitRef": "shares",
      "xsiNil": "false"
     },
     "groupType": "statement",
     "isDefault": "false",
     "longName": "0000006 - Statement - CONSOLIDATED STATEMENT OF CHANGES IN SHAREHOLDERS' EQUITY (UNAUDITED)",
     "menuCat": "Statements",
     "order": "6",
     "role": "http://www.pwod.com/role/CONSOLIDATEDSTATEMENTOFCHANGESINSHAREHOLDERSEQUITYUNAUDITED",
     "shortName": "CONSOLIDATED STATEMENT OF CHANGES IN SHAREHOLDERS' EQUITY (UNAUDITED)",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "body",
       "html"
      ],
      "baseRef": "pwod-20230331.htm",
      "contextRef": "i3b656c1a16934d1f91097218fbe2a93c_D20220101-20220331",
      "decimals": "-3",
      "lang": "en-US",
      "name": "us-gaap:ProfitLoss",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R60": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "us-gaap:FairValueAssetsMeasuredOnRecurringBasisTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "pwod-20230331.htm",
      "contextRef": "i2066a82339c147b883ecde085bce0ddc_I20230331",
      "decimals": "-3",
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:AssetsFairValueDisclosure",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "0000060 - Disclosure - Fair Value Measurements - Recurring Assets (Details)",
     "menuCat": "Details",
     "order": "60",
     "role": "http://www.pwod.com/role/FairValueMeasurementsRecurringAssetsDetails",
     "shortName": "Fair Value Measurements - Recurring Assets (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "us-gaap:FairValueAssetsMeasuredOnRecurringBasisTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "pwod-20230331.htm",
      "contextRef": "i2066a82339c147b883ecde085bce0ddc_I20230331",
      "decimals": "-3",
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:AssetsFairValueDisclosure",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R61": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "us-gaap:FairValueAssetsMeasuredOnNonrecurringBasisTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "pwod-20230331.htm",
      "contextRef": "ic53e3b23b5e84d44919778d4038fa4a0_I20230331",
      "decimals": "-3",
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:AssetsFairValueDisclosure",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "0000061 - Disclosure - Fair Value Measurements - Non-Recurring Assets (Details)",
     "menuCat": "Details",
     "order": "61",
     "role": "http://www.pwod.com/role/FairValueMeasurementsNonRecurringAssetsDetails",
     "shortName": "Fair Value Measurements - Non-Recurring Assets (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "us-gaap:FairValueAssetsMeasuredOnNonrecurringBasisTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "pwod-20230331.htm",
      "contextRef": "ic53e3b23b5e84d44919778d4038fa4a0_I20230331",
      "decimals": "-3",
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:AssetsFairValueDisclosure",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R62": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "us-gaap:FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisValuationTechniquesTableTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "pwod-20230331.htm",
      "contextRef": "i637180caa6ab4028813d86c67302d093_I20221231",
      "decimals": "-3",
      "first": true,
      "lang": "en-US",
      "name": "pwod:ImpairedLoansFairValueDisclosure",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "0000062 - Disclosure - Fair Value Measurements - Significant Unobservable Inputs (Details)",
     "menuCat": "Details",
     "order": "62",
     "role": "http://www.pwod.com/role/FairValueMeasurementsSignificantUnobservableInputsDetails",
     "shortName": "Fair Value Measurements - Significant Unobservable Inputs (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "us-gaap:FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisValuationTechniquesTableTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "pwod-20230331.htm",
      "contextRef": "i637180caa6ab4028813d86c67302d093_I20221231",
      "decimals": "-3",
      "first": true,
      "lang": "en-US",
      "name": "pwod:ImpairedLoansFairValueDisclosure",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R63": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "us-gaap:FairValueByBalanceSheetGroupingTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "pwod-20230331.htm",
      "contextRef": "if4121194bc534d05bfe8cf8b87decbc9_I20230331",
      "decimals": "-3",
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:LoansHeldForSaleFairValueDisclosure",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "0000063 - Disclosure - Fair Value of Financial Instruments (Details)",
     "menuCat": "Details",
     "order": "63",
     "role": "http://www.pwod.com/role/FairValueofFinancialInstrumentsDetails",
     "shortName": "Fair Value of Financial Instruments (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "us-gaap:FairValueByBalanceSheetGroupingTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "pwod-20230331.htm",
      "contextRef": "if4121194bc534d05bfe8cf8b87decbc9_I20230331",
      "decimals": "-3",
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:LoansHeldForSaleFairValueDisclosure",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R64": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "us-gaap:ScheduleOfShareBasedCompensationStockOptionsActivityTableTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "pwod-20230331.htm",
      "contextRef": "ie574e49bbb1348e090df8352bf855639_I20150827",
      "decimals": "INF",
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingNumber",
      "reportCount": 1,
      "unitRef": "shares",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "0000064 - Disclosure - Stock Options - Narrative (Details)",
     "menuCat": "Details",
     "order": "64",
     "role": "http://www.pwod.com/role/StockOptionsNarrativeDetails",
     "shortName": "Stock Options - Narrative (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "div",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "pwod-20230331.htm",
      "contextRef": "i5ab66e39dd434268aae3e22e97fb50d4_I20230101",
      "decimals": "INF",
      "lang": "en-US",
      "name": "us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingNumber",
      "reportCount": 1,
      "unique": true,
      "unitRef": "shares",
      "xsiNil": "false"
     }
    },
    "R65": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "us-gaap:ScheduleOfShareBasedCompensationStockOptionsActivityTableTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "pwod-20230331.htm",
      "contextRef": "i5f2b4ff6d2c943b3ace7d9d5d9dda06e_D20150827-20150827",
      "decimals": "INF",
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodGross",
      "reportCount": 1,
      "unitRef": "shares",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "0000065 - Disclosure - Stock Options - Schedule of Stock Options Granted (Details)",
     "menuCat": "Details",
     "order": "65",
     "role": "http://www.pwod.com/role/StockOptionsScheduleofStockOptionsGrantedDetails",
     "shortName": "Stock Options - Schedule of Stock Options Granted (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "us-gaap:ScheduleOfShareBasedCompensationStockOptionsActivityTableTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "pwod-20230331.htm",
      "contextRef": "i5f2b4ff6d2c943b3ace7d9d5d9dda06e_D20150827-20150827",
      "decimals": null,
      "lang": "en-US",
      "name": "us-gaap:SharebasedCompensationArrangementBySharebasedPaymentAwardExpirationPeriod",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R66": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "us-gaap:ScheduleOfShareBasedCompensationStockOptionsActivityTableTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "pwod-20230331.htm",
      "contextRef": "i65e60c30a1944949a6759349e991feab_I20221231",
      "decimals": "INF",
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingNumber",
      "reportCount": 1,
      "unitRef": "shares",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "0000066 - Disclosure - Stock Options - Schedule of Options Outstanding (Details)",
     "menuCat": "Details",
     "order": "66",
     "role": "http://www.pwod.com/role/StockOptionsScheduleofOptionsOutstandingDetails",
     "shortName": "Stock Options - Schedule of Options Outstanding (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "us-gaap:ScheduleOfShareBasedCompensationStockOptionsActivityTableTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "pwod-20230331.htm",
      "contextRef": "i003ed7a3f94142bd9b455bf8b1578e5c_D20230101-20230331",
      "decimals": "INF",
      "lang": "en-US",
      "name": "us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExpirationsInPeriod",
      "reportCount": 1,
      "unique": true,
      "unitRef": "shares",
      "xsiNil": "false"
     }
    },
    "R67": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "ix:continuation",
       "div",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "pwod-20230331.htm",
      "contextRef": "i003ed7a3f94142bd9b455bf8b1578e5c_D20230101-20230331",
      "decimals": "4",
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsRiskFreeInterestRate",
      "reportCount": 1,
      "unique": true,
      "unitRef": "number",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "0000067 - Disclosure - Stock Options - Fair Value Assumptions (Details)",
     "menuCat": "Details",
     "order": "67",
     "role": "http://www.pwod.com/role/StockOptionsFairValueAssumptionsDetails",
     "shortName": "Stock Options - Fair Value Assumptions (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "ix:continuation",
       "div",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "pwod-20230331.htm",
      "contextRef": "i003ed7a3f94142bd9b455bf8b1578e5c_D20230101-20230331",
      "decimals": "4",
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsRiskFreeInterestRate",
      "reportCount": 1,
      "unique": true,
      "unitRef": "number",
      "xsiNil": "false"
     }
    },
    "R68": {
     "firstAnchor": {
      "ancestors": [
       "ix:continuation",
       "span",
       "div",
       "body",
       "html"
      ],
      "baseRef": "pwod-20230331.htm",
      "contextRef": "i003ed7a3f94142bd9b455bf8b1578e5c_D20230101-20230331",
      "decimals": "INF",
      "first": true,
      "lang": "en-US",
      "name": "pwod:ReclassificationAdjustmentEffectOnNetIncomeLoss",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "0000068 - Disclosure - Reclassification of Comparative Amounts (Details)",
     "menuCat": "Details",
     "order": "68",
     "role": "http://www.pwod.com/role/ReclassificationofComparativeAmountsDetails",
     "shortName": "Reclassification of Comparative Amounts (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "ix:continuation",
       "span",
       "div",
       "body",
       "html"
      ],
      "baseRef": "pwod-20230331.htm",
      "contextRef": "i003ed7a3f94142bd9b455bf8b1578e5c_D20230101-20230331",
      "decimals": "INF",
      "first": true,
      "lang": "en-US",
      "name": "pwod:ReclassificationAdjustmentEffectOnNetIncomeLoss",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R7": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "body",
       "html"
      ],
      "baseRef": "pwod-20230331.htm",
      "contextRef": "i003ed7a3f94142bd9b455bf8b1578e5c_D20230101-20230331",
      "decimals": "INF",
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:CommonStockDividendsPerShareDeclared",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usdPerShare",
      "xsiNil": "false"
     },
     "groupType": "statement",
     "isDefault": "false",
     "longName": "0000007 - Statement - CONSOLIDATED STATEMENT OF CHANGES IN SHAREHOLDERS' EQUITY (UNAUDITED) (Parenthetical)",
     "menuCat": "Statements",
     "order": "7",
     "role": "http://www.pwod.com/role/CONSOLIDATEDSTATEMENTOFCHANGESINSHAREHOLDERSEQUITYUNAUDITEDParenthetical",
     "shortName": "CONSOLIDATED STATEMENT OF CHANGES IN SHAREHOLDERS' EQUITY (UNAUDITED) (Parenthetical)",
     "subGroupType": "parenthetical",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "body",
       "html"
      ],
      "baseRef": "pwod-20230331.htm",
      "contextRef": "i003ed7a3f94142bd9b455bf8b1578e5c_D20230101-20230331",
      "decimals": "INF",
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:CommonStockDividendsPerShareDeclared",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usdPerShare",
      "xsiNil": "false"
     }
    },
    "R8": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "body",
       "html"
      ],
      "baseRef": "pwod-20230331.htm",
      "contextRef": "i003ed7a3f94142bd9b455bf8b1578e5c_D20230101-20230331",
      "decimals": "-3",
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ProfitLoss",
      "reportCount": 1,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "statement",
     "isDefault": "false",
     "longName": "0000008 - Statement - CONSOLIDATED STATEMENT OF CASH FLOWS (UNAUDITED)",
     "menuCat": "Statements",
     "order": "8",
     "role": "http://www.pwod.com/role/CONSOLIDATEDSTATEMENTOFCASHFLOWSUNAUDITED",
     "shortName": "CONSOLIDATED STATEMENT OF CASH FLOWS (UNAUDITED)",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "body",
       "html"
      ],
      "baseRef": "pwod-20230331.htm",
      "contextRef": "i003ed7a3f94142bd9b455bf8b1578e5c_D20230101-20230331",
      "decimals": "-3",
      "lang": "en-US",
      "name": "us-gaap:OtherDepreciationAndAmortization",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R9": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "div",
       "body",
       "html"
      ],
      "baseRef": "pwod-20230331.htm",
      "contextRef": "i003ed7a3f94142bd9b455bf8b1578e5c_D20230101-20230331",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:OrganizationConsolidationAndPresentationOfFinancialStatementsDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "0000009 - Disclosure - Basis of Presentation",
     "menuCat": "Notes",
     "order": "9",
     "role": "http://www.pwod.com/role/BasisofPresentation",
     "shortName": "Basis of Presentation",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "div",
       "body",
       "html"
      ],
      "baseRef": "pwod-20230331.htm",
      "contextRef": "i003ed7a3f94142bd9b455bf8b1578e5c_D20230101-20230331",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:OrganizationConsolidationAndPresentationOfFinancialStatementsDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    }
   },
   "segmentCount": 67,
   "tag": {
    "dei_AmendmentFlag": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Boolean flag that is true when the XBRL content amends previously-filed or accepted submission.",
        "label": "Amendment Flag",
        "terseLabel": "Amendment Flag"
       }
      }
     },
     "localname": "AmendmentFlag",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.pwod.com/role/CoverPage"
     ],
     "xbrltype": "booleanItemType"
    },
    "dei_CityAreaCode": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Area code of city",
        "label": "City Area Code",
        "terseLabel": "City Area Code"
       }
      }
     },
     "localname": "CityAreaCode",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.pwod.com/role/CoverPage"
     ],
     "xbrltype": "normalizedStringItemType"
    },
    "dei_CoverAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Cover page.",
        "label": "Cover [Abstract]",
        "terseLabel": "Cover [Abstract]"
       }
      }
     },
     "localname": "CoverAbstract",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "xbrltype": "stringItemType"
    },
    "dei_CurrentFiscalYearEndDate": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "End date of current fiscal year in the format --MM-DD.",
        "label": "Current Fiscal Year End Date",
        "terseLabel": "Current Fiscal Year End Date"
       }
      }
     },
     "localname": "CurrentFiscalYearEndDate",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.pwod.com/role/CoverPage"
     ],
     "xbrltype": "gMonthDayItemType"
    },
    "dei_DocumentFiscalPeriodFocus": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fiscal period values are FY, Q1, Q2, and Q3.  1st, 2nd and 3rd quarter 10-Q or 10-QT statements have value Q1, Q2, and Q3 respectively, with 10-K, 10-KT or other fiscal year statements having FY.",
        "label": "Document Fiscal Period Focus",
        "terseLabel": "Document Fiscal Period Focus"
       }
      }
     },
     "localname": "DocumentFiscalPeriodFocus",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.pwod.com/role/CoverPage"
     ],
     "xbrltype": "fiscalPeriodItemType"
    },
    "dei_DocumentFiscalYearFocus": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This is focus fiscal year of the document report in YYYY format. For a 2006 annual report, which may also provide financial information from prior periods, fiscal 2006 should be given as the fiscal year focus. Example: 2006.",
        "label": "Document Fiscal Year Focus",
        "terseLabel": "Document Fiscal Year Focus"
       }
      }
     },
     "localname": "DocumentFiscalYearFocus",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.pwod.com/role/CoverPage"
     ],
     "xbrltype": "gYearItemType"
    },
    "dei_DocumentPeriodEndDate": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "For the EDGAR submission types of Form 8-K: the date of the report, the date of the earliest event reported; for the EDGAR submission types of Form N-1A: the filing date; for all other submission types: the end of the reporting or transition period.  The format of the date is YYYY-MM-DD.",
        "label": "Document Period End Date",
        "terseLabel": "Document Period End Date"
       }
      }
     },
     "localname": "DocumentPeriodEndDate",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.pwod.com/role/CoverPage"
     ],
     "xbrltype": "dateItemType"
    },
    "dei_DocumentQuarterlyReport": {
     "auth_ref": [
      "r644"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Boolean flag that is true only for a form used as an quarterly report.",
        "label": "Document Quarterly Report",
        "terseLabel": "Document Quarterly Report"
       }
      }
     },
     "localname": "DocumentQuarterlyReport",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.pwod.com/role/CoverPage"
     ],
     "xbrltype": "booleanItemType"
    },
    "dei_DocumentTransitionReport": {
     "auth_ref": [
      "r645"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Boolean flag that is true only for a form used as a transition report.",
        "label": "Document Transition Report",
        "terseLabel": "Document Transition Report"
       }
      }
     },
     "localname": "DocumentTransitionReport",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.pwod.com/role/CoverPage"
     ],
     "xbrltype": "booleanItemType"
    },
    "dei_DocumentType": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The type of document being provided (such as 10-K, 10-Q, 485BPOS, etc). The document type is limited to the same value as the supporting SEC submission type, or the word 'Other'.",
        "label": "Document Type",
        "terseLabel": "Document Type"
       }
      }
     },
     "localname": "DocumentType",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.pwod.com/role/CoverPage"
     ],
     "xbrltype": "submissionTypeItemType"
    },
    "dei_EntityAddressAddressLine1": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Address Line 1 such as Attn, Building Name, Street Name",
        "label": "Entity Address, Address Line One",
        "terseLabel": "Entity Address, Address Line One"
       }
      }
     },
     "localname": "EntityAddressAddressLine1",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.pwod.com/role/CoverPage"
     ],
     "xbrltype": "normalizedStringItemType"
    },
    "dei_EntityAddressCityOrTown": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Name of the City or Town",
        "label": "Entity Address, City or Town",
        "terseLabel": "Entity Address, City or Town"
       }
      }
     },
     "localname": "EntityAddressCityOrTown",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.pwod.com/role/CoverPage"
     ],
     "xbrltype": "normalizedStringItemType"
    },
    "dei_EntityAddressPostalZipCode": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Code for the postal or zip code",
        "label": "Entity Address, Postal Zip Code",
        "terseLabel": "Postal Zip Code"
       }
      }
     },
     "localname": "EntityAddressPostalZipCode",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.pwod.com/role/CoverPage"
     ],
     "xbrltype": "normalizedStringItemType"
    },
    "dei_EntityAddressStateOrProvince": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Name of the state or province.",
        "label": "Entity Address, State or Province",
        "terseLabel": "Entity Address, State or Province"
       }
      }
     },
     "localname": "EntityAddressStateOrProvince",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.pwod.com/role/CoverPage"
     ],
     "xbrltype": "stateOrProvinceItemType"
    },
    "dei_EntityCentralIndexKey": {
     "auth_ref": [
      "r642"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "A unique 10-digit SEC-issued value to identify entities that have filed disclosures with the SEC. It is commonly abbreviated as CIK.",
        "label": "Entity Central Index Key",
        "terseLabel": "Entity Central Index Key"
       }
      }
     },
     "localname": "EntityCentralIndexKey",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.pwod.com/role/CoverPage"
     ],
     "xbrltype": "centralIndexKeyItemType"
    },
    "dei_EntityCommonStockSharesOutstanding": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Indicate number of shares or other units outstanding of each of registrant's classes of capital or common stock or other ownership interests, if and as stated on cover of related periodic report. Where multiple classes or units exist define each class/interest by adding class of stock items such as Common Class A [Member], Common Class B [Member] or Partnership Interest [Member] onto the Instrument [Domain] of the Entity Listings, Instrument.",
        "label": "Entity Common Stock, Shares Outstanding",
        "terseLabel": "Entity Common Stock, Shares Outstanding (in shares)"
       }
      }
     },
     "localname": "EntityCommonStockSharesOutstanding",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.pwod.com/role/CoverPage"
     ],
     "xbrltype": "sharesItemType"
    },
    "dei_EntityCurrentReportingStatus": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Indicate 'Yes' or 'No' whether registrants (1) have filed all reports required to be filed by Section 13 or 15(d) of the Securities Exchange Act of 1934 during the preceding 12 months (or for such shorter period that registrants were required to file such reports), and (2) have been subject to such filing requirements for the past 90 days. This information should be based on the registrant's current or most recent filing containing the related disclosure.",
        "label": "Entity Current Reporting Status",
        "terseLabel": "Entity Current Reporting Status"
       }
      }
     },
     "localname": "EntityCurrentReportingStatus",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.pwod.com/role/CoverPage"
     ],
     "xbrltype": "yesNoItemType"
    },
    "dei_EntityEmergingGrowthCompany": {
     "auth_ref": [
      "r642"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Indicate if registrant meets the emerging growth company criteria.",
        "label": "Entity Emerging Growth Company",
        "terseLabel": "Emerging Growth Company"
       }
      }
     },
     "localname": "EntityEmergingGrowthCompany",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.pwod.com/role/CoverPage"
     ],
     "xbrltype": "booleanItemType"
    },
    "dei_EntityFileNumber": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Commission file number. The field allows up to 17 characters. The prefix may contain 1-3 digits, the sequence number may contain 1-8 digits, the optional suffix may contain 1-4 characters, and the fields are separated with a hyphen.",
        "label": "Entity File Number",
        "terseLabel": "Entity File Number"
       }
      }
     },
     "localname": "EntityFileNumber",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.pwod.com/role/CoverPage"
     ],
     "xbrltype": "fileNumberItemType"
    },
    "dei_EntityFilerCategory": {
     "auth_ref": [
      "r642"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Indicate whether the registrant is one of the following: Large Accelerated Filer, Accelerated Filer, Non-accelerated Filer. Definitions of these categories are stated in Rule 12b-2 of the Exchange Act. This information should be based on the registrant's current or most recent filing containing the related disclosure.",
        "label": "Entity Filer Category",
        "terseLabel": "Entity Filer Category"
       }
      }
     },
     "localname": "EntityFilerCategory",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.pwod.com/role/CoverPage"
     ],
     "xbrltype": "filerCategoryItemType"
    },
    "dei_EntityIncorporationStateCountryCode": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Two-character EDGAR code representing the state or country of incorporation.",
        "label": "Entity Incorporation, State or Country Code",
        "terseLabel": "Entity Incorporation, State or Country Code"
       }
      }
     },
     "localname": "EntityIncorporationStateCountryCode",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.pwod.com/role/CoverPage"
     ],
     "xbrltype": "edgarStateCountryItemType"
    },
    "dei_EntityInteractiveDataCurrent": {
     "auth_ref": [
      "r646"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Boolean flag that is true when the registrant has submitted electronically every Interactive Data File required to be submitted pursuant to Rule 405 of Regulation S-T during the preceding 12 months (or for such shorter period that the registrant was required to submit such files).",
        "label": "Entity Interactive Data Current",
        "terseLabel": "Entity Other Identification Type"
       }
      }
     },
     "localname": "EntityInteractiveDataCurrent",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.pwod.com/role/CoverPage"
     ],
     "xbrltype": "yesNoItemType"
    },
    "dei_EntityRegistrantName": {
     "auth_ref": [
      "r642"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The exact name of the entity filing the report as specified in its charter, which is required by forms filed with the SEC.",
        "label": "Entity Registrant Name",
        "terseLabel": "Entity Registrant Name"
       }
      }
     },
     "localname": "EntityRegistrantName",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.pwod.com/role/CoverPage"
     ],
     "xbrltype": "normalizedStringItemType"
    },
    "dei_EntityShellCompany": {
     "auth_ref": [
      "r642"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Boolean flag that is true when the registrant is a shell company as defined in Rule 12b-2 of the Exchange Act.",
        "label": "Entity Shell Company",
        "terseLabel": "Entity Shell Company"
       }
      }
     },
     "localname": "EntityShellCompany",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.pwod.com/role/CoverPage"
     ],
     "xbrltype": "booleanItemType"
    },
    "dei_EntitySmallBusiness": {
     "auth_ref": [
      "r642"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Indicates that the company is a Smaller Reporting Company (SRC).",
        "label": "Entity Small Business",
        "terseLabel": "Smaller Reporting Company"
       }
      }
     },
     "localname": "EntitySmallBusiness",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.pwod.com/role/CoverPage"
     ],
     "xbrltype": "booleanItemType"
    },
    "dei_EntityTaxIdentificationNumber": {
     "auth_ref": [
      "r642"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The Tax Identification Number (TIN), also known as an Employer Identification Number (EIN), is a unique 9-digit value assigned by the IRS.",
        "label": "Entity Tax Identification Number",
        "terseLabel": "Entity Tax Identification Number"
       }
      }
     },
     "localname": "EntityTaxIdentificationNumber",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.pwod.com/role/CoverPage"
     ],
     "xbrltype": "employerIdItemType"
    },
    "dei_LocalPhoneNumber": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Local phone number for entity.",
        "label": "Local Phone Number",
        "terseLabel": "Local Phone Number"
       }
      }
     },
     "localname": "LocalPhoneNumber",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.pwod.com/role/CoverPage"
     ],
     "xbrltype": "normalizedStringItemType"
    },
    "dei_Security12bTitle": {
     "auth_ref": [
      "r641"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Title of a 12(b) registered security.",
        "label": "Title of 12(b) Security",
        "terseLabel": "Title of 12(b) Security"
       }
      }
     },
     "localname": "Security12bTitle",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.pwod.com/role/CoverPage"
     ],
     "xbrltype": "securityTitleItemType"
    },
    "dei_SecurityExchangeName": {
     "auth_ref": [
      "r643"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Name of the Exchange on which a security is registered.",
        "label": "Security Exchange Name",
        "terseLabel": "Security Exchange Name"
       }
      }
     },
     "localname": "SecurityExchangeName",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.pwod.com/role/CoverPage"
     ],
     "xbrltype": "edgarExchangeCodeItemType"
    },
    "dei_TradingSymbol": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Trading symbol of an instrument as listed on an exchange.",
        "label": "Trading Symbol",
        "terseLabel": "Trading Symbol"
       }
      }
     },
     "localname": "TradingSymbol",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.pwod.com/role/CoverPage"
     ],
     "xbrltype": "tradingSymbolItemType"
    },
    "pwod_AllowanceForCreditLossesOnFinancingReceivablesBasedOnImpairmentMethodTableTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of allowance for loan losses and the recorded investment in loans by portfolio segment and based on impairment method.",
        "label": "Allowance for Credit Losses on Financing Receivables Based on Impairment Method [Table Text Block]",
        "terseLabel": "Schedule of allowance for loan losses and the recorded investment in loans by portfolio segment based on impairment method"
       }
      }
     },
     "localname": "AllowanceForCreditLossesOnFinancingReceivablesBasedOnImpairmentMethodTableTextBlock",
     "nsuri": "http://www.pwod.com/20230331",
     "presentation": [
      "http://www.pwod.com/role/LoansTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "pwod_BrokerageCommissionsMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Brokerage Commissions [Member]",
        "label": "Brokerage Commissions [Member]",
        "terseLabel": "Brokerage commissions"
       }
      }
     },
     "localname": "BrokerageCommissionsMember",
     "nsuri": "http://www.pwod.com/20230331",
     "presentation": [
      "http://www.pwod.com/role/CONSOLIDATEDSTATEMENTOFINCOMEUNAUDITED"
     ],
     "xbrltype": "domainItemType"
    },
    "pwod_ChangeInAccountingStandardTypeAxis": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Change in Accounting Standard, Type",
        "label": "Change in Accounting Standard, Type [Axis]",
        "terseLabel": "Change in Accounting Standard, Type [Axis]"
       }
      }
     },
     "localname": "ChangeInAccountingStandardTypeAxis",
     "nsuri": "http://www.pwod.com/20230331",
     "presentation": [
      "http://www.pwod.com/role/BasisofPresentationNarrativeDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "pwod_ChangeInAccountingStandardTypeDomain": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Change in Accounting Standard, Type [Domain]",
        "label": "Change in Accounting Standard, Type [Domain]",
        "terseLabel": "Change in Accounting Standard, Type [Domain]"
       }
      }
     },
     "localname": "ChangeInAccountingStandardTypeDomain",
     "nsuri": "http://www.pwod.com/20230331",
     "presentation": [
      "http://www.pwod.com/role/BasisofPresentationNarrativeDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "pwod_CollateralDependentLoansFairValueDisclosure": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Collateral Dependent Loans, Fair Value Disclosure",
        "label": "Collateral Dependent Loans, Fair Value Disclosure",
        "terseLabel": "Collateral dependent loans, fair value"
       }
      }
     },
     "localname": "CollateralDependentLoansFairValueDisclosure",
     "nsuri": "http://www.pwod.com/20230331",
     "presentation": [
      "http://www.pwod.com/role/FairValueMeasurementsSignificantUnobservableInputsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "pwod_CollateralDependentLoansMeasurementInput": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Collateral Dependent Loans, Measurement Input",
        "label": "Collateral Dependent Loans, Measurement Input",
        "terseLabel": "Collateral dependent loans, measurement input"
       }
      }
     },
     "localname": "CollateralDependentLoansMeasurementInput",
     "nsuri": "http://www.pwod.com/20230331",
     "presentation": [
      "http://www.pwod.com/role/FairValueMeasurementsSignificantUnobservableInputsDetails"
     ],
     "xbrltype": "pureItemType"
    },
    "pwod_CollateralDependentLoansMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Collateral Loans",
        "label": "Collateral Dependent Loans [Member]",
        "terseLabel": "Collateral dependent loans"
       }
      }
     },
     "localname": "CollateralDependentLoansMember",
     "nsuri": "http://www.pwod.com/20230331",
     "presentation": [
      "http://www.pwod.com/role/FairValueMeasurementsNonRecurringAssetsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "pwod_CommercialFinancialandAgriculturalPortfolioSegmentMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents loan, whether secured or unsecured, to a company for purposes such as agriculture, seasonal working capital needs, inventory financing, equipment purchases and acquisitions.",
        "label": "Commercial, Financial, and Agricultural Portfolio Segment [Member]",
        "terseLabel": "Commercial, financial, and agricultural"
       }
      }
     },
     "localname": "CommercialFinancialandAgriculturalPortfolioSegmentMember",
     "nsuri": "http://www.pwod.com/20230331",
     "presentation": [
      "http://www.pwod.com/role/BasisofPresentationSummaryofImpactofCECLDetails",
      "http://www.pwod.com/role/LoansAgingCategoriesofLoansbySegmentDetails",
      "http://www.pwod.com/role/LoansAllowanceforCreditLossesonFinancingReceivablesDetails",
      "http://www.pwod.com/role/LoansAllowanceforLoanLossesDetails",
      "http://www.pwod.com/role/LoansAverageRecordedInvestmentImpairedLoansDetails",
      "http://www.pwod.com/role/LoansCreditQualityIndicatorsDetails",
      "http://www.pwod.com/role/LoansNonaccrualLoansDetails",
      "http://www.pwod.com/role/LoansRecordedInvestmentUnpaidPrincipalBalanceRelatedAllowanceofImpairedLoansDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "pwod_CreditExposurefromtheSaleofAssetsWithRecourseMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Credit exposure from the sale of assets with recourse [Member]",
        "label": "Credit Exposure from the Sale of Assets With Recourse [Member]",
        "terseLabel": "Credit exposure from the sale of assets with recourse"
       }
      }
     },
     "localname": "CreditExposurefromtheSaleofAssetsWithRecourseMember",
     "nsuri": "http://www.pwod.com/20230331",
     "presentation": [
      "http://www.pwod.com/role/OffBalanceSheetRiskDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "pwod_DebtSecuritiesAvailableForSaleUnrealizedLossPositionCreditLossExpenseReversal": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Debt Securities, Available-for-Sale, Unrealized Loss Position, Credit Loss Expense (Reversal)",
        "label": "Debt Securities, Available-for-Sale, Unrealized Loss Position, Credit Loss Expense (Reversal)",
        "terseLabel": "Credit losses"
       }
      }
     },
     "localname": "DebtSecuritiesAvailableForSaleUnrealizedLossPositionCreditLossExpenseReversal",
     "nsuri": "http://www.pwod.com/20230331",
     "presentation": [
      "http://www.pwod.com/role/InvestmentSecuritiesNarrativeDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "pwod_DebtTradingAndEquitySecuritiesGainLoss": {
     "auth_ref": [],
     "calculation": {
      "http://www.pwod.com/role/InvestmentSecuritiesUnrealizedandRealizedGainsandLossesRecognizedinNetIncomeDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Debt, Trading And Equity Securities, Gain (Loss)",
        "label": "Debt, Trading And Equity Securities, Gain (Loss)",
        "totalLabel": "Net gains (losses) recognized in equity securities during the period"
       }
      }
     },
     "localname": "DebtTradingAndEquitySecuritiesGainLoss",
     "nsuri": "http://www.pwod.com/20230331",
     "presentation": [
      "http://www.pwod.com/role/InvestmentSecuritiesUnrealizedandRealizedGainsandLossesRecognizedinNetIncomeDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "pwod_DisclosureOfReclassificationAmountsAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "-- None. No documentation exists for this element. --",
        "label": "Reclassification of Comparative Amounts",
        "terseLabel": "Reclassification of Comparative Amounts"
       }
      }
     },
     "localname": "DisclosureOfReclassificationAmountsAbstract",
     "nsuri": "http://www.pwod.com/20230331",
     "xbrltype": "stringItemType"
    },
    "pwod_EquitySecuritiesFVNIAccumulatedUnrealizedGain": {
     "auth_ref": [],
     "calculation": {
      "http://www.pwod.com/role/InvestmentSecuritiesAmortizedCostandFairValuesofInvestmentSecuritiesAvailableforSaleDetails": {
       "order": 1.0,
       "parentTag": "us-gaap_EquitySecuritiesFvNiCost",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Equity Securities, FV-NI, Accumulated Unrealized Gain",
        "label": "Equity Securities, FV-NI, Accumulated Unrealized Gain",
        "terseLabel": "Gross unrealized gains"
       }
      }
     },
     "localname": "EquitySecuritiesFVNIAccumulatedUnrealizedGain",
     "nsuri": "http://www.pwod.com/20230331",
     "presentation": [
      "http://www.pwod.com/role/InvestmentSecuritiesAmortizedCostandFairValuesofInvestmentSecuritiesAvailableforSaleDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "pwod_EquitySecuritiesFVNIAccumulatedUnrealizedLoss": {
     "auth_ref": [],
     "calculation": {
      "http://www.pwod.com/role/InvestmentSecuritiesAmortizedCostandFairValuesofInvestmentSecuritiesAvailableforSaleDetails": {
       "order": 2.0,
       "parentTag": "us-gaap_EquitySecuritiesFvNiCost",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Equity Securities, FV-NI, Accumulated Unrealized Loss",
        "label": "Equity Securities, FV-NI, Accumulated Unrealized Loss",
        "negatedLabel": "Gross unrealized losses"
       }
      }
     },
     "localname": "EquitySecuritiesFVNIAccumulatedUnrealizedLoss",
     "nsuri": "http://www.pwod.com/20230331",
     "presentation": [
      "http://www.pwod.com/role/InvestmentSecuritiesAmortizedCostandFairValuesofInvestmentSecuritiesAvailableforSaleDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "pwod_FinancialAsset30To89DaysPastDueMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Financial Asset, 30 to 89 Days Past Due",
        "label": "Financial Asset, 30 to 89 Days Past Due [Member]",
        "terseLabel": "Past Due 30 to 89 Days"
       }
      }
     },
     "localname": "FinancialAsset30To89DaysPastDueMember",
     "nsuri": "http://www.pwod.com/20230331",
     "presentation": [
      "http://www.pwod.com/role/LoansAgingCategoriesofLoansbySegmentDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "pwod_FinancialInstrumentCoveragePeriod": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents the coverage period of financial instruments.",
        "label": "Financial Instrument Coverage Period",
        "terseLabel": "Coverage period for instrument (in years)"
       }
      }
     },
     "localname": "FinancialInstrumentCoveragePeriod",
     "nsuri": "http://www.pwod.com/20230331",
     "presentation": [
      "http://www.pwod.com/role/OffBalanceSheetRiskDetails"
     ],
     "xbrltype": "durationItemType"
    },
    "pwod_FinancingReceivableCollateralDependentLoans": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Financing Receivable, Collateral Dependent Loans",
        "label": "Financing Receivable, Collateral Dependent Loans",
        "terseLabel": "Collateral dependent loans"
       }
      }
     },
     "localname": "FinancingReceivableCollateralDependentLoans",
     "nsuri": "http://www.pwod.com/20230331",
     "presentation": [
      "http://www.pwod.com/role/LoansScheduleofCollateralDependentLoansDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "pwod_FinancingReceivableCollateralDependentLoansBalancePercentage": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Financing Receivable, Collateral Dependent Loans Balance, Percentage",
        "label": "Financing Receivable, Collateral Dependent Loans Balance, Percentage",
        "terseLabel": "Percentage of loans guaranteed"
       }
      }
     },
     "localname": "FinancingReceivableCollateralDependentLoansBalancePercentage",
     "nsuri": "http://www.pwod.com/20230331",
     "presentation": [
      "http://www.pwod.com/role/LoansScheduleofCollateralDependentLoansDetails"
     ],
     "xbrltype": "pureItemType"
    },
    "pwod_FinancingReceivableCreditLossImpactMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Financing Receivable Credit Loss Impact",
        "label": "Financing Receivable Credit Loss Impact [Member]",
        "terseLabel": "Financing Receivable Credit Loss Impact"
       }
      }
     },
     "localname": "FinancingReceivableCreditLossImpactMember",
     "nsuri": "http://www.pwod.com/20230331",
     "presentation": [
      "http://www.pwod.com/role/BasisofPresentationNarrativeDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "pwod_FinancingReceivableExcludingAccruedInterestAllowanceForCreditLossWriteoffByOriginationYearAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Financing Receivable Excluding Accrued Interest Allowance For Credit Loss Writeoff By Origination Year",
        "label": "Financing Receivable Excluding Accrued Interest Allowance For Credit Loss Writeoff By Origination Year [Abstract]",
        "terseLabel": "Current period gross write offs"
       }
      }
     },
     "localname": "FinancingReceivableExcludingAccruedInterestAllowanceForCreditLossWriteoffByOriginationYearAbstract",
     "nsuri": "http://www.pwod.com/20230331",
     "presentation": [
      "http://www.pwod.com/role/LoansCreditQualityIndicatorsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "pwod_FinancingReceivableExcludingAccruedInterestOriginatedMoreThanFiveYearsBeforeCurrentFiscalYearWriteoff": {
     "auth_ref": [],
     "calculation": {
      "http://www.pwod.com/role/LoansCreditQualityIndicatorsDetails": {
       "order": 8.0,
       "parentTag": "us-gaap_FinancingReceivableAllowanceForCreditLossesWriteOffs",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Financing Receivable, Excluding Accrued Interest, Originated, More than Five Years before Current Fiscal Year, Writeoff",
        "label": "Financing Receivable, Excluding Accrued Interest, Originated, More than Five Years before Current Fiscal Year, Writeoff",
        "terseLabel": "Prior"
       }
      }
     },
     "localname": "FinancingReceivableExcludingAccruedInterestOriginatedMoreThanFiveYearsBeforeCurrentFiscalYearWriteoff",
     "nsuri": "http://www.pwod.com/20230331",
     "presentation": [
      "http://www.pwod.com/role/LoansCreditQualityIndicatorsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "pwod_FinancingReceivableExcludingAccruedInterestRevolvingConvertedToTermLoanWriteoff": {
     "auth_ref": [],
     "calculation": {
      "http://www.pwod.com/role/LoansCreditQualityIndicatorsDetails": {
       "order": 6.0,
       "parentTag": "us-gaap_FinancingReceivableAllowanceForCreditLossesWriteOffs",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Financing Receivable, Excluding Accrued Interest, Revolving Converted To Term Loan, Writeoff",
        "label": "Financing Receivable, Excluding Accrued Interest, Revolving Converted To Term Loan, Writeoff",
        "terseLabel": "Revolving Loans Converted to Term"
       }
      }
     },
     "localname": "FinancingReceivableExcludingAccruedInterestRevolvingConvertedToTermLoanWriteoff",
     "nsuri": "http://www.pwod.com/20230331",
     "presentation": [
      "http://www.pwod.com/role/LoansCreditQualityIndicatorsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "pwod_FinancingReceivableExcludingAccruedInterestRevolvingWriteoff": {
     "auth_ref": [],
     "calculation": {
      "http://www.pwod.com/role/LoansCreditQualityIndicatorsDetails": {
       "order": 7.0,
       "parentTag": "us-gaap_FinancingReceivableAllowanceForCreditLossesWriteOffs",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Financing Receivable, Excluding Accrued Interest, Revolving, Writeoff",
        "label": "Financing Receivable, Excluding Accrued Interest, Revolving, Writeoff",
        "terseLabel": "Revolving Loans"
       }
      }
     },
     "localname": "FinancingReceivableExcludingAccruedInterestRevolvingWriteoff",
     "nsuri": "http://www.pwod.com/20230331",
     "presentation": [
      "http://www.pwod.com/role/LoansCreditQualityIndicatorsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "pwod_FinancingReceivableExcludingAccruedInterestYearFiveOriginatedFourYearsBeforeCurrentFiscalYearWriteoff": {
     "auth_ref": [],
     "calculation": {
      "http://www.pwod.com/role/LoansCreditQualityIndicatorsDetails": {
       "order": 2.0,
       "parentTag": "us-gaap_FinancingReceivableAllowanceForCreditLossesWriteOffs",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Financing Receivable, Excluding Accrued Interest, Year Five, Originated, Four Years before Current Fiscal Year, Writeoff",
        "label": "Financing Receivable, Excluding Accrued Interest, Year Five, Originated, Four Years before Current Fiscal Year, Writeoff",
        "terseLabel": "2019"
       }
      }
     },
     "localname": "FinancingReceivableExcludingAccruedInterestYearFiveOriginatedFourYearsBeforeCurrentFiscalYearWriteoff",
     "nsuri": "http://www.pwod.com/20230331",
     "presentation": [
      "http://www.pwod.com/role/LoansCreditQualityIndicatorsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "pwod_FinancingReceivableExcludingAccruedInterestYearFourOriginatedThreeYearsBeforeCurrentFiscalYearWriteoff": {
     "auth_ref": [],
     "calculation": {
      "http://www.pwod.com/role/LoansCreditQualityIndicatorsDetails": {
       "order": 1.0,
       "parentTag": "us-gaap_FinancingReceivableAllowanceForCreditLossesWriteOffs",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Financing Receivable, Excluding Accrued Interest, Year Four, Originated, Three Years before Current Fiscal Year, Writeoff",
        "label": "Financing Receivable, Excluding Accrued Interest, Year Four, Originated, Three Years before Current Fiscal Year, Writeoff",
        "terseLabel": "2020"
       }
      }
     },
     "localname": "FinancingReceivableExcludingAccruedInterestYearFourOriginatedThreeYearsBeforeCurrentFiscalYearWriteoff",
     "nsuri": "http://www.pwod.com/20230331",
     "presentation": [
      "http://www.pwod.com/role/LoansCreditQualityIndicatorsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "pwod_FinancingReceivableExcludingAccruedInterestYearOneOriginatedCurrentFiscalYearWriteoff": {
     "auth_ref": [],
     "calculation": {
      "http://www.pwod.com/role/LoansCreditQualityIndicatorsDetails": {
       "order": 3.0,
       "parentTag": "us-gaap_FinancingReceivableAllowanceForCreditLossesWriteOffs",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Financing Receivable, Excluding Accrued Interest, Year One, Originated, Current Fiscal Year, Writeoff",
        "label": "Financing Receivable, Excluding Accrued Interest, Year One, Originated, Current Fiscal Year, Writeoff",
        "terseLabel": "2023"
       }
      }
     },
     "localname": "FinancingReceivableExcludingAccruedInterestYearOneOriginatedCurrentFiscalYearWriteoff",
     "nsuri": "http://www.pwod.com/20230331",
     "presentation": [
      "http://www.pwod.com/role/LoansCreditQualityIndicatorsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "pwod_FinancingReceivableExcludingAccruedInterestYearThreeOriginatedTwoYearsBeforeCurrentFiscalYearWriteoff": {
     "auth_ref": [],
     "calculation": {
      "http://www.pwod.com/role/LoansCreditQualityIndicatorsDetails": {
       "order": 4.0,
       "parentTag": "us-gaap_FinancingReceivableAllowanceForCreditLossesWriteOffs",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Financing Receivable, Excluding Accrued Interest, Year Three, Originated, Two Years before Current Fiscal Year, Writeoff",
        "label": "Financing Receivable, Excluding Accrued Interest, Year Three, Originated, Two Years before Current Fiscal Year, Writeoff",
        "terseLabel": "2021"
       }
      }
     },
     "localname": "FinancingReceivableExcludingAccruedInterestYearThreeOriginatedTwoYearsBeforeCurrentFiscalYearWriteoff",
     "nsuri": "http://www.pwod.com/20230331",
     "presentation": [
      "http://www.pwod.com/role/LoansCreditQualityIndicatorsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "pwod_FinancingReceivableExcludingAccruedInterestYearTwoOriginatedFiscalYearBeforeCurrentFiscalYearWriteoff": {
     "auth_ref": [],
     "calculation": {
      "http://www.pwod.com/role/LoansCreditQualityIndicatorsDetails": {
       "order": 5.0,
       "parentTag": "us-gaap_FinancingReceivableAllowanceForCreditLossesWriteOffs",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Financing Receivable, Excluding Accrued Interest, Year Two, Originated, Fiscal Year before Current Fiscal Year, Writeoff",
        "label": "Financing Receivable, Excluding Accrued Interest, Year Two, Originated, Fiscal Year before Current Fiscal Year, Writeoff",
        "terseLabel": "2022"
       }
      }
     },
     "localname": "FinancingReceivableExcludingAccruedInterestYearTwoOriginatedFiscalYearBeforeCurrentFiscalYearWriteoff",
     "nsuri": "http://www.pwod.com/20230331",
     "presentation": [
      "http://www.pwod.com/role/LoansCreditQualityIndicatorsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "pwod_FinancingReceivableExcludingInterestAllowanceForCreditLossesAndOffBalanceSheetCreditLossLiability": {
     "auth_ref": [],
     "calculation": {
      "http://www.pwod.com/role/LoansComponentsoftheAllowanceDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Financing Receivable, Excluding Interest, Allowance For Credit Losses, And Off Balance Sheet Credit Loss Liability",
        "label": "Financing Receivable, Excluding Interest, Allowance For Credit Losses, And Off Balance Sheet Credit Loss Liability",
        "terseLabel": "Net impact of adoption",
        "totalLabel": "Total ACL"
       }
      }
     },
     "localname": "FinancingReceivableExcludingInterestAllowanceForCreditLossesAndOffBalanceSheetCreditLossLiability",
     "nsuri": "http://www.pwod.com/20230331",
     "presentation": [
      "http://www.pwod.com/role/BasisofPresentationSummaryofImpactofCECLDetails",
      "http://www.pwod.com/role/LoansComponentsoftheAllowanceDetails",
      "http://www.pwod.com/role/RecentAccountingPronouncementsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "pwod_FinancingReceivableMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents the financing receivable of the entity.",
        "label": "Financing Receivable [Member]",
        "terseLabel": "Financing receivable"
       }
      }
     },
     "localname": "FinancingReceivableMember",
     "nsuri": "http://www.pwod.com/20230331",
     "presentation": [
      "http://www.pwod.com/role/LoansScheduleofConcentrationRiskDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "pwod_FinancingReceivableNonaccrualWithAllowance": {
     "auth_ref": [],
     "calculation": {
      "http://www.pwod.com/role/LoansNonaccrualLoansDetails": {
       "order": 1.0,
       "parentTag": "us-gaap_FinancingReceivableExcludingAccruedInterestNonaccrual",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Financing Receivable, Nonaccrual, With Allowance",
        "label": "Financing Receivable, Nonaccrual, With Allowance",
        "terseLabel": "Non-accrual Loans, With a Related Allowance"
       }
      }
     },
     "localname": "FinancingReceivableNonaccrualWithAllowance",
     "nsuri": "http://www.pwod.com/20230331",
     "presentation": [
      "http://www.pwod.com/role/LoansNonaccrualLoansDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "pwod_ImpairedFinancingReceivablesInvestmentAverageBalanceAndInterestIncomeTableTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of average recorded investment in impaired loans and related interest income recognized in impaired financing receivables.",
        "label": "Impaired Financing Receivables Investment Average Balance and Interest Income [Table Text Block]",
        "terseLabel": "Schedule of average recorded investment in impaired loans and related interest income recognized"
       }
      }
     },
     "localname": "ImpairedFinancingReceivablesInvestmentAverageBalanceAndInterestIncomeTableTextBlock",
     "nsuri": "http://www.pwod.com/20230331",
     "presentation": [
      "http://www.pwod.com/role/LoansTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "pwod_ImpairedLoansFairValueDisclosure": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Impaired Loans, Fair Value Disclosure",
        "label": "Impaired Loans, Fair Value Disclosure",
        "terseLabel": "Impaired loans, fair value"
       }
      }
     },
     "localname": "ImpairedLoansFairValueDisclosure",
     "nsuri": "http://www.pwod.com/20230331",
     "presentation": [
      "http://www.pwod.com/role/FairValueMeasurementsSignificantUnobservableInputsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "pwod_ImpairedLoansMeasurementInput": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Impaired Loans, Measurement Input",
        "label": "Impaired Loans, Measurement Input",
        "terseLabel": "Impaired loans, measurement input percentage"
       }
      }
     },
     "localname": "ImpairedLoansMeasurementInput",
     "nsuri": "http://www.pwod.com/20230331",
     "presentation": [
      "http://www.pwod.com/role/FairValueMeasurementsSignificantUnobservableInputsDetails"
     ],
     "xbrltype": "decimalItemType"
    },
    "pwod_ImpairedLoansMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents impaired loans.",
        "label": "Impaired Loans [Member]",
        "terseLabel": "Impaired loans"
       }
      }
     },
     "localname": "ImpairedLoansMember",
     "nsuri": "http://www.pwod.com/20230331",
     "presentation": [
      "http://www.pwod.com/role/FairValueMeasurementsNonRecurringAssetsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "pwod_InsuranceCommissionsMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Insurance Commissions [Member]",
        "label": "Insurance Commissions [Member]",
        "terseLabel": "Insurance commissions"
       }
      }
     },
     "localname": "InsuranceCommissionsMember",
     "nsuri": "http://www.pwod.com/20230331",
     "presentation": [
      "http://www.pwod.com/role/CONSOLIDATEDSTATEMENTOFINCOMEUNAUDITED"
     ],
     "xbrltype": "domainItemType"
    },
    "pwod_LoanBrokerageCommissionsMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Loan Brokerage Commissions",
        "label": "Loan Brokerage Commissions [Member]",
        "terseLabel": "Loan broker commissions"
       }
      }
     },
     "localname": "LoanBrokerageCommissionsMember",
     "nsuri": "http://www.pwod.com/20230331",
     "presentation": [
      "http://www.pwod.com/role/CONSOLIDATEDSTATEMENTOFINCOMEUNAUDITED"
     ],
     "xbrltype": "domainItemType"
    },
    "pwod_NonEmployeeDirectorCompensationPlanMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Non-Employee Director Compensation Plan",
        "label": "Non-Employee Director Compensation Plan [Member]",
        "terseLabel": "Non-Employee Director Compensation Plan"
       }
      }
     },
     "localname": "NonEmployeeDirectorCompensationPlanMember",
     "nsuri": "http://www.pwod.com/20230331",
     "presentation": [
      "http://www.pwod.com/role/StockPurchasePlansDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "pwod_NonfinancialInstitutionEquitySecuritiesMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Non-financial Institution Equity Securities [Member]",
        "label": "Non-financial Institution Equity Securities [Member]",
        "terseLabel": "Equity securities",
        "verboseLabel": "Equity securities"
       }
      }
     },
     "localname": "NonfinancialInstitutionEquitySecuritiesMember",
     "nsuri": "http://www.pwod.com/20230331",
     "presentation": [
      "http://www.pwod.com/role/FairValueMeasurementsRecurringAssetsDetails",
      "http://www.pwod.com/role/InvestmentSecuritiesAmortizedCostandFairValuesofInvestmentSecuritiesAvailableforSaleDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "pwod_NumberOfCategoriesConsideredNotCriticizedAndRated": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Number of categories considered not criticized and rated as \"Pass\".",
        "label": "Number of Categories Considered Not Criticized and Rated",
        "terseLabel": "Number of categories considered not criticized and rated as pass (in categories)"
       }
      }
     },
     "localname": "NumberOfCategoriesConsideredNotCriticizedAndRated",
     "nsuri": "http://www.pwod.com/20230331",
     "presentation": [
      "http://www.pwod.com/role/LoansNarrativeDetails"
     ],
     "xbrltype": "integerItemType"
    },
    "pwod_NumberOfCategoriesInWhichRealEstateLoansSegmented": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents the number of categories in which real estate loans are segmented.",
        "label": "Number of Categories in which Real Estate Loans Segmented",
        "terseLabel": "Number of categories in which real estate loans segmented (in categories)"
       }
      }
     },
     "localname": "NumberOfCategoriesInWhichRealEstateLoansSegmented",
     "nsuri": "http://www.pwod.com/20230331",
     "presentation": [
      "http://www.pwod.com/role/LoansNarrativeDetails"
     ],
     "xbrltype": "integerItemType"
    },
    "pwod_OffBalanceSheetCreditExposureImpactMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Off Balance Sheet Credit Exposure Impact",
        "label": "Off Balance Sheet Credit Exposure Impact [Member]",
        "terseLabel": "Off Balance Sheet Credit Exposure Impact"
       }
      }
     },
     "localname": "OffBalanceSheetCreditExposureImpactMember",
     "nsuri": "http://www.pwod.com/20230331",
     "presentation": [
      "http://www.pwod.com/role/BasisofPresentationNarrativeDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "pwod_OffBalanceSheetRiskDisclosureAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "-- None. No documentation exists for this element. --",
        "label": "Off Balance Sheet Risk",
        "terseLabel": "Off Balance Sheet Risk"
       }
      }
     },
     "localname": "OffBalanceSheetRiskDisclosureAbstract",
     "nsuri": "http://www.pwod.com/20230331",
     "xbrltype": "stringItemType"
    },
    "pwod_OffBalanceSheetRiskDisclosureTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Description of financial instruments with off-balance sheet risk, such as letters of credit, including (1) the types of financial instruments involved, (2) the face or contract amount of the instrument, (3) the nature and terms of the instrument, and (4) the entity's policy of requiring collateral or other security to support financial instruments subject to credit risk.",
        "label": "Off Balance Sheet Risk Disclosure [Text Block]",
        "terseLabel": "Off-Balance Sheet Risk"
       }
      }
     },
     "localname": "OffBalanceSheetRiskDisclosureTextBlock",
     "nsuri": "http://www.pwod.com/20230331",
     "presentation": [
      "http://www.pwod.com/role/OffBalanceSheetRisk"
     ],
     "xbrltype": "textBlockItemType"
    },
    "pwod_OtherConsumerInstallmentLoansMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Other Consumer Installment Loans [Member]",
        "label": "Other Consumer Installment Loans [Member]",
        "terseLabel": "Other consumer installment loans",
        "verboseLabel": "Installment loans to individuals"
       }
      }
     },
     "localname": "OtherConsumerInstallmentLoansMember",
     "nsuri": "http://www.pwod.com/20230331",
     "presentation": [
      "http://www.pwod.com/role/BasisofPresentationSummaryofImpactofCECLDetails",
      "http://www.pwod.com/role/LoansAgingCategoriesofLoansbySegmentDetails",
      "http://www.pwod.com/role/LoansAllowanceforCreditLossesonFinancingReceivablesDetails",
      "http://www.pwod.com/role/LoansAllowanceforLoanLossesDetails",
      "http://www.pwod.com/role/LoansAverageRecordedInvestmentImpairedLoansDetails",
      "http://www.pwod.com/role/LoansCreditQualityIndicatorsDetails",
      "http://www.pwod.com/role/LoansNonaccrualLoansDetails",
      "http://www.pwod.com/role/LoansRecordedInvestmentUnpaidPrincipalBalanceRelatedAllowanceofImpairedLoansDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "pwod_OtherRealEstateOwnedMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Land and buildings obtained through foreclosure proceedings or defeasance in full or partial satisfaction of a debt arrangement.",
        "label": "Other Real Estate Owned [Member]",
        "terseLabel": "Other real estate owned"
       }
      }
     },
     "localname": "OtherRealEstateOwnedMember",
     "nsuri": "http://www.pwod.com/20230331",
     "presentation": [
      "http://www.pwod.com/role/FairValueMeasurementsNonRecurringAssetsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "pwod_PercentageOfLoanReviewEvaluated": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Percentage of Loan Review Evaluated",
        "label": "Percentage of Loan Review Evaluated",
        "terseLabel": "Percentage of loan review evaluated"
       }
      }
     },
     "localname": "PercentageOfLoanReviewEvaluated",
     "nsuri": "http://www.pwod.com/20230331",
     "presentation": [
      "http://www.pwod.com/role/LoansNarrativeDetails"
     ],
     "xbrltype": "pureItemType"
    },
    "pwod_PeriodFinancingReceivablesPastDueAfterWhichLoansAreConsideredSubstandardMinimum": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents the minimum period after which loans are considered as substandard.",
        "label": "Period Financing Receivables Past Due after which Loans are Considered Substandard Minimum",
        "terseLabel": "Minimum period after which loans are considered as substandard (in days)"
       }
      }
     },
     "localname": "PeriodFinancingReceivablesPastDueAfterWhichLoansAreConsideredSubstandardMinimum",
     "nsuri": "http://www.pwod.com/20230331",
     "presentation": [
      "http://www.pwod.com/role/LoansNarrativeDetails"
     ],
     "xbrltype": "durationItemType"
    },
    "pwod_ProceedsFromRedemptionOfRegulatoryStock": {
     "auth_ref": [],
     "calculation": {
      "http://www.pwod.com/role/CONSOLIDATEDSTATEMENTOFCASHFLOWSUNAUDITED": {
       "order": 9.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInInvestingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This element represent cash inflow from redemption of regulatory stock.",
        "label": "Proceeds from Redemption of Regulatory Stock",
        "terseLabel": "Proceeds from redemption of regulatory stock"
       }
      }
     },
     "localname": "ProceedsFromRedemptionOfRegulatoryStock",
     "nsuri": "http://www.pwod.com/20230331",
     "presentation": [
      "http://www.pwod.com/role/CONSOLIDATEDSTATEMENTOFCASHFLOWSUNAUDITED"
     ],
     "xbrltype": "monetaryItemType"
    },
    "pwod_PurchasesOfRegulatoryStock": {
     "auth_ref": [],
     "calculation": {
      "http://www.pwod.com/role/CONSOLIDATEDSTATEMENTOFCASHFLOWSUNAUDITED": {
       "order": 2.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInInvestingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This element represent cash outflow for purchases of regulatory stock.",
        "label": "Purchases of Regulatory Stock",
        "negatedLabel": "Purchases of regulatory stock"
       }
      }
     },
     "localname": "PurchasesOfRegulatoryStock",
     "nsuri": "http://www.pwod.com/20230331",
     "presentation": [
      "http://www.pwod.com/role/CONSOLIDATEDSTATEMENTOFCASHFLOWSUNAUDITED"
     ],
     "xbrltype": "monetaryItemType"
    },
    "pwod_RealEstateMortgagePortfolioSegmentMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Real Estate Mortgage Portfolio Segment [Member]",
        "label": "Real Estate Mortgage Portfolio Segment [Member]",
        "terseLabel": "Real\u00a0Estate\u00a0Mortgages"
       }
      }
     },
     "localname": "RealEstateMortgagePortfolioSegmentMember",
     "nsuri": "http://www.pwod.com/20230331",
     "presentation": [
      "http://www.pwod.com/role/BasisofPresentationSummaryofImpactofCECLDetails",
      "http://www.pwod.com/role/LoansAgingCategoriesofLoansbySegmentDetails",
      "http://www.pwod.com/role/LoansAllowanceforCreditLossesonFinancingReceivablesDetails",
      "http://www.pwod.com/role/LoansAllowanceforLoanLossesDetails",
      "http://www.pwod.com/role/LoansAverageRecordedInvestmentImpairedLoansDetails",
      "http://www.pwod.com/role/LoansCreditQualityIndicatorsDetails",
      "http://www.pwod.com/role/LoansNarrativeDetails",
      "http://www.pwod.com/role/LoansNonaccrualLoansDetails",
      "http://www.pwod.com/role/LoansRecordedInvestmentUnpaidPrincipalBalanceRelatedAllowanceofImpairedLoansDetails",
      "http://www.pwod.com/role/LoansScheduleofCollateralDependentLoansDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "pwod_ReasonablePeriodToClassifyFromTroubledDebtRestructuringNonPerformingLoansToPerformingLoans": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents the approximate number of months of sustained repayment performance to return a nonperforming troubled debt restructuring to performing status.",
        "label": "Reasonable Period to Classify from Troubled Debt Restructuring Non Performing Loans to Performing Loans",
        "terseLabel": "Period to classify TDR non performing loans to performing (in months)"
       }
      }
     },
     "localname": "ReasonablePeriodToClassifyFromTroubledDebtRestructuringNonPerformingLoansToPerformingLoans",
     "nsuri": "http://www.pwod.com/20230331",
     "presentation": [
      "http://www.pwod.com/role/LoansNarrativeDetails"
     ],
     "xbrltype": "durationItemType"
    },
    "pwod_ReclassificationAdjustmentEffectOnNetIncomeLoss": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents effect of reclassification adjustment on net income or loss recognized during the period.",
        "label": "Reclassification Adjustment Effect on Net Income (Loss)",
        "terseLabel": "Effect of reclassification adjustment on net income or shareholders' equity"
       }
      }
     },
     "localname": "ReclassificationAdjustmentEffectOnNetIncomeLoss",
     "nsuri": "http://www.pwod.com/20230331",
     "presentation": [
      "http://www.pwod.com/role/ReclassificationofComparativeAmountsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "pwod_ScheduleOfCollateralDependentLoansTableTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Schedule Of Collateral Dependent Loans",
        "label": "Schedule Of Collateral Dependent Loans [Table Text Block]",
        "terseLabel": "Schedule of collateral dependent loans"
       }
      }
     },
     "localname": "ScheduleOfCollateralDependentLoansTableTextBlock",
     "nsuri": "http://www.pwod.com/20230331",
     "presentation": [
      "http://www.pwod.com/role/LoansTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "pwod_SchedulesOfFinanceReceivableConcentrationOfRiskByLoanTypeTableTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of the concentration of loans by type as a percentage of total loans.",
        "label": "Schedules of Finance Receivable Concentration of Risk by Loan Type [Table Text Block]",
        "terseLabel": "Schedule of concentration of loan"
       }
      }
     },
     "localname": "SchedulesOfFinanceReceivableConcentrationOfRiskByLoanTypeTableTextBlock",
     "nsuri": "http://www.pwod.com/20230331",
     "presentation": [
      "http://www.pwod.com/role/LoansTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "pwod_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedAnnualDividend": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Share-based Compensation Arrangement by Share-based Payment Award, Fair Value Assumptions, Expected Annual Dividend",
        "label": "Share-based Compensation Arrangement by Share-based Payment Award, Fair Value Assumptions, Expected Annual Dividend",
        "terseLabel": "Expected Annual dividend (in dollars per share)"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedAnnualDividend",
     "nsuri": "http://www.pwod.com/20230331",
     "presentation": [
      "http://www.pwod.com/role/StockOptionsFairValueAssumptionsDetails"
     ],
     "xbrltype": "perShareItemType"
    },
    "pwod_ShareBasedCompensationArrangementByShareBasedPaymentAwardMarketValueMaximum": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents the maximum amount of market value that employee is eligible to invest toward the purchase of shares under the plan, on an annual basis.",
        "label": "Share Based Compensation Arrangement by Share Based Payment Award, Market Value Maximum",
        "terseLabel": "Maximum market value"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardMarketValueMaximum",
     "nsuri": "http://www.pwod.com/20230331",
     "presentation": [
      "http://www.pwod.com/role/StockPurchasePlansDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "pwod_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsCashSettledInPeriodGross": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Share-Based Compensation Arrangement by Share-Based Payment Award, Options, Cash Settled in Period, Gross",
        "label": "Share-Based Compensation Arrangement by Share-Based Payment Award, Options, Cash Settled in Period, Gross",
        "negatedTerseLabel": "Exercised (in shares)",
        "terseLabel": "Cash settlement (in shares)"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsCashSettledInPeriodGross",
     "nsuri": "http://www.pwod.com/20230331",
     "presentation": [
      "http://www.pwod.com/role/StockOptionsScheduleofOptionsOutstandingDetails",
      "http://www.pwod.com/role/StockOptionsScheduleofStockOptionsGrantedDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "pwod_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsCashSettledInPeriodWeightedAverageExercisePrice": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Share-Based Compensation Arrangement by Share-Based Payment Award, Options, Cash Settled in Period, Weighted-Average Exercise Price",
        "label": "Share-Based Compensation Arrangement by Share-Based Payment Award, Options, Cash Settled in Period, Weighted-Average Exercise Price",
        "terseLabel": "Cash settlement (dollars per share)"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsCashSettledInPeriodWeightedAverageExercisePrice",
     "nsuri": "http://www.pwod.com/20230331",
     "presentation": [
      "http://www.pwod.com/role/StockOptionsScheduleofOptionsOutstandingDetails"
     ],
     "xbrltype": "perShareItemType"
    },
    "pwod_ShareBasedCompensationArrangementByShareBasedPaymentAwardPercentageOfBaseCompensation": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Share Based Compensation Arrangement by Share Based Payment Award, Percentage of Base Compensation",
        "label": "Share Based Compensation Arrangement by Share Based Payment Award, Percentage of Base Compensation",
        "terseLabel": "Current percentage of base compensation"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardPercentageOfBaseCompensation",
     "nsuri": "http://www.pwod.com/20230331",
     "presentation": [
      "http://www.pwod.com/role/StockPurchasePlansDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "pwod_ShareBasedCompensationArrangementByShareBasedPaymentAwardPercentageOfBaseCompensationMaximum": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents the maximum percentage of base compensation that employee is eligible to invest toward the purchase of shares under the plan.",
        "label": "Share Based Compensation Arrangement by Share Based Payment Award, Percentage of Base Compensation Maximum",
        "terseLabel": "Maximum percentage of base compensation"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardPercentageOfBaseCompensationMaximum",
     "nsuri": "http://www.pwod.com/20230331",
     "presentation": [
      "http://www.pwod.com/role/StockPurchasePlansDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "pwod_ShareBasedCompensationArrangementByShareBasedPaymentAwardPurchasePriceOfSharesAsPercentageOfMarketValue": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents the purchase price of shares as a percentage of market value.",
        "label": "Share Based Compensation Arrangement by Share Based Payment Award, Purchase Price of Shares as Percentage of Market Value",
        "terseLabel": "Purchase price of the shares with respect to market value (as a percent)"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardPurchasePriceOfSharesAsPercentageOfMarketValue",
     "nsuri": "http://www.pwod.com/20230331",
     "presentation": [
      "http://www.pwod.com/role/StockPurchasePlansDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "pwod_SharePriceAveragePrice": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Share Price, Average Price",
        "label": "Share Price, Average Price",
        "terseLabel": "Average share price (in dollars per share)"
       }
      }
     },
     "localname": "SharePriceAveragePrice",
     "nsuri": "http://www.pwod.com/20230331",
     "presentation": [
      "http://www.pwod.com/role/PerShareDataNarrativeDetails"
     ],
     "xbrltype": "perShareItemType"
    },
    "pwod_ShareTaxExpense": {
     "auth_ref": [],
     "calculation": {
      "http://www.pwod.com/role/CONSOLIDATEDSTATEMENTOFINCOMEUNAUDITED": {
       "order": 5.0,
       "parentTag": "us-gaap_NoninterestExpense",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The bank and trust company shares tax is imposed at a rate of 1.25 percent on every bank and trust company conducting business in Pennsylvania that has capital stock.",
        "label": "Share Tax Expense",
        "terseLabel": "Pennsylvania shares tax"
       }
      }
     },
     "localname": "ShareTaxExpense",
     "nsuri": "http://www.pwod.com/20230331",
     "presentation": [
      "http://www.pwod.com/role/CONSOLIDATEDSTATEMENTOFINCOMEUNAUDITED"
     ],
     "xbrltype": "monetaryItemType"
    },
    "pwod_TimeDepositsAndBrokeredDeposits": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Time Deposits And Brokered Deposits",
        "label": "Time Deposits And Brokered Deposits",
        "terseLabel": "Time deposits & brokered deposits"
       }
      }
     },
     "localname": "TimeDepositsAndBrokeredDeposits",
     "nsuri": "http://www.pwod.com/20230331",
     "presentation": [
      "http://www.pwod.com/role/FairValueofFinancialInstrumentsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "pwod_TransferFromLoansToForeclosedAssets": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Transfer from loans to foreclosed assets.",
        "label": "Transfer from Loans to Foreclosed Assets",
        "terseLabel": "Transfer of loans to foreclosed real estate"
       }
      }
     },
     "localname": "TransferFromLoansToForeclosedAssets",
     "nsuri": "http://www.pwod.com/20230331",
     "presentation": [
      "http://www.pwod.com/role/CONSOLIDATEDSTATEMENTOFCASHFLOWSUNAUDITED"
     ],
     "xbrltype": "monetaryItemType"
    },
    "srt_CumulativeEffectPeriodOfAdoptionAdjustedBalanceMember": {
     "auth_ref": [
      "r648",
      "r666",
      "r668",
      "r680",
      "r728",
      "r729",
      "r730",
      "r731",
      "r732",
      "r736",
      "r737",
      "r738",
      "r745"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Cumulative Effect, Period of Adoption, Adjusted Balance [Member]",
        "terseLabel": "As Reported"
       }
      }
     },
     "localname": "CumulativeEffectPeriodOfAdoptionAdjustedBalanceMember",
     "nsuri": "http://fasb.org/srt/2022",
     "presentation": [
      "http://www.pwod.com/role/BasisofPresentationSummaryofImpactofCECLDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "srt_CumulativeEffectPeriodOfAdoptionAdjustmentMember": {
     "auth_ref": [
      "r184",
      "r225",
      "r234",
      "r240",
      "r308",
      "r426",
      "r427",
      "r428",
      "r433",
      "r434",
      "r455",
      "r458",
      "r461",
      "r462",
      "r515"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Cumulative Effect, Period of Adoption, Adjustment [Member]",
        "terseLabel": "Adoption impact",
        "verboseLabel": "Cumulative effect of adoption of ASU 2016-13"
       }
      }
     },
     "localname": "CumulativeEffectPeriodOfAdoptionAdjustmentMember",
     "nsuri": "http://fasb.org/srt/2022",
     "presentation": [
      "http://www.pwod.com/role/BasisofPresentationNarrativeDetails",
      "http://www.pwod.com/role/BasisofPresentationSummaryofImpactofCECLDetails",
      "http://www.pwod.com/role/CONSOLIDATEDSTATEMENTOFCHANGESINSHAREHOLDERSEQUITYUNAUDITED",
      "http://www.pwod.com/role/LoansAllowanceforCreditLossesonFinancingReceivablesDetails",
      "http://www.pwod.com/role/RecentAccountingPronouncementsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "srt_CumulativeEffectPeriodOfAdoptionAxis": {
     "auth_ref": [
      "r184",
      "r225",
      "r234",
      "r240",
      "r308",
      "r426",
      "r427",
      "r428",
      "r433",
      "r434",
      "r455",
      "r458",
      "r461",
      "r462",
      "r515"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Cumulative Effect, Period of Adoption [Axis]",
        "terseLabel": "Cumulative Effect, Period of Adoption [Axis]"
       }
      }
     },
     "localname": "CumulativeEffectPeriodOfAdoptionAxis",
     "nsuri": "http://fasb.org/srt/2022",
     "presentation": [
      "http://www.pwod.com/role/BasisofPresentationNarrativeDetails",
      "http://www.pwod.com/role/BasisofPresentationSummaryofImpactofCECLDetails",
      "http://www.pwod.com/role/CONSOLIDATEDSTATEMENTOFCHANGESINSHAREHOLDERSEQUITYUNAUDITED",
      "http://www.pwod.com/role/LoansAllowanceforCreditLossesonFinancingReceivablesDetails",
      "http://www.pwod.com/role/RecentAccountingPronouncementsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "srt_CumulativeEffectPeriodOfAdoptionDomain": {
     "auth_ref": [
      "r184",
      "r225",
      "r234",
      "r240",
      "r308",
      "r426",
      "r427",
      "r428",
      "r433",
      "r434",
      "r455",
      "r458",
      "r461",
      "r462",
      "r515"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Cumulative Effect, Period of Adoption [Domain]",
        "terseLabel": "Cumulative Effect, Period of Adoption [Domain]"
       }
      }
     },
     "localname": "CumulativeEffectPeriodOfAdoptionDomain",
     "nsuri": "http://fasb.org/srt/2022",
     "presentation": [
      "http://www.pwod.com/role/BasisofPresentationNarrativeDetails",
      "http://www.pwod.com/role/BasisofPresentationSummaryofImpactofCECLDetails",
      "http://www.pwod.com/role/CONSOLIDATEDSTATEMENTOFCHANGESINSHAREHOLDERSEQUITYUNAUDITED",
      "http://www.pwod.com/role/LoansAllowanceforCreditLossesonFinancingReceivablesDetails",
      "http://www.pwod.com/role/RecentAccountingPronouncementsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "srt_MaximumMember": {
     "auth_ref": [
      "r338",
      "r339",
      "r340",
      "r341",
      "r389",
      "r550",
      "r575",
      "r594",
      "r595",
      "r625",
      "r631",
      "r639",
      "r696",
      "r748",
      "r749",
      "r750",
      "r751",
      "r752",
      "r753"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Maximum [Member]",
        "terseLabel": "Maximum"
       }
      }
     },
     "localname": "MaximumMember",
     "nsuri": "http://fasb.org/srt/2022",
     "presentation": [
      "http://www.pwod.com/role/FairValueMeasurementsSignificantUnobservableInputsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "srt_MinimumMember": {
     "auth_ref": [
      "r338",
      "r339",
      "r340",
      "r341",
      "r389",
      "r550",
      "r575",
      "r594",
      "r595",
      "r625",
      "r631",
      "r639",
      "r696",
      "r748",
      "r749",
      "r750",
      "r751",
      "r752",
      "r753"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Minimum [Member]",
        "terseLabel": "Minimum"
       }
      }
     },
     "localname": "MinimumMember",
     "nsuri": "http://fasb.org/srt/2022",
     "presentation": [
      "http://www.pwod.com/role/FairValueMeasurementsSignificantUnobservableInputsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "srt_ProductOrServiceAxis": {
     "auth_ref": [
      "r274",
      "r551",
      "r626",
      "r638",
      "r692",
      "r693",
      "r697",
      "r755"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Product and Service [Axis]",
        "terseLabel": "Product and Service [Axis]"
       }
      }
     },
     "localname": "ProductOrServiceAxis",
     "nsuri": "http://fasb.org/srt/2022",
     "presentation": [
      "http://www.pwod.com/role/CONSOLIDATEDSTATEMENTOFINCOMEUNAUDITED"
     ],
     "xbrltype": "stringItemType"
    },
    "srt_ProductsAndServicesDomain": {
     "auth_ref": [
      "r274",
      "r551",
      "r626",
      "r638",
      "r692",
      "r693",
      "r697",
      "r755"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Product and Service [Domain]",
        "terseLabel": "Product and Service [Domain]"
       }
      }
     },
     "localname": "ProductsAndServicesDomain",
     "nsuri": "http://fasb.org/srt/2022",
     "presentation": [
      "http://www.pwod.com/role/CONSOLIDATEDSTATEMENTOFINCOMEUNAUDITED"
     ],
     "xbrltype": "domainItemType"
    },
    "srt_RangeAxis": {
     "auth_ref": [
      "r338",
      "r339",
      "r340",
      "r341",
      "r363",
      "r389",
      "r417",
      "r418",
      "r419",
      "r525",
      "r550",
      "r575",
      "r594",
      "r595",
      "r625",
      "r631",
      "r639",
      "r691",
      "r696",
      "r749",
      "r750",
      "r751",
      "r752",
      "r753"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Statistical Measurement [Axis]",
        "terseLabel": "Statistical Measurement [Axis]"
       }
      }
     },
     "localname": "RangeAxis",
     "nsuri": "http://fasb.org/srt/2022",
     "presentation": [
      "http://www.pwod.com/role/FairValueMeasurementsSignificantUnobservableInputsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "srt_RangeMember": {
     "auth_ref": [
      "r338",
      "r339",
      "r340",
      "r341",
      "r363",
      "r389",
      "r417",
      "r418",
      "r419",
      "r525",
      "r550",
      "r575",
      "r594",
      "r595",
      "r625",
      "r631",
      "r639",
      "r691",
      "r696",
      "r749",
      "r750",
      "r751",
      "r752",
      "r753"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Statistical Measurement [Domain]",
        "terseLabel": "Statistical Measurement [Domain]"
       }
      }
     },
     "localname": "RangeMember",
     "nsuri": "http://fasb.org/srt/2022",
     "presentation": [
      "http://www.pwod.com/role/FairValueMeasurementsSignificantUnobservableInputsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "srt_WeightedAverageMember": {
     "auth_ref": [
      "r594",
      "r595",
      "r748",
      "r750",
      "r753"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Weighted Average [Member]",
        "terseLabel": "Weighted\u00a0Average"
       }
      }
     },
     "localname": "WeightedAverageMember",
     "nsuri": "http://fasb.org/srt/2022",
     "presentation": [
      "http://www.pwod.com/role/FairValueMeasurementsSignificantUnobservableInputsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_AOCIAttributableToParentNetOfTaxRollForward": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "A roll forward is a reconciliation of a concept from the beginning of a period to the end of a period.",
        "label": "AOCI Attributable to Parent, Net of Tax [Roll Forward]",
        "terseLabel": "AOCI Attributable to Parent, Net of Tax [Roll Forward]"
       }
      }
     },
     "localname": "AOCIAttributableToParentNetOfTaxRollForward",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/AccumulatedOtherComprehensiveLossScheduleofAOCIDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_AccountingStandardsUpdateExtensibleList": {
     "auth_ref": [
      "r182",
      "r183",
      "r184",
      "r185",
      "r186",
      "r228",
      "r229",
      "r230",
      "r285",
      "r286",
      "r305",
      "r306",
      "r307",
      "r308",
      "r311",
      "r312",
      "r426",
      "r427",
      "r428",
      "r433",
      "r434",
      "r440",
      "r441",
      "r442",
      "r452",
      "r453",
      "r454",
      "r455",
      "r456",
      "r457",
      "r458",
      "r460",
      "r461",
      "r462",
      "r463",
      "r464",
      "r481",
      "r482",
      "r483",
      "r484",
      "r485",
      "r486",
      "r490",
      "r491",
      "r499",
      "r500",
      "r502",
      "r503",
      "r504",
      "r511",
      "r513",
      "r514",
      "r515",
      "r516",
      "r517",
      "r576",
      "r577",
      "r578",
      "r579",
      "r580",
      "r581",
      "r582",
      "r583",
      "r584",
      "r585",
      "r586",
      "r587",
      "r667"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Indicates amendment to accounting standards.",
        "label": "Accounting Standards Update [Extensible Enumeration]",
        "terseLabel": "Accounting Standards Update [Extensible Enumeration]"
       }
      }
     },
     "localname": "AccountingStandardsUpdateExtensibleList",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/CONSOLIDATEDSTATEMENTOFCHANGESINSHAREHOLDERSEQUITYUNAUDITED"
     ],
     "xbrltype": "enumerationSetItemType"
    },
    "us-gaap_AccountsNotesAndLoansReceivableLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "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.",
        "label": "Accounts, Notes, Loans and Financing Receivable [Line Items]",
        "terseLabel": "Accounts, Notes, Loans and Financing Receivable [Line Items]"
       }
      }
     },
     "localname": "AccountsNotesAndLoansReceivableLineItems",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/LoansNarrativeDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_AccountsNotesLoansAndFinancingReceivableByReceivableTypeAxis": {
     "auth_ref": [
      "r10"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by type of receivable.",
        "label": "Receivable Type [Axis]",
        "terseLabel": "Receivable Type [Axis]"
       }
      }
     },
     "localname": "AccountsNotesLoansAndFinancingReceivableByReceivableTypeAxis",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/LoansNarrativeDetails",
      "http://www.pwod.com/role/LoansScheduleofConcentrationRiskDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_AccountsPayableAndAccruedLiabilitiesCurrentAndNoncurrent": {
     "auth_ref": [
      "r143",
      "r169"
     ],
     "calculation": {
      "http://www.pwod.com/role/CONSOLIDATEDBALANCESHEETUNAUDITED": {
       "order": 4.0,
       "parentTag": "us-gaap_Liabilities",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Sum of the carrying values as of the balance sheet date of obligations incurred through that date, including liabilities incurred and payable to vendors for goods and services received, taxes, interest, rent and utilities, compensation costs, payroll taxes and fringe benefits (other than pension and postretirement obligations), contractual rights and obligations, and statutory obligations.",
        "label": "Accounts Payable and Accrued Liabilities",
        "terseLabel": "Accrued interest payable"
       }
      }
     },
     "localname": "AccountsPayableAndAccruedLiabilitiesCurrentAndNoncurrent",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/CONSOLIDATEDBALANCESHEETUNAUDITED"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AccretionAmortizationOfDiscountsAndPremiumsInvestments": {
     "auth_ref": [
      "r40"
     ],
     "calculation": {
      "http://www.pwod.com/role/CONSOLIDATEDSTATEMENTOFCASHFLOWSUNAUDITED": {
       "order": 8.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The sum of the periodic adjustments of the differences between securities' face values and purchase prices that are charged against earnings. This is called accretion if the security was purchased at a discount and amortization if it was purchased at premium. As a noncash item, this element is an adjustment to net income when calculating cash provided by or used in operations using the indirect method.",
        "label": "Accretion (Amortization) of Discounts and Premiums, Investments",
        "negatedLabel": "Accretion and amortization of investment security discounts and premiums"
       }
      }
     },
     "localname": "AccretionAmortizationOfDiscountsAndPremiumsInvestments",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/CONSOLIDATEDSTATEMENTOFCASHFLOWSUNAUDITED"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AccumulatedDefinedBenefitPlansAdjustmentMember": {
     "auth_ref": [
      "r12",
      "r17",
      "r117",
      "r652",
      "r653",
      "r654"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Accumulated other comprehensive (income) loss related to defined benefit plans attributable to the parent.",
        "label": "Accumulated Defined Benefit Plans Adjustment Attributable to Parent [Member]",
        "terseLabel": "Defined Benefit\u00a0 Plan"
       }
      }
     },
     "localname": "AccumulatedDefinedBenefitPlansAdjustmentMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/AccumulatedOtherComprehensiveLossScheduleofAOCIDetails",
      "http://www.pwod.com/role/AccumulatedOtherComprehensiveLossScheduleofReclassificationsoutofAOCIDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_AccumulatedNetUnrealizedInvestmentGainLossMember": {
     "auth_ref": [
      "r194",
      "r195",
      "r196",
      "r198",
      "r206",
      "r207",
      "r652"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Accumulated unrealized gain (loss) on investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale), attributable to parent.",
        "label": "AOCI, Accumulated Gain (Loss), Debt Securities, Available-for-Sale, Parent [Member]",
        "terseLabel": "Net\u00a0Unrealized Gain (Loss) on\u00a0Available for\u00a0Sale\u00a0Securities"
       }
      }
     },
     "localname": "AccumulatedNetUnrealizedInvestmentGainLossMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/AccumulatedOtherComprehensiveLossScheduleofAOCIDetails",
      "http://www.pwod.com/role/AccumulatedOtherComprehensiveLossScheduleofReclassificationsoutofAOCIDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_AccumulatedOtherComprehensiveIncomeLossAvailableForSaleSecuritiesAdjustmentNetOfTax": {
     "auth_ref": [
      "r651"
     ],
     "calculation": {
      "http://www.pwod.com/role/CONSOLIDATEDBALANCESHEETUNAUDITEDParenthetical": {
       "order": 5.0,
       "parentTag": "us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount, after tax, of accumulated unrealized gain (loss) on investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale).",
        "label": "AOCI, Debt Securities, Available-for-Sale, Adjustment, after Tax",
        "terseLabel": "Net unrealized loss on available for sale securities"
       }
      }
     },
     "localname": "AccumulatedOtherComprehensiveIncomeLossAvailableForSaleSecuritiesAdjustmentNetOfTax",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/CONSOLIDATEDBALANCESHEETUNAUDITED"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AccumulatedOtherComprehensiveIncomeLossDefinedBenefitPensionAndOtherPostretirementPlansNetOfTax": {
     "auth_ref": [
      "r13",
      "r17",
      "r701"
     ],
     "calculation": {
      "http://www.pwod.com/role/CONSOLIDATEDBALANCESHEETUNAUDITEDParenthetical": {
       "order": 1.0,
       "parentTag": "us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest",
       "weight": -1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount, after tax, of accumulated other comprehensive (income) loss for defined benefit plan, that has not been recognized in net periodic benefit cost (credit).",
        "label": "Accumulated Other Comprehensive (Income) Loss, Defined Benefit Plan, after Tax",
        "negatedLabel": "Defined benefit plan"
       }
      }
     },
     "localname": "AccumulatedOtherComprehensiveIncomeLossDefinedBenefitPensionAndOtherPostretirementPlansNetOfTax",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/CONSOLIDATEDBALANCESHEETUNAUDITED"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AccumulatedOtherComprehensiveIncomeLossLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "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.",
        "label": "Accumulated Other Comprehensive Income (Loss) [Line Items]",
        "terseLabel": "Changes in accumulated other comprehensive income by component"
       }
      }
     },
     "localname": "AccumulatedOtherComprehensiveIncomeLossLineItems",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/AccumulatedOtherComprehensiveLossScheduleofAOCIDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTaxAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Accumulated Other Comprehensive Income (Loss), Net of Tax [Abstract]",
        "terseLabel": "Accumulated other comprehensive loss:"
       }
      }
     },
     "localname": "AccumulatedOtherComprehensiveIncomeLossNetOfTaxAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/CONSOLIDATEDBALANCESHEETUNAUDITED"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_AccumulatedOtherComprehensiveIncomeLossTable": {
     "auth_ref": [
      "r205",
      "r206",
      "r492",
      "r493",
      "r494",
      "r495",
      "r496",
      "r498"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of information about components of accumulated other comprehensive income (loss).",
        "label": "Accumulated Other Comprehensive Income (Loss) [Table]",
        "terseLabel": "Changes in Accumulated Other Comprehensive Gain (Loss) by Component [Table]"
       }
      }
     },
     "localname": "AccumulatedOtherComprehensiveIncomeLossTable",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/AccumulatedOtherComprehensiveLossScheduleofAOCIDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_AccumulatedOtherComprehensiveIncomeMember": {
     "auth_ref": [
      "r14",
      "r17",
      "r117",
      "r517",
      "r578",
      "r579",
      "r652",
      "r653",
      "r654",
      "r663",
      "r664",
      "r665"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Accumulated increase (decrease) in equity from transactions and other events and circumstances from non-owner sources, attributable to the parent. Excludes net income (loss), and accumulated changes in equity from transactions resulting from investments by owners and distributions to owners.",
        "label": "AOCI Attributable to Parent [Member]",
        "terseLabel": "ACCUMULATED OTHER COMPREHENSIVE LOSS",
        "verboseLabel": "Total"
       }
      }
     },
     "localname": "AccumulatedOtherComprehensiveIncomeMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/AccumulatedOtherComprehensiveLossScheduleofAOCIDetails",
      "http://www.pwod.com/role/CONSOLIDATEDSTATEMENTOFCHANGESINSHAREHOLDERSEQUITYUNAUDITED"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_AdditionalPaidInCapital": {
     "auth_ref": [
      "r5",
      "r637"
     ],
     "calculation": {
      "http://www.pwod.com/role/CONSOLIDATEDBALANCESHEETUNAUDITEDParenthetical": {
       "order": 4.0,
       "parentTag": "us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of excess of issue price over par or stated value of stock and from other transaction involving stock or stockholder. Includes, but is not limited to, additional paid-in capital (APIC) for common and preferred stock.",
        "label": "Additional Paid in Capital",
        "terseLabel": "Additional paid-in capital"
       }
      }
     },
     "localname": "AdditionalPaidInCapital",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/CONSOLIDATEDBALANCESHEETUNAUDITED"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AdditionalPaidInCapitalMember": {
     "auth_ref": [
      "r426",
      "r427",
      "r428",
      "r663",
      "r664",
      "r665",
      "r737"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Excess of issue price over par or stated value of the entity's capital stock and amounts received from other transactions involving the entity's stock or stockholders.",
        "label": "Additional Paid-in Capital [Member]",
        "terseLabel": "ADDITIONAL PAID-IN CAPITAL"
       }
      }
     },
     "localname": "AdditionalPaidInCapitalMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/CONSOLIDATEDSTATEMENTOFCHANGESINSHAREHOLDERSEQUITYUNAUDITED"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivitiesAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Adjustments to Reconcile Net Income (Loss) to Cash Provided by (Used in) Operating Activities [Abstract]",
        "terseLabel": "Adjustments to reconcile net income to net cash provided by operating activities:"
       }
      }
     },
     "localname": "AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivitiesAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/CONSOLIDATEDSTATEMENTOFCASHFLOWSUNAUDITED"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_AllocatedShareBasedCompensationExpense": {
     "auth_ref": [
      "r421"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of expense for award under share-based payment arrangement. Excludes amount capitalized.",
        "label": "Share-Based Payment Arrangement, Expense",
        "terseLabel": "Compensation expense"
       }
      }
     },
     "localname": "AllocatedShareBasedCompensationExpense",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/StockOptionsNarrativeDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AllowanceForCreditLossAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Allowance for Credit Loss [Abstract]",
        "terseLabel": "Assets"
       }
      }
     },
     "localname": "AllowanceForCreditLossAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/BasisofPresentationSummaryofImpactofCECLDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_AllowanceForCreditLossesOnFinancingReceivablesTableTextBlock": {
     "auth_ref": [
      "r62",
      "r682"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of allowance for credit loss on financing receivable.",
        "label": "Financing Receivable, Allowance for Credit Loss [Table Text Block]",
        "terseLabel": "Schedule of components of and activity in the allowance"
       }
      }
     },
     "localname": "AllowanceForCreditLossesOnFinancingReceivablesTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/LoansTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_AllowanceForLoanAndLeaseLossesRollForward": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "A roll forward is a reconciliation of a concept from the beginning of a period to the end of a period.",
        "label": "Allowance for Loan and Lease Losses [Roll Forward]",
        "terseLabel": "Allowance for Loan Losses:"
       }
      }
     },
     "localname": "AllowanceForLoanAndLeaseLossesRollForward",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/LoansAllowanceforCreditLossesonFinancingReceivablesDetails",
      "http://www.pwod.com/role/LoansAllowanceforLoanLossesDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_AmortizationOfIntangibleAssets": {
     "auth_ref": [
      "r39",
      "r90",
      "r92"
     ],
     "calculation": {
      "http://www.pwod.com/role/CONSOLIDATEDSTATEMENTOFCASHFLOWSUNAUDITED": {
       "order": 15.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0
      },
      "http://www.pwod.com/role/CONSOLIDATEDSTATEMENTOFINCOMEUNAUDITED": {
       "order": 9.0,
       "parentTag": "us-gaap_NoninterestExpense",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The aggregate expense charged against earnings to allocate the cost of intangible assets (nonphysical assets not used in production) in a systematic and rational manner to the periods expected to benefit from such assets. As a noncash expense, this element is added back to net income when calculating cash provided by or used in operations using the indirect method.",
        "label": "Amortization of Intangible Assets",
        "terseLabel": "Intangible amortization",
        "verboseLabel": "Amortization of intangible assets"
       }
      }
     },
     "localname": "AmortizationOfIntangibleAssets",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/CONSOLIDATEDSTATEMENTOFCASHFLOWSUNAUDITED",
      "http://www.pwod.com/role/CONSOLIDATEDSTATEMENTOFINCOMEUNAUDITED"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_Assets": {
     "auth_ref": [
      "r137",
      "r165",
      "r192",
      "r220",
      "r265",
      "r268",
      "r272",
      "r304",
      "r344",
      "r345",
      "r346",
      "r347",
      "r348",
      "r349",
      "r350",
      "r351",
      "r352",
      "r444",
      "r448",
      "r480",
      "r637",
      "r694",
      "r695",
      "r746"
     ],
     "calculation": {
      "http://www.pwod.com/role/CONSOLIDATEDBALANCESHEETUNAUDITED": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Sum of the carrying amounts as of the balance sheet date of all assets that are recognized. Assets are probable future economic benefits obtained or controlled by an entity as a result of past transactions or events.",
        "label": "Assets",
        "totalLabel": "TOTAL ASSETS"
       }
      }
     },
     "localname": "Assets",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/CONSOLIDATEDBALANCESHEETUNAUDITED"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AssetsAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Assets [Abstract]",
        "terseLabel": "ASSETS:"
       }
      }
     },
     "localname": "AssetsAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/CONSOLIDATEDBALANCESHEETUNAUDITED"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_AssetsFairValueDisclosure": {
     "auth_ref": [
      "r120"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fair value portion of probable future economic benefits obtained or controlled by an entity as a result of past transactions or events.",
        "label": "Assets, Fair Value Disclosure",
        "terseLabel": "Total assets, fair value"
       }
      }
     },
     "localname": "AssetsFairValueDisclosure",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/FairValueMeasurementsNonRecurringAssetsDetails",
      "http://www.pwod.com/role/FairValueMeasurementsRecurringAssetsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AutomobileLoanMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Loan to finance the purchase of a vehicle.",
        "label": "Automobile Loan [Member]",
        "terseLabel": "Consumer automobile loans"
       }
      }
     },
     "localname": "AutomobileLoanMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/BasisofPresentationSummaryofImpactofCECLDetails",
      "http://www.pwod.com/role/LoansAgingCategoriesofLoansbySegmentDetails",
      "http://www.pwod.com/role/LoansAllowanceforCreditLossesonFinancingReceivablesDetails",
      "http://www.pwod.com/role/LoansAllowanceforLoanLossesDetails",
      "http://www.pwod.com/role/LoansAverageRecordedInvestmentImpairedLoansDetails",
      "http://www.pwod.com/role/LoansCreditQualityIndicatorsDetails",
      "http://www.pwod.com/role/LoansNonaccrualLoansDetails",
      "http://www.pwod.com/role/LoansRecordedInvestmentUnpaidPrincipalBalanceRelatedAllowanceofImpairedLoansDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedGainBeforeTax": {
     "auth_ref": [
      "r79"
     ],
     "calculation": {
      "http://www.pwod.com/role/InvestmentSecuritiesAmortizedCostandFairValuesofInvestmentSecuritiesAvailableforSaleDetails": {
       "order": 1.0,
       "parentTag": "us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "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).",
        "label": "Debt Securities, Available-for-Sale, Accumulated Gross Unrealized Gain, before Tax",
        "terseLabel": "Gross unrealized gains"
       }
      }
     },
     "localname": "AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedGainBeforeTax",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/InvestmentSecuritiesAmortizedCostandFairValuesofInvestmentSecuritiesAvailableforSaleDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedLossBeforeTax": {
     "auth_ref": [
      "r80"
     ],
     "calculation": {
      "http://www.pwod.com/role/InvestmentSecuritiesAmortizedCostandFairValuesofInvestmentSecuritiesAvailableforSaleDetails": {
       "order": 2.0,
       "parentTag": "us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "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).",
        "label": "Debt Securities, Available-for-Sale, Accumulated Gross Unrealized Loss, before Tax",
        "negatedLabel": "Gross unrealized losses"
       }
      }
     },
     "localname": "AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedLossBeforeTax",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/InvestmentSecuritiesAmortizedCostandFairValuesofInvestmentSecuritiesAvailableforSaleDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis": {
     "auth_ref": [
      "r290",
      "r330"
     ],
     "calculation": {
      "http://www.pwod.com/role/InvestmentSecuritiesAmortizedCostandFairValueofDebtSecuritiesDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      },
      "http://www.pwod.com/role/InvestmentSecuritiesAmortizedCostandFairValuesofInvestmentSecuritiesAvailableforSaleDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amortized cost of investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale).",
        "label": "Debt Securities, Available-for-Sale, Amortized Cost",
        "totalLabel": "Amortized Cost"
       }
      }
     },
     "localname": "AvailableForSaleDebtSecuritiesAmortizedCostBasis",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/InvestmentSecuritiesAmortizedCostandFairValueofDebtSecuritiesDetails",
      "http://www.pwod.com/role/InvestmentSecuritiesAmortizedCostandFairValuesofInvestmentSecuritiesAvailableforSaleDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AvailableForSaleSecuritiesAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Debt Securities, Available-for-Sale [Abstract]",
        "verboseLabel": "Available for sale (AFS):"
       }
      }
     },
     "localname": "AvailableForSaleSecuritiesAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/InvestmentSecuritiesAmortizedCostandFairValuesofInvestmentSecuritiesAvailableforSaleDetails",
      "http://www.pwod.com/role/InvestmentSecuritiesTotalGrossProceedsfromSalesofSecuritiesDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterFiveThroughTenYearsAmortizedCost": {
     "auth_ref": [
      "r84"
     ],
     "calculation": {
      "http://www.pwod.com/role/InvestmentSecuritiesAmortizedCostandFairValueofDebtSecuritiesDetails": {
       "order": 3.0,
       "parentTag": "us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amortized cost of investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale), with single maturity date and allocated without single maturity date, maturing in sixth through tenth fiscal year following current fiscal year. Excludes interim and annual periods when interim periods are reported from current statement of financial position date (rolling approach).",
        "label": "Debt Securities, Available-for-Sale, Amortized Cost, Maturity, Allocated and Single Maturity Date, after Year 5 Through 10",
        "terseLabel": "Due after five years to ten years"
       }
      }
     },
     "localname": "AvailableForSaleSecuritiesDebtMaturitiesAfterFiveThroughTenYearsAmortizedCost",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/InvestmentSecuritiesAmortizedCostandFairValueofDebtSecuritiesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterFiveThroughTenYearsFairValue": {
     "auth_ref": [
      "r81",
      "r293",
      "r565"
     ],
     "calculation": {
      "http://www.pwod.com/role/InvestmentSecuritiesAmortizedCostandFairValueofDebtSecuritiesDetails": {
       "order": 3.0,
       "parentTag": "us-gaap_HeldToMaturitySecuritiesFairValue",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fair value of investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale), with single maturity date and allocated without single maturity date, maturing in sixth through tenth fiscal year following current fiscal year. Excludes interim and annual periods when interim periods are reported from current statement of financial position date (rolling approach).",
        "label": "Debt Securities, Available-for-Sale, Fair Value, Maturity, Allocated and Single Maturity Date, after Year 5 Through 10",
        "terseLabel": "Due after five years to ten years"
       }
      }
     },
     "localname": "AvailableForSaleSecuritiesDebtMaturitiesAfterFiveThroughTenYearsFairValue",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/InvestmentSecuritiesAmortizedCostandFairValueofDebtSecuritiesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterOneThroughFiveYearsAmortizedCost": {
     "auth_ref": [
      "r83"
     ],
     "calculation": {
      "http://www.pwod.com/role/InvestmentSecuritiesAmortizedCostandFairValueofDebtSecuritiesDetails": {
       "order": 2.0,
       "parentTag": "us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amortized cost of investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale), with single maturity date and allocated without single maturity date, maturing in second through fifth fiscal year following current fiscal year. Excludes interim and annual periods when interim periods are reported from current statement of financial position date (rolling approach).",
        "label": "Debt Securities, Available-for-Sale, Amortized Cost, Maturity, Allocated and Single Maturity Date, after Year One Through Five",
        "terseLabel": "Due after one year to five years"
       }
      }
     },
     "localname": "AvailableForSaleSecuritiesDebtMaturitiesAfterOneThroughFiveYearsAmortizedCost",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/InvestmentSecuritiesAmortizedCostandFairValueofDebtSecuritiesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterOneThroughFiveYearsFairValue": {
     "auth_ref": [
      "r81",
      "r292",
      "r564"
     ],
     "calculation": {
      "http://www.pwod.com/role/InvestmentSecuritiesAmortizedCostandFairValueofDebtSecuritiesDetails": {
       "order": 2.0,
       "parentTag": "us-gaap_HeldToMaturitySecuritiesFairValue",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fair value of investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale), with single maturity date and allocated without single maturity date, maturing in second through fifth fiscal year following current fiscal year. Excludes interim and annual periods when interim periods are reported from current statement of financial position date (rolling approach).",
        "label": "Debt Securities, Available-for-Sale, Fair Value, Maturity, Allocated and Single Maturity Date, after Year One Through Five",
        "terseLabel": "Due after one year to five years"
       }
      }
     },
     "localname": "AvailableForSaleSecuritiesDebtMaturitiesAfterOneThroughFiveYearsFairValue",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/InvestmentSecuritiesAmortizedCostandFairValueofDebtSecuritiesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterTenYearsAmortizedCost": {
     "auth_ref": [
      "r85"
     ],
     "calculation": {
      "http://www.pwod.com/role/InvestmentSecuritiesAmortizedCostandFairValueofDebtSecuritiesDetails": {
       "order": 4.0,
       "parentTag": "us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amortized cost of investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale), with single maturity date and allocated without single maturity date, maturing after tenth fiscal year following current fiscal year. Excludes interim and annual periods when interim periods are reported from current statement of financial position date (rolling approach).",
        "label": "Debt Securities, Available-for-Sale, Amortized Cost, Maturity, Allocated and Single Maturity Date, after Year 10",
        "terseLabel": "Due after ten years"
       }
      }
     },
     "localname": "AvailableForSaleSecuritiesDebtMaturitiesAfterTenYearsAmortizedCost",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/InvestmentSecuritiesAmortizedCostandFairValueofDebtSecuritiesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterTenYearsFairValue": {
     "auth_ref": [
      "r81",
      "r294",
      "r566"
     ],
     "calculation": {
      "http://www.pwod.com/role/InvestmentSecuritiesAmortizedCostandFairValueofDebtSecuritiesDetails": {
       "order": 4.0,
       "parentTag": "us-gaap_HeldToMaturitySecuritiesFairValue",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fair value of investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale), with single maturity date and allocated without single maturity date, maturing after tenth fiscal year following current fiscal year. Excludes interim and annual periods when interim periods are reported from current statement of financial position date (rolling approach).",
        "label": "Debt Securities, Available-for-Sale, Fair Value, Maturity, Allocated and Single Maturity Date, after Year 10",
        "terseLabel": "Due after ten years"
       }
      }
     },
     "localname": "AvailableForSaleSecuritiesDebtMaturitiesAfterTenYearsFairValue",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/InvestmentSecuritiesAmortizedCostandFairValueofDebtSecuritiesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAmortizedCostAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Debt Securities, Available-for-Sale, Amortized Cost, Fiscal Year Maturity [Abstract]",
        "terseLabel": "Amortized\u00a0Cost"
       }
      }
     },
     "localname": "AvailableForSaleSecuritiesDebtMaturitiesAmortizedCostAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/InvestmentSecuritiesAmortizedCostandFairValueofDebtSecuritiesDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_AvailableForSaleSecuritiesDebtMaturitiesFairValueAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Debt Securities, Available-for-Sale, Fair Value, Fiscal Year Maturity [Abstract]",
        "terseLabel": "Fair\u00a0Value"
       }
      }
     },
     "localname": "AvailableForSaleSecuritiesDebtMaturitiesFairValueAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/InvestmentSecuritiesAmortizedCostandFairValueofDebtSecuritiesDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_AvailableForSaleSecuritiesDebtMaturitiesWithinOneYearAmortizedCost": {
     "auth_ref": [
      "r82"
     ],
     "calculation": {
      "http://www.pwod.com/role/InvestmentSecuritiesAmortizedCostandFairValueofDebtSecuritiesDetails": {
       "order": 1.0,
       "parentTag": "us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amortized cost of investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale), with single maturity date and allocated without single maturity date, maturing in next fiscal year following current fiscal year. Excludes interim and annual periods when interim periods are reported from current statement of financial position date (rolling approach).",
        "label": "Debt Securities, Available-for-Sale, Amortized Cost, Maturity, Allocated and Single Maturity Date, Year One",
        "terseLabel": "Due in one year or less"
       }
      }
     },
     "localname": "AvailableForSaleSecuritiesDebtMaturitiesWithinOneYearAmortizedCost",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/InvestmentSecuritiesAmortizedCostandFairValueofDebtSecuritiesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AvailableForSaleSecuritiesDebtMaturitiesWithinOneYearFairValue": {
     "auth_ref": [
      "r81",
      "r291",
      "r563"
     ],
     "calculation": {
      "http://www.pwod.com/role/InvestmentSecuritiesAmortizedCostandFairValueofDebtSecuritiesDetails": {
       "order": 1.0,
       "parentTag": "us-gaap_HeldToMaturitySecuritiesFairValue",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fair value of investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale), with single maturity date and allocated without single maturity date, maturing in next fiscal year following current fiscal year. Excludes interim and annual periods when interim periods are reported from current statement of financial position date (rolling approach).",
        "label": "Debt Securities, Available-for-Sale, Fair Value, Maturity, Allocated and Single Maturity Date, Year One",
        "terseLabel": "Due in one year or less"
       }
      }
     },
     "localname": "AvailableForSaleSecuritiesDebtMaturitiesWithinOneYearFairValue",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/InvestmentSecuritiesAmortizedCostandFairValueofDebtSecuritiesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AvailableForSaleSecuritiesDebtSecurities": {
     "auth_ref": [
      "r78",
      "r289",
      "r330",
      "r556"
     ],
     "calculation": {
      "http://www.pwod.com/role/CONSOLIDATEDBALANCESHEETUNAUDITED": {
       "order": 3.0,
       "parentTag": "us-gaap_Assets",
       "weight": 1.0
      },
      "http://www.pwod.com/role/InvestmentSecuritiesAmortizedCostandFairValuesofInvestmentSecuritiesAvailableforSaleDetails": {
       "order": 3.0,
       "parentTag": "us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale).",
        "label": "Debt Securities, Available-for-Sale",
        "terseLabel": "Investment debt securities, available for sale, at fair value",
        "verboseLabel": "Fair value"
       }
      }
     },
     "localname": "AvailableForSaleSecuritiesDebtSecurities",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/CONSOLIDATEDBALANCESHEETUNAUDITED",
      "http://www.pwod.com/role/InvestmentSecuritiesAmortizedCostandFairValuesofInvestmentSecuritiesAvailableforSaleDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AwardTypeAxis": {
     "auth_ref": [
      "r395",
      "r396",
      "r397",
      "r398",
      "r399",
      "r400",
      "r401",
      "r402",
      "r403",
      "r404",
      "r405",
      "r406",
      "r407",
      "r408",
      "r409",
      "r410",
      "r411",
      "r412",
      "r413",
      "r414",
      "r415",
      "r416",
      "r417",
      "r418",
      "r419",
      "r420"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by type of award under share-based payment arrangement.",
        "label": "Award Type [Axis]",
        "terseLabel": "Award Type [Axis]"
       }
      }
     },
     "localname": "AwardTypeAxis",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/StockOptionsNarrativeDetails",
      "http://www.pwod.com/role/StockPurchasePlansDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_BankOwnedLifeInsurance": {
     "auth_ref": [
      "r754"
     ],
     "calculation": {
      "http://www.pwod.com/role/CONSOLIDATEDBALANCESHEETUNAUDITED": {
       "order": 4.0,
       "parentTag": "us-gaap_Assets",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The carrying amount of a life insurance policy on an officer, executive or employee for which the reporting entity (a bank) is entitled to proceeds from the policy upon death of the insured or surrender of the insurance policy.",
        "label": "Bank Owned Life Insurance",
        "terseLabel": "Bank-owned life insurance"
       }
      }
     },
     "localname": "BankOwnedLifeInsurance",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/CONSOLIDATEDBALANCESHEETUNAUDITED"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_BankOwnedLifeInsuranceIncome": {
     "auth_ref": [
      "r154"
     ],
     "calculation": {
      "http://www.pwod.com/role/CONSOLIDATEDSTATEMENTOFCASHFLOWSUNAUDITED": {
       "order": 13.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": -1.0
      },
      "http://www.pwod.com/role/CONSOLIDATEDSTATEMENTOFINCOMEUNAUDITED": {
       "order": 4.0,
       "parentTag": "us-gaap_NoninterestIncome",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Earnings on or other increases in the value of the cash surrender value of bank owned life insurance policies.",
        "label": "Bank Owned Life Insurance Income",
        "negatedLabel": "Earnings on bank-owned life insurance",
        "terseLabel": "Bank-owned life insurance"
       }
      }
     },
     "localname": "BankOwnedLifeInsuranceIncome",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/CONSOLIDATEDSTATEMENTOFCASHFLOWSUNAUDITED",
      "http://www.pwod.com/role/CONSOLIDATEDSTATEMENTOFINCOMEUNAUDITED"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_CapitalizedComputerSoftwareAmortization1": {
     "auth_ref": [
      "r179",
      "r180"
     ],
     "calculation": {
      "http://www.pwod.com/role/CONSOLIDATEDSTATEMENTOFINCOMEUNAUDITED": {
       "order": 4.0,
       "parentTag": "us-gaap_NoninterestExpense",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of expense for amortization of capitalized computer software costs.",
        "label": "Capitalized Computer Software, Amortization",
        "terseLabel": "Software amortization"
       }
      }
     },
     "localname": "CapitalizedComputerSoftwareAmortization1",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/CONSOLIDATEDSTATEMENTOFINCOMEUNAUDITED"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_CarryingReportedAmountFairValueDisclosureMember": {
     "auth_ref": [
      "r125",
      "r126"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Measured as reported on the statement of financial position (balance sheet).",
        "label": "Reported Value Measurement [Member]",
        "terseLabel": "Carrying Value"
       }
      }
     },
     "localname": "CarryingReportedAmountFairValueDisclosureMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/FairValueofFinancialInstrumentsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_CashAndCashEquivalentsAtCarryingValue": {
     "auth_ref": [
      "r41",
      "r189",
      "r603"
     ],
     "calculation": {
      "http://www.pwod.com/role/CONSOLIDATEDBALANCESHEETUNAUDITED": {
       "order": 1.0,
       "parentTag": "us-gaap_Assets",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of currency on hand as well as demand deposits with banks or financial institutions. Includes other kinds of accounts that have the general characteristics of demand deposits. Also includes short-term, highly liquid investments that are both readily convertible to known amounts of cash and so near their maturity that they present insignificant risk of changes in value because of changes in interest rates. Excludes cash and cash equivalents within disposal group and discontinued operation.",
        "label": "Cash and Cash Equivalents, at Carrying Value",
        "totalLabel": "Total cash and cash equivalents"
       }
      }
     },
     "localname": "CashAndCashEquivalentsAtCarryingValue",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/CONSOLIDATEDBALANCESHEETUNAUDITED"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_CashAndDueFromBanks": {
     "auth_ref": [
      "r135"
     ],
     "calculation": {
      "http://www.pwod.com/role/CONSOLIDATEDBALANCESHEETUNAUDITED": {
       "order": 1.0,
       "parentTag": "us-gaap_CashAndCashEquivalentsAtCarryingValue",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "For banks and other depository institutions: Includes cash on hand (currency and coin), cash items in process of collection, noninterest bearing deposits due from other financial institutions (including corporate credit unions), and noninterest bearing balances with the Federal Reserve Banks, Federal Home Loan Banks and central banks.",
        "label": "Cash and Due from Banks",
        "terseLabel": "Noninterest-bearing balances"
       }
      }
     },
     "localname": "CashAndDueFromBanks",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/CONSOLIDATEDBALANCESHEETUNAUDITED"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents": {
     "auth_ref": [
      "r35",
      "r41",
      "r45"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of cash and cash equivalents, and cash and cash equivalents restricted to withdrawal or usage. Excludes amount for disposal group and discontinued operations. Cash includes, but is not limited to, currency on hand, demand deposits with banks or financial institutions, and other accounts with general characteristics of demand deposits. Cash equivalents include, but are not limited to, short-term, highly liquid investments that are both readily convertible to known amounts of cash and so near their maturity that they present insignificant risk of changes in value because of changes in interest rates.",
        "label": "Cash, Cash Equivalents, Restricted Cash, and Restricted Cash Equivalents",
        "periodEndLabel": "CASH AND CASH EQUIVALENTS, ENDING",
        "periodStartLabel": "CASH AND CASH EQUIVALENTS, BEGINNING"
       }
      }
     },
     "localname": "CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/CONSOLIDATEDSTATEMENTOFCASHFLOWSUNAUDITED"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect": {
     "auth_ref": [
      "r35",
      "r130"
     ],
     "calculation": {
      "http://www.pwod.com/role/CONSOLIDATEDSTATEMENTOFCASHFLOWSUNAUDITED": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of increase (decrease) in cash, cash equivalents, and cash and cash equivalents restricted to withdrawal or usage; including effect from exchange rate change. Cash includes, but is not limited to, currency on hand, demand deposits with banks or financial institutions, and other accounts with general characteristics of demand deposits. Cash equivalents include, but are not limited to, short-term, highly liquid investments that are both readily convertible to known amounts of cash and so near their maturity that they present insignificant risk of changes in value because of changes in interest rates.",
        "label": "Cash, Cash Equivalents, Restricted Cash, and Restricted Cash Equivalents, Period Increase (Decrease), Including Exchange Rate Effect",
        "totalLabel": "NET INCREASE (DECREASE) IN CASH AND CASH EQUIVALENTS"
       }
      }
     },
     "localname": "CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/CONSOLIDATEDSTATEMENTOFCASHFLOWSUNAUDITED"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_CollateralAxis": {
     "auth_ref": [
      "r613"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by category of collateral or no collateral, from lender's perspective.",
        "label": "Collateral Held [Axis]",
        "terseLabel": "Collateral Held [Axis]"
       }
      }
     },
     "localname": "CollateralAxis",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/LoansScheduleofCollateralDependentLoansDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_CollateralDomain": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Category of collateral or no collateral, from lender's perspective.",
        "label": "Collateral Held [Domain]",
        "terseLabel": "Collateral Held [Domain]"
       }
      }
     },
     "localname": "CollateralDomain",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/LoansScheduleofCollateralDependentLoansDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_CommercialRealEstateMember": {
     "auth_ref": [
      "r614",
      "r699"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Property that is solely used for business purposes.",
        "label": "Commercial Real Estate [Member]",
        "terseLabel": "Commercial"
       }
      }
     },
     "localname": "CommercialRealEstateMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/BasisofPresentationSummaryofImpactofCECLDetails",
      "http://www.pwod.com/role/LoansAgingCategoriesofLoansbySegmentDetails",
      "http://www.pwod.com/role/LoansAllowanceforCreditLossesonFinancingReceivablesDetails",
      "http://www.pwod.com/role/LoansAllowanceforLoanLossesDetails",
      "http://www.pwod.com/role/LoansAverageRecordedInvestmentImpairedLoansDetails",
      "http://www.pwod.com/role/LoansCreditQualityIndicatorsDetails",
      "http://www.pwod.com/role/LoansNarrativeDetails",
      "http://www.pwod.com/role/LoansNonaccrualLoansDetails",
      "http://www.pwod.com/role/LoansRecordedInvestmentUnpaidPrincipalBalanceRelatedAllowanceofImpairedLoansDetails",
      "http://www.pwod.com/role/LoansScheduleofCollateralDependentLoansDetails",
      "http://www.pwod.com/role/LoansScheduleofConcentrationRiskDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_CommitmentsToExtendCreditMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Loan commitments are legally binding commitments to extend credit to a counterparty under certain terms and conditions.",
        "label": "Commitments to Extend Credit [Member]",
        "terseLabel": "Commitments to extend credit"
       }
      }
     },
     "localname": "CommitmentsToExtendCreditMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/OffBalanceSheetRiskDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_CommonStockDividendsPerShareDeclared": {
     "auth_ref": [
      "r97"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Aggregate dividends declared during the period for each share of common stock outstanding.",
        "label": "Common Stock, Dividends, Per Share, Declared",
        "terseLabel": "Dividends declared per share (in dollars per share)"
       }
      }
     },
     "localname": "CommonStockDividendsPerShareDeclared",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/CONSOLIDATEDSTATEMENTOFCHANGESINSHAREHOLDERSEQUITYUNAUDITEDParenthetical"
     ],
     "xbrltype": "perShareItemType"
    },
    "us-gaap_CommonStockMember": {
     "auth_ref": [
      "r663",
      "r664",
      "r737"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Stock that is subordinate to all other stock of the issuer.",
        "label": "Common Stock [Member]",
        "terseLabel": "COMMON STOCK"
       }
      }
     },
     "localname": "CommonStockMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/CONSOLIDATEDSTATEMENTOFCHANGESINSHAREHOLDERSEQUITYUNAUDITED"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_CommonStockParOrStatedValuePerShare": {
     "auth_ref": [
      "r4"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Face amount or stated value per share of common stock.",
        "label": "Common Stock, Par or Stated Value Per Share",
        "terseLabel": "Common stock, par value (in dollars per share)"
       }
      }
     },
     "localname": "CommonStockParOrStatedValuePerShare",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/CONSOLIDATEDBALANCESHEETUNAUDITEDParenthetical"
     ],
     "xbrltype": "perShareItemType"
    },
    "us-gaap_CommonStockSharesAuthorized": {
     "auth_ref": [
      "r4"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The maximum number of common shares permitted to be issued by an entity's charter and bylaws.",
        "label": "Common Stock, Shares Authorized",
        "terseLabel": "Common stock, shares authorized (in shares)"
       }
      }
     },
     "localname": "CommonStockSharesAuthorized",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/CONSOLIDATEDBALANCESHEETUNAUDITEDParenthetical"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_CommonStockSharesIssued": {
     "auth_ref": [
      "r4"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Total number of common shares of an entity that have been sold or granted to shareholders (includes common shares that were issued, repurchased and remain in the treasury). These shares represent capital invested by the firm's shareholders and owners, and may be all or only a portion of the number of shares authorized. Shares issued include shares outstanding and shares held in the treasury.",
        "label": "Common Stock, Shares, Issued",
        "terseLabel": "Common stock, shares issued (in shares)"
       }
      }
     },
     "localname": "CommonStockSharesIssued",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/CONSOLIDATEDBALANCESHEETUNAUDITEDParenthetical"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_CommonStockSharesOutstanding": {
     "auth_ref": [
      "r4",
      "r96"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Number of shares of common stock outstanding. Common stock represent the ownership interest in a corporation.",
        "label": "Common Stock, Shares, Outstanding",
        "terseLabel": "Common stock, shares outstanding (in shares)"
       }
      }
     },
     "localname": "CommonStockSharesOutstanding",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/CONSOLIDATEDBALANCESHEETUNAUDITEDParenthetical"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_CommonStockValue": {
     "auth_ref": [
      "r4",
      "r637"
     ],
     "calculation": {
      "http://www.pwod.com/role/CONSOLIDATEDBALANCESHEETUNAUDITEDParenthetical": {
       "order": 6.0,
       "parentTag": "us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Aggregate par or stated value of issued nonredeemable common stock (or common stock redeemable solely at the option of the issuer). This item includes treasury stock repurchased by the entity. Note: elements for number of nonredeemable common shares, par value and other disclosure concepts are in another section within stockholders' equity.",
        "label": "Common Stock, Value, Issued",
        "verboseLabel": "Common stock, par value $5.55, 22,500,000 shares authorized; 7,570,086 and 7,566,810 shares issued; 7,059,861 and 7,056,585 outstanding"
       }
      }
     },
     "localname": "CommonStockValue",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/CONSOLIDATEDBALANCESHEETUNAUDITED"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ComprehensiveIncomeNetOfTax": {
     "auth_ref": [
      "r19",
      "r202",
      "r204",
      "r210",
      "r559",
      "r568"
     ],
     "calculation": {
      "http://www.pwod.com/role/CONSOLIDATEDSTATEMENTOFCOMPREHENSIVEINCOMELOSS": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount after tax of increase (decrease) in equity from transactions and other events and circumstances from net income and other comprehensive income, attributable to parent entity. Excludes changes in equity resulting from investments by owners and distributions to owners.",
        "label": "Comprehensive Income (Loss), Net of Tax, Attributable to Parent",
        "totalLabel": "Comprehensive income (loss)"
       }
      }
     },
     "localname": "ComprehensiveIncomeNetOfTax",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/CONSOLIDATEDSTATEMENTOFCOMPREHENSIVEINCOMELOSS"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ComprehensiveIncomeNetOfTaxAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Comprehensive Income (Loss), Net of Tax, Attributable to Parent [Abstract]",
        "terseLabel": "Comprehensive Income (Loss), Net of Tax, Attributable to Parent [Abstract]"
       }
      }
     },
     "localname": "ComprehensiveIncomeNetOfTaxAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "xbrltype": "stringItemType"
    },
    "us-gaap_ComprehensiveIncomeNoteTextBlock": {
     "auth_ref": [
      "r27",
      "r209",
      "r558",
      "r567"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure for comprehensive income, which includes, but is not limited to, 1) the amount of income tax expense or benefit allocated to each component of other comprehensive income, including reclassification adjustments, 2) the reclassification adjustments for each classification of other comprehensive income and 3) the ending accumulated balances for each component of comprehensive income.",
        "label": "Comprehensive Income (Loss) Note [Text Block]",
        "terseLabel": "Accumulated Other Comprehensive Loss"
       }
      }
     },
     "localname": "ComprehensiveIncomeNoteTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/AccumulatedOtherComprehensiveLoss"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ConcentrationRiskBenchmarkDomain": {
     "auth_ref": [
      "r55",
      "r56",
      "r127",
      "r128",
      "r276",
      "r593"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The denominator in a calculation of a disclosed concentration risk percentage.",
        "label": "Concentration Risk Benchmark [Domain]",
        "terseLabel": "Concentration Risk Benchmark [Domain]"
       }
      }
     },
     "localname": "ConcentrationRiskBenchmarkDomain",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/LoansScheduleofConcentrationRiskDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_ConcentrationRiskByBenchmarkAxis": {
     "auth_ref": [
      "r55",
      "r56",
      "r127",
      "r128",
      "r276",
      "r588",
      "r593"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by benchmark of concentration risk.",
        "label": "Concentration Risk Benchmark [Axis]",
        "terseLabel": "Concentration Risk Benchmark [Axis]"
       }
      }
     },
     "localname": "ConcentrationRiskByBenchmarkAxis",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/LoansScheduleofConcentrationRiskDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ConcentrationRiskByTypeAxis": {
     "auth_ref": [
      "r55",
      "r56",
      "r127",
      "r128",
      "r276",
      "r593",
      "r757"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by type of concentration risk, for example, but not limited to, asset, liability, net assets, geographic, customer, employees, supplier, lender.",
        "label": "Concentration Risk Type [Axis]",
        "terseLabel": "Concentration Risk Type [Axis]"
       }
      }
     },
     "localname": "ConcentrationRiskByTypeAxis",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/LoansScheduleofConcentrationRiskDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ConcentrationRiskLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "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.",
        "label": "Concentration Risk [Line Items]",
        "terseLabel": "Concentration Risk [Line Items]"
       }
      }
     },
     "localname": "ConcentrationRiskLineItems",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/LoansScheduleofConcentrationRiskDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ConcentrationRiskPercentage1": {
     "auth_ref": [
      "r55",
      "r56",
      "r127",
      "r128",
      "r276"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "For an entity that discloses a concentration risk in relation to quantitative amount, which serves as the \"benchmark\" (or denominator) in the equation, this concept represents the concentration percentage derived from the division.",
        "label": "Concentration Risk, Percentage",
        "terseLabel": "Concentration of loans (as a percent)"
       }
      }
     },
     "localname": "ConcentrationRiskPercentage1",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/LoansScheduleofConcentrationRiskDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_ConcentrationRiskTable": {
     "auth_ref": [
      "r53",
      "r55",
      "r56",
      "r57",
      "r127",
      "r129",
      "r593"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Describes the nature of a concentration, a benchmark to which it is compared, and the percentage that the risk is to the benchmark.",
        "label": "Concentration Risk [Table]",
        "terseLabel": "Concentration Risk [Table]"
       }
      }
     },
     "localname": "ConcentrationRiskTable",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/LoansScheduleofConcentrationRiskDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ConcentrationRiskTypeDomain": {
     "auth_ref": [
      "r55",
      "r56",
      "r127",
      "r128",
      "r276",
      "r593"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "For an entity that discloses a concentration risk as a percentage of some financial balance or benchmark, identifies the type (for example, asset, liability, net assets, geographic, customer, employees, supplier, lender) of the concentration.",
        "label": "Concentration Risk Type [Domain]",
        "terseLabel": "Concentration Risk Type [Domain]"
       }
      }
     },
     "localname": "ConcentrationRiskTypeDomain",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/LoansScheduleofConcentrationRiskDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_ConsolidationPolicyTextBlock": {
     "auth_ref": [
      "r115",
      "r606"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy regarding (1) the principles it follows in consolidating or combining the separate financial statements, including the principles followed in determining the inclusion or exclusion of subsidiaries or other entities in the consolidated or combined financial statements and (2) its treatment of interests (for example, common stock, a partnership interest or other means of exerting influence) in other entities, for example consolidation or use of the equity or cost methods of accounting. The accounting policy may also address the accounting treatment for intercompany accounts and transactions, noncontrolling interest, and the income statement treatment in consolidation for issuances of stock by a subsidiary.",
        "label": "Consolidation, Policy [Policy Text Block]",
        "terseLabel": "Basis of Presentation"
       }
      }
     },
     "localname": "ConsolidationPolicyTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/BasisofPresentationPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ConstructionLoansMember": {
     "auth_ref": [
      "r640"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "A borrowing arrangement which provides the entity constructing a facility (such as a building and a landfill) with funds to effect construction, generally on a draw down, or as needed, basis.",
        "label": "Construction Loans [Member]",
        "terseLabel": "Construction",
        "verboseLabel": "Construction"
       }
      }
     },
     "localname": "ConstructionLoansMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/BasisofPresentationSummaryofImpactofCECLDetails",
      "http://www.pwod.com/role/LoansAgingCategoriesofLoansbySegmentDetails",
      "http://www.pwod.com/role/LoansAllowanceforCreditLossesonFinancingReceivablesDetails",
      "http://www.pwod.com/role/LoansAllowanceforLoanLossesDetails",
      "http://www.pwod.com/role/LoansAverageRecordedInvestmentImpairedLoansDetails",
      "http://www.pwod.com/role/LoansCreditQualityIndicatorsDetails",
      "http://www.pwod.com/role/LoansNonaccrualLoansDetails",
      "http://www.pwod.com/role/LoansRecordedInvestmentUnpaidPrincipalBalanceRelatedAllowanceofImpairedLoansDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_CustomerConcentrationRiskMember": {
     "auth_ref": [
      "r54",
      "r276"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Reflects the percentage that revenues in the period from one or more significant customers is to net revenues, as defined by the entity, such as total net revenues, product line revenues, segment revenues. The risk is the materially adverse effects of loss of a significant customer.",
        "label": "Customer Concentration Risk [Member]",
        "terseLabel": "Owners of rental properties"
       }
      }
     },
     "localname": "CustomerConcentrationRiskMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/LoansScheduleofConcentrationRiskDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_DebitCardMember": {
     "auth_ref": [
      "r698"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Card issued to user to facilitate payment for purchase of product and service, directly from user's checking account.",
        "label": "Debit Card [Member]",
        "terseLabel": "Debit card income"
       }
      }
     },
     "localname": "DebitCardMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/CONSOLIDATEDSTATEMENTOFINCOMEUNAUDITED"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPosition12MonthsOrLonger": {
     "auth_ref": [
      "r301",
      "r334",
      "r620"
     ],
     "calculation": {
      "http://www.pwod.com/role/InvestmentSecuritiesGrossUnrealizedLossesandFairValuebyInvestmentCategoryDetails": {
       "order": 2.0,
       "parentTag": "us-gaap_DebtSecuritiesAvailableForSaleUnrealizedLossPosition",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale), in continuous unrealized loss position for more than 12 months, without allowance for credit loss. Includes beneficial interest in securitized financial asset.",
        "label": "Debt Securities, Available-for-Sale, Continuous Unrealized Loss Position, 12 Months or Longer",
        "terseLabel": "Fair value, twelve months or greater"
       }
      }
     },
     "localname": "DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPosition12MonthsOrLonger",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/InvestmentSecuritiesGrossUnrealizedLossesandFairValuebyInvestmentCategoryDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPosition12MonthsOrLongerAccumulatedLoss": {
     "auth_ref": [
      "r301",
      "r334"
     ],
     "calculation": {
      "http://www.pwod.com/role/InvestmentSecuritiesGrossUnrealizedLossesandFairValuebyInvestmentCategoryDetails": {
       "order": 2.0,
       "parentTag": "us-gaap_DebtSecuritiesAvailableForSaleUnrealizedLossPositionAccumulatedLoss",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of accumulated unrealized loss on investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale), in continuous unrealized loss position for 12 months or longer, without allowance for credit loss. Includes beneficial interest in securitized financial asset.",
        "label": "Debt Securities, Available-for-Sale, Continuous Unrealized Loss Position, 12 Months or Longer, Accumulated Loss",
        "negatedLabel": "Gross unrealized losses, twelve months or greater"
       }
      }
     },
     "localname": "DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPosition12MonthsOrLongerAccumulatedLoss",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/InvestmentSecuritiesGrossUnrealizedLossesandFairValuebyInvestmentCategoryDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPosition12MonthsOrLongerNumberOfPositions": {
     "auth_ref": [
      "r686"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Number of investments in debt securities measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale), in continuous unrealized loss position for 12 months or longer, without an allowance for credit loss. Includes beneficial interest in securitized financial asset.",
        "label": "Debt Securities, Available-for-Sale, Continuous Unrealized Loss Position, 12 Months or Longer, Number of Positions",
        "terseLabel": "Number of individual securities that were in a continuous unrealized loss position for greater than twelve months (in securities)"
       }
      }
     },
     "localname": "DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPosition12MonthsOrLongerNumberOfPositions",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/InvestmentSecuritiesNarrativeDetails"
     ],
     "xbrltype": "integerItemType"
    },
    "us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPositionLessThan12Months": {
     "auth_ref": [
      "r301",
      "r334",
      "r620"
     ],
     "calculation": {
      "http://www.pwod.com/role/InvestmentSecuritiesGrossUnrealizedLossesandFairValuebyInvestmentCategoryDetails": {
       "order": 1.0,
       "parentTag": "us-gaap_DebtSecuritiesAvailableForSaleUnrealizedLossPosition",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale), in continuous unrealized loss position for less than 12 months, without allowance for credit loss. Includes beneficial interest in securitized financial asset.",
        "label": "Debt Securities, Available-for-Sale, Continuous Unrealized Loss Position, Less than 12 Months",
        "terseLabel": "Fair value, less than twelve months"
       }
      }
     },
     "localname": "DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPositionLessThan12Months",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/InvestmentSecuritiesGrossUnrealizedLossesandFairValuebyInvestmentCategoryDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPositionLessThan12MonthsAccumulatedLoss": {
     "auth_ref": [
      "r301",
      "r334"
     ],
     "calculation": {
      "http://www.pwod.com/role/InvestmentSecuritiesGrossUnrealizedLossesandFairValuebyInvestmentCategoryDetails": {
       "order": 1.0,
       "parentTag": "us-gaap_DebtSecuritiesAvailableForSaleUnrealizedLossPositionAccumulatedLoss",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of accumulated unrealized loss on investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale), in continuous unrealized loss position for less than 12 months, without allowance for credit loss. Includes beneficial interest in securitized financial asset.",
        "label": "Debt Securities, Available-for-Sale, Continuous Unrealized Loss Position, Less than 12 Months, Accumulated Loss",
        "negatedLabel": "Gross unrealized losses, less than twelve months"
       }
      }
     },
     "localname": "DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPositionLessThan12MonthsAccumulatedLoss",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/InvestmentSecuritiesGrossUnrealizedLossesandFairValuebyInvestmentCategoryDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPositionLessThan12MonthsNumberOfPositions": {
     "auth_ref": [
      "r686"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Number of investments in debt securities measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale), in continuous unrealized loss position for less than 12 months, without an allowance for credit loss. Includes beneficial interest in securitized financial asset.",
        "label": "Debt Securities, Available-for-Sale, Continuous Unrealized Loss Position, Less than 12 Months, Number of Positions",
        "terseLabel": "Number of individual securities that were in a continuous unrealized loss position for less than twelve months (in securities)"
       }
      }
     },
     "localname": "DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPositionLessThan12MonthsNumberOfPositions",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/InvestmentSecuritiesNarrativeDetails"
     ],
     "xbrltype": "integerItemType"
    },
    "us-gaap_DebtSecuritiesAvailableForSaleGainLoss": {
     "auth_ref": [],
     "calculation": {
      "http://www.pwod.com/role/CONSOLIDATEDSTATEMENTOFCASHFLOWSUNAUDITED": {
       "order": 4.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of unrealized and realized gain (loss) on investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale).",
        "label": "Debt Securities, Available-for-Sale, Gain (Loss)",
        "negatedLabel": "Net securities losses, available for sale"
       }
      }
     },
     "localname": "DebtSecuritiesAvailableForSaleGainLoss",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/CONSOLIDATEDSTATEMENTOFCASHFLOWSUNAUDITED"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DebtSecuritiesAvailableForSaleRealizedGain": {
     "auth_ref": [
      "r302"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "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).",
        "label": "Debt Securities, Available-for-Sale, Realized Gain",
        "terseLabel": "Available-for-sale securities, gross realized gains"
       }
      }
     },
     "localname": "DebtSecuritiesAvailableForSaleRealizedGain",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/InvestmentSecuritiesTotalGrossProceedsfromSalesofSecuritiesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DebtSecuritiesAvailableForSaleRealizedGainLoss": {
     "auth_ref": [
      "r674"
     ],
     "calculation": {
      "http://www.pwod.com/role/CONSOLIDATEDSTATEMENTOFINCOMEUNAUDITED": {
       "order": 3.0,
       "parentTag": "us-gaap_NoninterestIncome",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of realized gain (loss) on investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale).",
        "label": "Debt Securities, Available-for-Sale, Realized Gain (Loss)",
        "terseLabel": "Net debt securities losses, available for sale",
        "verboseLabel": "Net unrealized (loss) gain on available for sale securities"
       }
      }
     },
     "localname": "DebtSecuritiesAvailableForSaleRealizedGainLoss",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/AccumulatedOtherComprehensiveLossScheduleofReclassificationsoutofAOCIDetails",
      "http://www.pwod.com/role/CONSOLIDATEDSTATEMENTOFINCOMEUNAUDITED"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DebtSecuritiesAvailableForSaleRealizedLoss": {
     "auth_ref": [
      "r302"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "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).",
        "label": "Debt Securities, Available-for-Sale, Realized Loss",
        "negatedTerseLabel": "Available-for-sale securities, gross realized losses"
       }
      }
     },
     "localname": "DebtSecuritiesAvailableForSaleRealizedLoss",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/InvestmentSecuritiesTotalGrossProceedsfromSalesofSecuritiesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DebtSecuritiesAvailableForSaleRestricted": {
     "auth_ref": [
      "r533",
      "r591",
      "r592"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of restricted investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale).",
        "label": "Debt Securities, Available-for-Sale, Restricted",
        "terseLabel": "Carrying value of investment securities pledged"
       }
      }
     },
     "localname": "DebtSecuritiesAvailableForSaleRestricted",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/InvestmentSecuritiesNarrativeDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DebtSecuritiesAvailableForSaleUnrealizedLossPosition": {
     "auth_ref": [
      "r299",
      "r331",
      "r620"
     ],
     "calculation": {
      "http://www.pwod.com/role/InvestmentSecuritiesGrossUnrealizedLossesandFairValuebyInvestmentCategoryDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale), in unrealized loss position without allowance for credit loss.",
        "label": "Debt Securities, Available-for-Sale, Unrealized Loss Position",
        "totalLabel": "Fair value, total"
       }
      }
     },
     "localname": "DebtSecuritiesAvailableForSaleUnrealizedLossPosition",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/InvestmentSecuritiesGrossUnrealizedLossesandFairValuebyInvestmentCategoryDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DebtSecuritiesAvailableForSaleUnrealizedLossPositionAccumulatedLoss": {
     "auth_ref": [
      "r300",
      "r332"
     ],
     "calculation": {
      "http://www.pwod.com/role/InvestmentSecuritiesGrossUnrealizedLossesandFairValuebyInvestmentCategoryDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of accumulated unrealized loss on investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale), in unrealized loss position, without allowance for credit loss. Includes beneficial interest in securitized financial asset.",
        "label": "Debt Securities, Available-for-Sale, Unrealized Loss Position, Accumulated Loss",
        "negatedTotalLabel": "Gross unrealized losses, total"
       }
      }
     },
     "localname": "DebtSecuritiesAvailableForSaleUnrealizedLossPositionAccumulatedLoss",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/InvestmentSecuritiesGrossUnrealizedLossesandFairValuebyInvestmentCategoryDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DebtSecuritiesAvailableForSaleUnrealizedLossPositionFairValueTableTextBlock": {
     "auth_ref": [
      "r298",
      "r620",
      "r687"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of fair value of investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale), in unrealized loss position, without allowance for credit loss. Includes beneficial interest in securitized financial asset.",
        "label": "Debt Securities, Available-for-Sale, Unrealized Loss Position, Fair Value [Table Text Block]",
        "terseLabel": "Schedule of gross unrealized losses and fair value"
       }
      }
     },
     "localname": "DebtSecuritiesAvailableForSaleUnrealizedLossPositionFairValueTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/InvestmentSecuritiesTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_DebtSecuritiesMember": {
     "auth_ref": [
      "r88"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Debt instrument issued by corporations, governments and governmental agencies, municipalities, and other institutions.",
        "label": "Debt Securities [Member]",
        "terseLabel": "Total debt securities"
       }
      }
     },
     "localname": "DebtSecuritiesMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/InvestmentSecuritiesAmortizedCostandFairValuesofInvestmentSecuritiesAvailableforSaleDetails",
      "http://www.pwod.com/role/InvestmentSecuritiesGrossUnrealizedLossesandFairValuebyInvestmentCategoryDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_DeferredIncomeTaxAssetsNet": {
     "auth_ref": [
      "r430",
      "r431"
     ],
     "calculation": {
      "http://www.pwod.com/role/CONSOLIDATEDBALANCESHEETUNAUDITED": {
       "order": 9.0,
       "parentTag": "us-gaap_Assets",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount, after allocation of valuation allowances and deferred tax liability, of deferred tax asset attributable to deductible differences and carryforwards, with jurisdictional netting.",
        "label": "Deferred Income Tax Assets, Net",
        "terseLabel": "Deferred tax asset"
       }
      }
     },
     "localname": "DeferredIncomeTaxAssetsNet",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/BasisofPresentationNarrativeDetails",
      "http://www.pwod.com/role/CONSOLIDATEDBALANCESHEETUNAUDITED"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DefinedBenefitPlanAmortizationOfGainsLosses": {
     "auth_ref": [
      "r360",
      "r374",
      "r384",
      "r629",
      "r630"
     ],
     "calculation": {
      "http://www.pwod.com/role/NetPeriodicBenefitCostDefinedBenefitPlansDetails": {
       "order": 3.0,
       "parentTag": "us-gaap_DefinedBenefitPlanNetPeriodicBenefitCost",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of gain (loss) recognized in net periodic benefit (cost) credit of defined benefit plan.",
        "label": "Defined Benefit Plan, Amortization of Gain (Loss)",
        "negatedLabel": "Amortization of net loss"
       }
      }
     },
     "localname": "DefinedBenefitPlanAmortizationOfGainsLosses",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/NetPeriodicBenefitCostDefinedBenefitPlansDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DefinedBenefitPlanContributionsByEmployer": {
     "auth_ref": [
      "r362",
      "r365",
      "r385",
      "r627",
      "r628",
      "r629",
      "r630"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of contribution received by defined benefit plan from employer which increases plan assets.",
        "label": "Defined Benefit Plan, Plan Assets, Contributions by Employer",
        "terseLabel": "Employer contributions made to the defined benefit plan"
       }
      }
     },
     "localname": "DefinedBenefitPlanContributionsByEmployer",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/NetPeriodicBenefitCostDefinedBenefitPlansDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DefinedBenefitPlanExpectedReturnOnPlanAssets": {
     "auth_ref": [
      "r360",
      "r373",
      "r383",
      "r629",
      "r630"
     ],
     "calculation": {
      "http://www.pwod.com/role/NetPeriodicBenefitCostDefinedBenefitPlansDetails": {
       "order": 2.0,
       "parentTag": "us-gaap_DefinedBenefitPlanNetPeriodicBenefitCost",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of expected return (loss) recognized in net periodic benefit (cost) credit, calculated based on expected long-term rate of return and market-related value of plan assets of defined benefit plan.",
        "label": "Defined Benefit Plan, Expected Return (Loss) on Plan Assets",
        "negatedLabel": "Expected return on plan assets"
       }
      }
     },
     "localname": "DefinedBenefitPlanExpectedReturnOnPlanAssets",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/NetPeriodicBenefitCostDefinedBenefitPlansDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DefinedBenefitPlanInterestCost": {
     "auth_ref": [
      "r360",
      "r361",
      "r372",
      "r382",
      "r629",
      "r630"
     ],
     "calculation": {
      "http://www.pwod.com/role/NetPeriodicBenefitCostDefinedBenefitPlansDetails": {
       "order": 1.0,
       "parentTag": "us-gaap_DefinedBenefitPlanNetPeriodicBenefitCost",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of cost recognized for passage of time related to defined benefit plan.",
        "label": "Defined Benefit Plan, Interest Cost",
        "terseLabel": "Interest cost"
       }
      }
     },
     "localname": "DefinedBenefitPlanInterestCost",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/NetPeriodicBenefitCostDefinedBenefitPlansDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DefinedBenefitPlanNetPeriodicBenefitCost": {
     "auth_ref": [
      "r371",
      "r381",
      "r629",
      "r630"
     ],
     "calculation": {
      "http://www.pwod.com/role/NetPeriodicBenefitCostDefinedBenefitPlansDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of net periodic benefit cost (credit) for defined benefit plan.",
        "label": "Defined Benefit Plan, Net Periodic Benefit Cost (Credit)",
        "totalLabel": "Net periodic benefit"
       }
      }
     },
     "localname": "DefinedBenefitPlanNetPeriodicBenefitCost",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/NetPeriodicBenefitCostDefinedBenefitPlansDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DefinedBenefitPlanNetPeriodicBenefitCostAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Defined Benefit Plan, Net Periodic Benefit Cost (Credit) [Abstract]",
        "terseLabel": "Net periodic benefit cost of the domestic non-contributory defined benefit plan"
       }
      }
     },
     "localname": "DefinedBenefitPlanNetPeriodicBenefitCostAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/NetPeriodicBenefitCostDefinedBenefitPlansDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_DepositAccountMember": {
     "auth_ref": [
      "r698"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Bank account at depository institution allowing money to be withdrawn or deposited by account holder.",
        "label": "Deposit Account [Member]",
        "terseLabel": "Service charges"
       }
      }
     },
     "localname": "DepositAccountMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/CONSOLIDATEDSTATEMENTOFINCOMEUNAUDITED"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_DepositsDomestic": {
     "auth_ref": [
      "r141"
     ],
     "calculation": {
      "http://www.pwod.com/role/CONSOLIDATEDBALANCESHEETUNAUDITED": {
       "order": 6.0,
       "parentTag": "us-gaap_Liabilities",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The aggregate of all domestic interest-bearing and noninterest-bearing deposit liabilities.",
        "label": "Deposits, Domestic",
        "totalLabel": "Total deposits"
       }
      }
     },
     "localname": "DepositsDomestic",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/CONSOLIDATEDBALANCESHEETUNAUDITED"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DisclosureOfCompensationRelatedCostsShareBasedPaymentsTextBlock": {
     "auth_ref": [
      "r394",
      "r422",
      "r423",
      "r425",
      "r429",
      "r632"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure for share-based payment arrangement.",
        "label": "Share-Based Payment Arrangement [Text Block]",
        "terseLabel": "Stock Purchase Plans"
       }
      }
     },
     "localname": "DisclosureOfCompensationRelatedCostsShareBasedPaymentsTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/StockPurchasePlans"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_DisclosureOfCompensationRelatedCostsSharebasedPaymentsAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Share-Based Payment Arrangement [Abstract]",
        "terseLabel": "Employee Stock Purchase Plan"
       }
      }
     },
     "localname": "DisclosureOfCompensationRelatedCostsSharebasedPaymentsAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "xbrltype": "stringItemType"
    },
    "us-gaap_DisclosureOfReclassificationAmountTextBlock": {
     "auth_ref": [
      "r27"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure for any adjustments made during the period to avoid double counting in comprehensive income items displayed as part of net income that also had been displayed as part of other comprehensive income in that period or earlier periods. These adjustments include reclassifications to net income of items in accumulated comprehensive income, such as deferred gains or losses on qualifying hedges when hedged item reported in net income, holding gains or losses on available-for-sale securities transferred into trading category, unrealized holding gains or losses on debt securities transferred from held-to-maturity category into available-for-sale category and accumulated translation adjustment attributable to foreign subsidiary or investment in foreign entity upon sale or liquidation.",
        "label": "Disclosure of Reclassification Amount [Text Block]",
        "terseLabel": "Reclassification of Comparative Amounts"
       }
      }
     },
     "localname": "DisclosureOfReclassificationAmountTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/ReclassificationofComparativeAmounts"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_DividendsCommonStockCash": {
     "auth_ref": [
      "r97"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of paid and unpaid common stock dividends declared with the form of settlement in cash.",
        "label": "Dividends, Common Stock, Cash",
        "negatedLabel": "Dividends declared"
       }
      }
     },
     "localname": "DividendsCommonStockCash",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/CONSOLIDATEDSTATEMENTOFCHANGESINSHAREHOLDERSEQUITYUNAUDITED"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_EarningsPerShareAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Earnings Per Share [Abstract]",
        "terseLabel": "Earnings Per Share [Abstract]"
       }
      }
     },
     "localname": "EarningsPerShareAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "xbrltype": "stringItemType"
    },
    "us-gaap_EarningsPerShareBasic": {
     "auth_ref": [
      "r211",
      "r232",
      "r233",
      "r234",
      "r235",
      "r236",
      "r243",
      "r245",
      "r252",
      "r253",
      "r254",
      "r258",
      "r462",
      "r463",
      "r560",
      "r569",
      "r607"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of net income (loss) for the period per each share of common stock or unit outstanding during the reporting period.",
        "label": "Earnings Per Share, Basic",
        "terseLabel": "Earnings per share - basic (in dollars per share)"
       }
      }
     },
     "localname": "EarningsPerShareBasic",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/CONSOLIDATEDSTATEMENTOFINCOMEUNAUDITED"
     ],
     "xbrltype": "perShareItemType"
    },
    "us-gaap_EarningsPerShareDiluted": {
     "auth_ref": [
      "r211",
      "r232",
      "r233",
      "r234",
      "r235",
      "r236",
      "r245",
      "r252",
      "r253",
      "r254",
      "r258",
      "r462",
      "r463",
      "r560",
      "r569",
      "r607"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of net income (loss) for the period available to each share of common stock or common unit outstanding during the reporting period and to each share or unit that would have been outstanding assuming the issuance of common shares or units for all dilutive potential common shares or units outstanding during the reporting period.",
        "label": "Earnings Per Share, Diluted",
        "terseLabel": "Earnings per share - diluted (in dollars per share)"
       }
      }
     },
     "localname": "EarningsPerShareDiluted",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/CONSOLIDATEDSTATEMENTOFINCOMEUNAUDITED"
     ],
     "xbrltype": "perShareItemType"
    },
    "us-gaap_EarningsPerShareTextBlock": {
     "auth_ref": [
      "r255",
      "r256",
      "r257",
      "r259"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure for earnings per share.",
        "label": "Earnings Per Share [Text Block]",
        "terseLabel": "Per Share Data"
       }
      }
     },
     "localname": "EarningsPerShareTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/PerShareData"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognized": {
     "auth_ref": [
      "r424"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of cost not yet recognized for nonvested award under share-based payment arrangement.",
        "label": "Share-Based Payment Arrangement, Nonvested Award, Cost Not yet Recognized, Amount",
        "terseLabel": "Unrecognized compensation cost for non-vested shares"
       }
      }
     },
     "localname": "EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognized",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/StockOptionsNarrativeDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1": {
     "auth_ref": [
      "r424"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Weighted-average period over which cost not yet recognized is expected to be recognized for award under share-based payment arrangement, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents reported fact of one year, five months, and thirteen days.",
        "label": "Share-Based Payment Arrangement, Nonvested Award, Cost Not yet Recognized, Period for Recognition",
        "terseLabel": "Period for recognition (in years)"
       }
      }
     },
     "localname": "EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/StockOptionsNarrativeDetails"
     ],
     "xbrltype": "durationItemType"
    },
    "us-gaap_EmployeeStockMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "An Employee Stock Purchase Plan is a tax-efficient means by which employees of a corporation can purchase the corporation's stock.",
        "label": "Employee Stock [Member]",
        "terseLabel": "Employee Stock"
       }
      }
     },
     "localname": "EmployeeStockMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/StockPurchasePlansDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_EmployeeStockOptionMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Share-based payment arrangement granting right, subject to vesting and other restrictions, to purchase or sell certain number of shares at predetermined price for specified period of time.",
        "label": "Share-Based Payment Arrangement, Option [Member]",
        "terseLabel": "Employee Stock Option"
       }
      }
     },
     "localname": "EmployeeStockOptionMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/StockOptionsNarrativeDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_EquipmentExpense": {
     "auth_ref": [],
     "calculation": {
      "http://www.pwod.com/role/CONSOLIDATEDSTATEMENTOFINCOMEUNAUDITED": {
       "order": 3.0,
       "parentTag": "us-gaap_NoninterestExpense",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This element represents equipment expense including depreciation, repairs, rentals, and service contract costs. This item also includes equipment purchases which do not qualify for capitalization in accordance with the entity's accounting policy. This item may also include furniture expenses.",
        "label": "Equipment Expense",
        "terseLabel": "Furniture and equipment"
       }
      }
     },
     "localname": "EquipmentExpense",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/CONSOLIDATEDSTATEMENTOFINCOMEUNAUDITED"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_EquityComponentDomain": {
     "auth_ref": [
      "r96",
      "r184",
      "r205",
      "r206",
      "r207",
      "r222",
      "r223",
      "r224",
      "r229",
      "r237",
      "r239",
      "r260",
      "r308",
      "r357",
      "r426",
      "r427",
      "r428",
      "r433",
      "r434",
      "r461",
      "r492",
      "r493",
      "r494",
      "r495",
      "r496",
      "r498",
      "r517",
      "r578",
      "r579",
      "r580"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Components of equity are the parts of the total Equity balance including that which is allocated to common, preferred, treasury stock, retained earnings, etc.",
        "label": "Equity Component [Domain]",
        "terseLabel": "Equity Component [Domain]"
       }
      }
     },
     "localname": "EquityComponentDomain",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/AccumulatedOtherComprehensiveLossScheduleofAOCIDetails",
      "http://www.pwod.com/role/AccumulatedOtherComprehensiveLossScheduleofReclassificationsoutofAOCIDetails",
      "http://www.pwod.com/role/BasisofPresentationNarrativeDetails",
      "http://www.pwod.com/role/CONSOLIDATEDSTATEMENTOFCHANGESINSHAREHOLDERSEQUITYUNAUDITED"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_EquitySecuritiesFvNi": {
     "auth_ref": [
      "r193",
      "r477",
      "r604"
     ],
     "calculation": {
      "http://www.pwod.com/role/CONSOLIDATEDBALANCESHEETUNAUDITED": {
       "order": 8.0,
       "parentTag": "us-gaap_Assets",
       "weight": 1.0
      },
      "http://www.pwod.com/role/InvestmentSecuritiesAmortizedCostandFairValuesofInvestmentSecuritiesAvailableforSaleDetails": {
       "order": 3.0,
       "parentTag": "us-gaap_EquitySecuritiesFvNiCost",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of investment in equity security measured at fair value with change in fair value recognized in net income (FV-NI), classified as current.",
        "label": "Equity Securities, FV-NI, Current",
        "terseLabel": "Investment equity securities, at fair value",
        "verboseLabel": "Fair value"
       }
      }
     },
     "localname": "EquitySecuritiesFvNi",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/CONSOLIDATEDBALANCESHEETUNAUDITED",
      "http://www.pwod.com/role/InvestmentSecuritiesAmortizedCostandFairValuesofInvestmentSecuritiesAvailableforSaleDetails",
      "http://www.pwod.com/role/InvestmentSecuritiesNarrativeDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_EquitySecuritiesFvNiCost": {
     "auth_ref": [],
     "calculation": {
      "http://www.pwod.com/role/InvestmentSecuritiesAmortizedCostandFairValuesofInvestmentSecuritiesAvailableforSaleDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Cost of investment in equity security measured at fair value with change in fair value recognized in net income (FV-NI). Excludes equity method investment and investment in equity security without readily determinable fair value.",
        "label": "Equity Securities, FV-NI, Cost",
        "totalLabel": "Amortized\u00a0Cost"
       }
      }
     },
     "localname": "EquitySecuritiesFvNiCost",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/InvestmentSecuritiesAmortizedCostandFairValuesofInvestmentSecuritiesAvailableforSaleDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_EquitySecuritiesFvNiGainLoss": {
     "auth_ref": [
      "r678"
     ],
     "calculation": {
      "http://www.pwod.com/role/CONSOLIDATEDSTATEMENTOFCASHFLOWSUNAUDITED": {
       "order": 6.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": -1.0
      },
      "http://www.pwod.com/role/CONSOLIDATEDSTATEMENTOFINCOMEUNAUDITED": {
       "order": 2.0,
       "parentTag": "us-gaap_NoninterestIncome",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of unrealized and realized gain (loss) on investment in equity security measured at fair value with change in fair value recognized in net income (FV-NI).",
        "label": "Equity Securities, FV-NI, Gain (Loss)",
        "negatedLabel": "Net equity securities (gains) losses",
        "terseLabel": "Net equity securities gains (losses)"
       }
      }
     },
     "localname": "EquitySecuritiesFvNiGainLoss",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/CONSOLIDATEDSTATEMENTOFCASHFLOWSUNAUDITED",
      "http://www.pwod.com/role/CONSOLIDATEDSTATEMENTOFINCOMEUNAUDITED"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_EquitySecuritiesFvNiGainLossAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Equity Securities, FV-NI, Gain (Loss) [Abstract]",
        "terseLabel": "Investment equity securities:",
        "verboseLabel": "Equity Securities, FV-NI, Gain (Loss) [Abstract]"
       }
      }
     },
     "localname": "EquitySecuritiesFvNiGainLossAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/InvestmentSecuritiesAmortizedCostandFairValuesofInvestmentSecuritiesAvailableforSaleDetails",
      "http://www.pwod.com/role/InvestmentSecuritiesUnrealizedandRealizedGainsandLossesRecognizedinNetIncomeDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_EquitySecuritiesFvNiRealizedGainLoss": {
     "auth_ref": [
      "r570",
      "r678"
     ],
     "calculation": {
      "http://www.pwod.com/role/InvestmentSecuritiesUnrealizedandRealizedGainsandLossesRecognizedinNetIncomeDetails": {
       "order": 1.0,
       "parentTag": "pwod_DebtTradingAndEquitySecuritiesGainLoss",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of realized gain (loss) from sale of investment in equity security measured at fair value with change in fair value recognized in net income (FV-NI).",
        "label": "Equity Securities, FV-NI, Realized Gain (Loss)",
        "verboseLabel": "Less: Net gains realized on the sale of equity securities during the period"
       }
      }
     },
     "localname": "EquitySecuritiesFvNiRealizedGainLoss",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/InvestmentSecuritiesUnrealizedandRealizedGainsandLossesRecognizedinNetIncomeDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_EquitySecuritiesFvNiUnrealizedGainLoss": {
     "auth_ref": [
      "r570",
      "r678"
     ],
     "calculation": {
      "http://www.pwod.com/role/InvestmentSecuritiesUnrealizedandRealizedGainsandLossesRecognizedinNetIncomeDetails": {
       "order": 2.0,
       "parentTag": "pwod_DebtTradingAndEquitySecuritiesGainLoss",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of unrealized gain (loss) on investment in equity security measured at fair value with change in fair value recognized in net income (FV-NI).",
        "label": "Equity Securities, FV-NI, Unrealized Gain (Loss)",
        "terseLabel": "Unrealized gains (losses) recognized in equity securities held at reporting date"
       }
      }
     },
     "localname": "EquitySecuritiesFvNiUnrealizedGainLoss",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/InvestmentSecuritiesUnrealizedandRealizedGainsandLossesRecognizedinNetIncomeDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_EstimateOfFairValueFairValueDisclosureMember": {
     "auth_ref": [
      "r353",
      "r479",
      "r623",
      "r624"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Measured as an estimate of fair value.",
        "label": "Estimate of Fair Value Measurement [Member]",
        "verboseLabel": "Fair Value"
       }
      }
     },
     "localname": "EstimateOfFairValueFairValueDisclosureMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/FairValueofFinancialInstrumentsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "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.",
        "label": "Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]",
        "terseLabel": "Fair Value Measurements [Abstract]"
       }
      }
     },
     "localname": "FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/FairValueMeasurementsNonRecurringAssetsDetails",
      "http://www.pwod.com/role/FairValueMeasurementsRecurringAssetsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable": {
     "auth_ref": [
      "r468",
      "r469",
      "r475"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of information about asset and liability measured at fair value on recurring and nonrecurring basis.",
        "label": "Fair Value, Recurring and Nonrecurring [Table]",
        "terseLabel": "Fair Value, Recurring and Nonrecurring [Table]"
       }
      }
     },
     "localname": "FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/FairValueMeasurementsNonRecurringAssetsDetails",
      "http://www.pwod.com/role/FairValueMeasurementsRecurringAssetsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisValuationTechniquesLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "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.",
        "label": "Fair Value Measurement Inputs and Valuation Techniques [Line Items]",
        "terseLabel": "Listing of significant unobservable inputs used in the fair value measurement process for items valued utilizing level III techniques"
       }
      }
     },
     "localname": "FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisValuationTechniquesLineItems",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/FairValueMeasurementsSignificantUnobservableInputsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisValuationTechniquesTable": {
     "auth_ref": [
      "r122"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of information about input and valuation technique used to measure fair value and change in valuation approach and technique for each separate class of asset and liability measured on recurring and nonrecurring basis.",
        "label": "Fair Value Measurement Inputs and Valuation Techniques [Table]",
        "terseLabel": "Fair Value Measurement Inputs and Valuation Techniques [Table]"
       }
      }
     },
     "localname": "FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisValuationTechniquesTable",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/FairValueMeasurementsSignificantUnobservableInputsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisValuationTechniquesTableTextBlock": {
     "auth_ref": [
      "r122"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of input and valuation technique used to measure fair value and change in valuation approach and technique for each separate class of asset and liability measured on recurring and nonrecurring basis.",
        "label": "Fair Value Measurement Inputs and Valuation Techniques [Table Text Block]",
        "terseLabel": "Schedule of listing of significant unobservable inputs used in the fair value measurement process for items valued utilizing level III techniques"
       }
      }
     },
     "localname": "FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisValuationTechniquesTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/FairValueMeasurementsTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_FairValueAssetsMeasuredOnNonrecurringBasisTextBlock": {
     "auth_ref": [
      "r120",
      "r121",
      "r122"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of assets and liabilities by class, including financial instruments measured at fair value that are classified in shareholders' equity, if any, that are measured at fair value on a nonrecurring basis in periods after initial recognition (for example, impaired assets). Disclosures may include, but are not limited to: (a) the fair value measurements recorded and the reasons for the measurements and (b) the level within the fair value hierarchy in which the fair value measurements are categorized in their entirety (levels 1, 2, 3).",
        "label": "Fair Value Measurements, Nonrecurring [Table Text Block]",
        "terseLabel": "Schedule of assets reported on the consolidated balance sheet at their fair value on a non-recurring basis"
       }
      }
     },
     "localname": "FairValueAssetsMeasuredOnNonrecurringBasisTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/FairValueMeasurementsTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_FairValueAssetsMeasuredOnRecurringBasisTextBlock": {
     "auth_ref": [
      "r120",
      "r121"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of assets, including [financial] instruments measured at fair value that are classified in stockholders' equity, if any, by class that are measured at fair value on a recurring basis. The disclosures contemplated herein include the fair value measurements at the reporting date by the level within the fair value hierarchy in which the fair value measurements in their entirety fall, segregating fair value measurements using quoted prices in active markets for identical assets (Level 1), significant other observable inputs (Level 2), and significant unobservable inputs (Level 3).",
        "label": "Fair Value, Assets Measured on Recurring Basis [Table Text Block]",
        "terseLabel": "Schedule of assets reported on the balance sheet at their fair value on a recurring basis"
       }
      }
     },
     "localname": "FairValueAssetsMeasuredOnRecurringBasisTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/FairValueMeasurementsTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_FairValueBalanceSheetGroupingFinancialStatementCaptionsLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "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.",
        "label": "Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items]",
        "terseLabel": "Estimated fair values of financial instruments"
       }
      }
     },
     "localname": "FairValueBalanceSheetGroupingFinancialStatementCaptionsLineItems",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/FairValueofFinancialInstrumentsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FairValueByBalanceSheetGroupingTable": {
     "auth_ref": [
      "r120",
      "r125",
      "r126"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of information about the fair value of financial instruments, including financial assets and financial liabilities, and the measurements of those instruments, assets, and liabilities.",
        "label": "Fair Value, by Balance Sheet Grouping [Table]",
        "terseLabel": "Fair Value, by Balance Sheet Grouping [Table]"
       }
      }
     },
     "localname": "FairValueByBalanceSheetGroupingTable",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/FairValueofFinancialInstrumentsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FairValueByBalanceSheetGroupingTextBlock": {
     "auth_ref": [
      "r120",
      "r125"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of the fair value of financial instruments, including financial assets and financial liabilities, and the measurements of those instruments, assets, and liabilities.",
        "label": "Fair Value, by Balance Sheet Grouping [Table Text Block]",
        "terseLabel": "Schedule of fair value of financial instruments"
       }
      }
     },
     "localname": "FairValueByBalanceSheetGroupingTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/FairValueofFinancialInstrumentsTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_FairValueByFairValueHierarchyLevelAxis": {
     "auth_ref": [
      "r353",
      "r365",
      "r366",
      "r367",
      "r368",
      "r369",
      "r370",
      "r469",
      "r522",
      "r523",
      "r524",
      "r623",
      "r624",
      "r627",
      "r628",
      "r629"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by level within fair value hierarchy and fair value measured at net asset value per share as practical expedient.",
        "label": "Fair Value Hierarchy and NAV [Axis]",
        "terseLabel": "Fair Value Hierarchy and NAV [Axis]"
       }
      }
     },
     "localname": "FairValueByFairValueHierarchyLevelAxis",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/FairValueMeasurementsNonRecurringAssetsDetails",
      "http://www.pwod.com/role/FairValueMeasurementsRecurringAssetsDetails",
      "http://www.pwod.com/role/FairValueMeasurementsSignificantUnobservableInputsDetails",
      "http://www.pwod.com/role/FairValueofFinancialInstrumentsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FairValueByMeasurementBasisAxis": {
     "auth_ref": [
      "r120",
      "r123",
      "r353",
      "r623",
      "r624"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by measurement basis.",
        "label": "Measurement Basis [Axis]",
        "terseLabel": "Measurement Basis [Axis]"
       }
      }
     },
     "localname": "FairValueByMeasurementBasisAxis",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/FairValueofFinancialInstrumentsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FairValueByMeasurementFrequencyAxis": {
     "auth_ref": [
      "r468",
      "r469",
      "r471",
      "r472",
      "r476"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by measurement frequency.",
        "label": "Measurement Frequency [Axis]",
        "terseLabel": "Measurement Frequency [Axis]"
       }
      }
     },
     "localname": "FairValueByMeasurementFrequencyAxis",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/FairValueMeasurementsNonRecurringAssetsDetails",
      "http://www.pwod.com/role/FairValueMeasurementsRecurringAssetsDetails",
      "http://www.pwod.com/role/FairValueMeasurementsSignificantUnobservableInputsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FairValueDisclosureItemAmountsDomain": {
     "auth_ref": [
      "r353",
      "r623",
      "r624"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Measurement basis, for example, but not limited to, reported value, fair value, portion at fair value, portion at other than fair value.",
        "label": "Fair Value Measurement [Domain]",
        "terseLabel": "Fair Value Measurement [Domain]"
       }
      }
     },
     "localname": "FairValueDisclosureItemAmountsDomain",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/FairValueofFinancialInstrumentsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_FairValueDisclosureOffbalanceSheetRisksFaceAmountLiability": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The face amount of financial liabilities, which are not recognized in the financial statements (off-balance sheet) because they fail to meet some other criterion for recognition.",
        "label": "Fair Value Disclosure, off-Balance-Sheet Risks, Face Amount, Liability",
        "terseLabel": "Contract amounts representing credit risk"
       }
      }
     },
     "localname": "FairValueDisclosureOffbalanceSheetRisksFaceAmountLiability",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/OffBalanceSheetRiskDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FairValueDisclosuresAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Fair Value Disclosures [Abstract]",
        "terseLabel": "Fair Value Disclosures [Abstract]"
       }
      }
     },
     "localname": "FairValueDisclosuresAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "xbrltype": "stringItemType"
    },
    "us-gaap_FairValueDisclosuresTextBlock": {
     "auth_ref": [
      "r474"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure for the fair value of financial instruments (as defined), including financial assets and financial liabilities (collectively, as defined), and the measurements of those instruments as well as disclosures related to the fair value of non-financial assets and liabilities. Such disclosures about the financial instruments, assets, and liabilities would include: (1) the fair value of the required items together with their carrying amounts (as appropriate); (2) for items for which it is not practicable to estimate fair value, disclosure would include: (a) information pertinent to estimating fair value (including, carrying amount, effective interest rate, and maturity, and (b) the reasons why it is not practicable to estimate fair value; (3) significant concentrations of credit risk including: (a) information about the activity, region, or economic characteristics identifying a concentration, (b) the maximum amount of loss the entity is exposed to based on the gross fair value of the related item, (c) policy for requiring collateral or other security and information as to accessing such collateral or security, and (d) the nature and brief description of such collateral or security; (4) quantitative information about market risks and how such risks are managed; (5) for items measured on both a recurring and nonrecurring basis information regarding the inputs used to develop the fair value measurement; and (6) for items presented in the financial statement for which fair value measurement is elected: (a) information necessary to understand the reasons for the election, (b) discussion of the effect of fair value changes on earnings, (c) a description of [similar groups] items for which the election is made and the relation thereof to the balance sheet, the aggregate carrying value of items included in the balance sheet that are not eligible for the election; (7) all other required (as defined) and desired information.",
        "label": "Fair Value Disclosures [Text Block]",
        "terseLabel": "Fair Value Measurements"
       }
      }
     },
     "localname": "FairValueDisclosuresTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/FairValueMeasurements"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_FairValueInputsLevel1Member": {
     "auth_ref": [
      "r353",
      "r365",
      "r370",
      "r469",
      "r522",
      "r627",
      "r628",
      "r629"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Quoted prices in active markets for identical assets or liabilities that the reporting entity can access at the measurement date.",
        "label": "Fair Value, Inputs, Level 1 [Member]",
        "terseLabel": "Level\u00a0I"
       }
      }
     },
     "localname": "FairValueInputsLevel1Member",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/FairValueMeasurementsNonRecurringAssetsDetails",
      "http://www.pwod.com/role/FairValueMeasurementsRecurringAssetsDetails",
      "http://www.pwod.com/role/FairValueofFinancialInstrumentsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_FairValueInputsLevel2Member": {
     "auth_ref": [
      "r353",
      "r365",
      "r370",
      "r469",
      "r523",
      "r623",
      "r624",
      "r627",
      "r628",
      "r629"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Inputs other than quoted prices included within level 1 that are observable for an asset or liability, either directly or indirectly, including, but not limited to, quoted prices for similar assets or liabilities in active markets, or quoted prices for identical or similar assets or liabilities in inactive markets.",
        "label": "Fair Value, Inputs, Level 2 [Member]",
        "terseLabel": "Level\u00a0II"
       }
      }
     },
     "localname": "FairValueInputsLevel2Member",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/FairValueMeasurementsNonRecurringAssetsDetails",
      "http://www.pwod.com/role/FairValueMeasurementsRecurringAssetsDetails",
      "http://www.pwod.com/role/FairValueofFinancialInstrumentsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_FairValueInputsLevel3Member": {
     "auth_ref": [
      "r353",
      "r365",
      "r366",
      "r367",
      "r368",
      "r369",
      "r370",
      "r469",
      "r524",
      "r623",
      "r624",
      "r627",
      "r628",
      "r629"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Unobservable inputs that reflect the entity's own assumption about the assumptions market participants would use in pricing.",
        "label": "Fair Value, Inputs, Level 3 [Member]",
        "terseLabel": "Level\u00a0III"
       }
      }
     },
     "localname": "FairValueInputsLevel3Member",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/FairValueMeasurementsNonRecurringAssetsDetails",
      "http://www.pwod.com/role/FairValueMeasurementsRecurringAssetsDetails",
      "http://www.pwod.com/role/FairValueMeasurementsSignificantUnobservableInputsDetails",
      "http://www.pwod.com/role/FairValueofFinancialInstrumentsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_FairValueMeasurementFrequencyDomain": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Measurement frequency.",
        "label": "Measurement Frequency [Domain]",
        "terseLabel": "Measurement Frequency [Domain]"
       }
      }
     },
     "localname": "FairValueMeasurementFrequencyDomain",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/FairValueMeasurementsNonRecurringAssetsDetails",
      "http://www.pwod.com/role/FairValueMeasurementsRecurringAssetsDetails",
      "http://www.pwod.com/role/FairValueMeasurementsSignificantUnobservableInputsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_FairValueMeasurementsFairValueHierarchyDomain": {
     "auth_ref": [
      "r353",
      "r365",
      "r366",
      "r367",
      "r368",
      "r369",
      "r370",
      "r522",
      "r523",
      "r524",
      "r623",
      "r624",
      "r627",
      "r628",
      "r629"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Categories used to prioritize the inputs to valuation techniques to measure fair value.",
        "label": "Fair Value Hierarchy and NAV [Domain]",
        "terseLabel": "Fair Value, Measurements, Fair Value Hierarchy [Domain]"
       }
      }
     },
     "localname": "FairValueMeasurementsFairValueHierarchyDomain",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/FairValueMeasurementsNonRecurringAssetsDetails",
      "http://www.pwod.com/role/FairValueMeasurementsRecurringAssetsDetails",
      "http://www.pwod.com/role/FairValueMeasurementsSignificantUnobservableInputsDetails",
      "http://www.pwod.com/role/FairValueofFinancialInstrumentsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_FairValueMeasurementsNonrecurringMember": {
     "auth_ref": [
      "r468",
      "r469",
      "r471",
      "r472",
      "r473",
      "r476"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Infrequent fair value measurement. Includes, but is not limited to, fair value adjustment for impairment of asset, liability or equity, not frequently measured at fair value.",
        "label": "Fair Value, Nonrecurring [Member]",
        "verboseLabel": "Nonrecurring"
       }
      }
     },
     "localname": "FairValueMeasurementsNonrecurringMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/FairValueMeasurementsNonRecurringAssetsDetails",
      "http://www.pwod.com/role/FairValueMeasurementsSignificantUnobservableInputsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_FairValueMeasurementsRecurringMember": {
     "auth_ref": [
      "r474",
      "r476"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Frequent fair value measurement. Includes, but is not limited to, fair value adjustment for impairment of asset, liability or equity, frequently measured at fair value.",
        "label": "Fair Value, Recurring [Member]",
        "terseLabel": "Recurring"
       }
      }
     },
     "localname": "FairValueMeasurementsRecurringMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/FairValueMeasurementsRecurringAssetsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_FairValueOffBalanceSheetRisksDisclosureInformationLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "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.",
        "label": "Fair Value, off-Balance-Sheet Risks, Disclosure Information [Line Items]",
        "terseLabel": "Off Balance Sheet Risk"
       }
      }
     },
     "localname": "FairValueOffBalanceSheetRisksDisclosureInformationLineItems",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/OffBalanceSheetRiskDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FederalDepositInsuranceCorporationPremiumExpense": {
     "auth_ref": [
      "r156"
     ],
     "calculation": {
      "http://www.pwod.com/role/CONSOLIDATEDSTATEMENTOFINCOMEUNAUDITED": {
       "order": 7.0,
       "parentTag": "us-gaap_NoninterestExpense",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of expense for Federal Deposit Insurance Corporation (FDIC) insurance.",
        "label": "Federal Deposit Insurance Corporation Premium Expense",
        "terseLabel": "Federal Deposit Insurance Corporation deposit insurance"
       }
      }
     },
     "localname": "FederalDepositInsuranceCorporationPremiumExpense",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/CONSOLIDATEDSTATEMENTOFINCOMEUNAUDITED"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FederalHomeLoanBankBorrowingsFairValueDisclosure": {
     "auth_ref": [
      "r142"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fair value portion of borrowing from Federal Home Loan Bank (FHLBank).",
        "label": "Federal Home Loan Bank Borrowings, Fair Value Disclosure",
        "terseLabel": "Long-term borrowings"
       }
      }
     },
     "localname": "FederalHomeLoanBankBorrowingsFairValueDisclosure",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/FairValueofFinancialInstrumentsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FederalReserveBankStock": {
     "auth_ref": [
      "r163"
     ],
     "calculation": {
      "http://www.pwod.com/role/CONSOLIDATEDBALANCESHEETUNAUDITED": {
       "order": 10.0,
       "parentTag": "us-gaap_Assets",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Federal Reserve Bank stock represents an equity interest in the Federal Reserve Bank. It does not have a readily determinable fair value because its ownership is restricted and it lacks a market (liquidity).",
        "label": "Federal Reserve Bank Stock",
        "terseLabel": "Restricted investment in bank stock"
       }
      }
     },
     "localname": "FederalReserveBankStock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/CONSOLIDATEDBALANCESHEETUNAUDITED"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FinanceLeasePrincipalPayments": {
     "auth_ref": [
      "r509",
      "r510"
     ],
     "calculation": {
      "http://www.pwod.com/role/CONSOLIDATEDSTATEMENTOFCASHFLOWSUNAUDITED": {
       "order": 5.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of cash outflow for principal payment on finance lease.",
        "label": "Finance Lease, Principal Payments",
        "negatedTerseLabel": "Finance lease principal payments"
       }
      }
     },
     "localname": "FinanceLeasePrincipalPayments",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/CONSOLIDATEDSTATEMENTOFCASHFLOWSUNAUDITED"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FinancialAssetNotPastDueMember": {
     "auth_ref": [
      "r319",
      "r619"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Financial asset not past due.",
        "label": "Financial Asset, Not Past Due [Member]",
        "terseLabel": "Current"
       }
      }
     },
     "localname": "FinancialAssetNotPastDueMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/LoansAgingCategoriesofLoansbySegmentDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_FinancialInstrumentAxis": {
     "auth_ref": [
      "r295",
      "r297",
      "r314",
      "r318",
      "r319",
      "r324",
      "r327",
      "r333",
      "r335",
      "r336",
      "r354",
      "r356",
      "r451",
      "r519",
      "r520",
      "r521",
      "r522",
      "r523",
      "r524",
      "r525",
      "r526",
      "r527",
      "r528",
      "r529",
      "r530",
      "r531",
      "r532",
      "r534",
      "r535",
      "r536",
      "r537",
      "r538",
      "r539",
      "r540",
      "r541",
      "r542",
      "r543",
      "r544",
      "r545",
      "r546",
      "r547",
      "r548",
      "r549",
      "r620",
      "r675",
      "r676",
      "r677",
      "r759",
      "r760",
      "r761",
      "r762",
      "r763",
      "r764",
      "r765"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by type of financial instrument.",
        "label": "Financial Instrument [Axis]",
        "terseLabel": "Financial Instrument [Axis]"
       }
      }
     },
     "localname": "FinancialInstrumentAxis",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/FairValueMeasurementsNonRecurringAssetsDetails",
      "http://www.pwod.com/role/FairValueMeasurementsRecurringAssetsDetails",
      "http://www.pwod.com/role/InvestmentSecuritiesAmortizedCostandFairValuesofInvestmentSecuritiesAvailableforSaleDetails",
      "http://www.pwod.com/role/InvestmentSecuritiesGrossUnrealizedLossesandFairValuebyInvestmentCategoryDetails",
      "http://www.pwod.com/role/InvestmentSecuritiesTotalGrossProceedsfromSalesofSecuritiesDetails",
      "http://www.pwod.com/role/OffBalanceSheetRiskDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FinancialInstrumentsDisclosureTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure for financial instruments. This disclosure includes, but is not limited to, fair value measurements of short and long term marketable securities, international currencies forward contracts, and auction rate securities. Financial instruments may include hedging and non-hedging currency exchange instruments, derivatives, securitizations and securities available for sale at fair value. Also included are investment results, realized and unrealized gains and losses as well as impairments and risk management disclosures.",
        "label": "Financial Instruments Disclosure [Text Block]",
        "terseLabel": "Fair Value of Financial Instruments"
       }
      }
     },
     "localname": "FinancialInstrumentsDisclosureTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/FairValueofFinancialInstruments"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_FinancialInstrumentsFinancialAssetsBalanceSheetGroupingsAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Financial Instruments, Financial Assets, Balance Sheet Groupings [Abstract]",
        "terseLabel": "Financial assets:"
       }
      }
     },
     "localname": "FinancialInstrumentsFinancialAssetsBalanceSheetGroupingsAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/FairValueofFinancialInstrumentsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FinancialInstrumentsFinancialLiabilitiesBalanceSheetGroupingsAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Financial Instruments, Financial Liabilities, Balance Sheet Groupings [Abstract]",
        "terseLabel": "Financial liabilities:"
       }
      }
     },
     "localname": "FinancialInstrumentsFinancialLiabilitiesBalanceSheetGroupingsAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/FairValueofFinancialInstrumentsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FinancingReceivableAllowanceForCreditLossAdditionalInformationAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Financing Receivable, Allowance for Credit Loss, Additional Information [Abstract]",
        "terseLabel": "Ending allowance balance attributable to loans:"
       }
      }
     },
     "localname": "FinancingReceivableAllowanceForCreditLossAdditionalInformationAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/LoansAllowanceforLoanLossesDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FinancingReceivableAllowanceForCreditLossExcludingAccruedInterest": {
     "auth_ref": [
      "r681"
     ],
     "calculation": {
      "http://www.pwod.com/role/CONSOLIDATEDBALANCESHEETUNAUDITED": {
       "order": 1.0,
       "parentTag": "us-gaap_FinancingReceivableExcludingAccruedInterestAfterAllowanceForCreditLoss",
       "weight": -1.0
      },
      "http://www.pwod.com/role/LoansAgingCategoriesofLoansbySegmentDetails": {
       "order": 1.0,
       "parentTag": "us-gaap_FinancingReceivableExcludingAccruedInterestAfterAllowanceForCreditLoss",
       "weight": -1.0
      },
      "http://www.pwod.com/role/LoansAllowanceforLoanLossesDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      },
      "http://www.pwod.com/role/LoansComponentsoftheAllowanceDetails": {
       "order": 2.0,
       "parentTag": "pwod_FinancingReceivableExcludingInterestAllowanceForCreditLossesAndOffBalanceSheetCreditLossLiability",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount excluding accrued interest, of allowance for credit loss on financing receivable. Excludes net investment in lease.",
        "label": "Financing Receivable, Allowance for Credit Loss, Excluding Accrued Interest",
        "negatedLabel": "Allowance for credit losses",
        "periodEndLabel": "Ending Balance",
        "periodStartLabel": "Beginning Balance",
        "terseLabel": "Allowance for credit losses",
        "totalLabel": "Total ending allowance balance"
       }
      }
     },
     "localname": "FinancingReceivableAllowanceForCreditLossExcludingAccruedInterest",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/BasisofPresentationNarrativeDetails",
      "http://www.pwod.com/role/BasisofPresentationSummaryofImpactofCECLDetails",
      "http://www.pwod.com/role/CONSOLIDATEDBALANCESHEETUNAUDITED",
      "http://www.pwod.com/role/LoansAgingCategoriesofLoansbySegmentDetails",
      "http://www.pwod.com/role/LoansAllowanceforCreditLossesonFinancingReceivablesDetails",
      "http://www.pwod.com/role/LoansAllowanceforLoanLossesDetails",
      "http://www.pwod.com/role/LoansComponentsoftheAllowanceDetails",
      "http://www.pwod.com/role/RecentAccountingPronouncementsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FinancingReceivableAllowanceForCreditLossesCollectivelyEvaluatedForImpairment": {
     "auth_ref": [
      "r60"
     ],
     "calculation": {
      "http://www.pwod.com/role/LoansAllowanceforLoanLossesDetails": {
       "order": 2.0,
       "parentTag": "us-gaap_FinancingReceivableAllowanceForCreditLossExcludingAccruedInterest",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The valuation allowance for financing receivables that are expected to be uncollectible that were collectively evaluated for impairment.",
        "label": "Financing Receivable, Allowance for Credit Losses, Collectively Evaluated for Impairment",
        "terseLabel": "Collectively evaluated for impairment"
       }
      }
     },
     "localname": "FinancingReceivableAllowanceForCreditLossesCollectivelyEvaluatedForImpairment",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/LoansAllowanceforLoanLossesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FinancingReceivableAllowanceForCreditLossesIndividuallyEvaluatedForImpairment1": {
     "auth_ref": [
      "r60"
     ],
     "calculation": {
      "http://www.pwod.com/role/LoansAllowanceforLoanLossesDetails": {
       "order": 1.0,
       "parentTag": "us-gaap_FinancingReceivableAllowanceForCreditLossExcludingAccruedInterest",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of valuation allowance for financing receivables that are expected to be uncollectible that were individually evaluated for impairment.",
        "label": "Financing Receivable, Allowance for Credit Losses, Individually Evaluated for Impairment",
        "terseLabel": "Individually evaluated for impairment"
       }
      }
     },
     "localname": "FinancingReceivableAllowanceForCreditLossesIndividuallyEvaluatedForImpairment1",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/LoansAllowanceforLoanLossesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FinancingReceivableAllowanceForCreditLossesLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "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.",
        "label": "Financing Receivable, Allowance for Credit Loss [Line Items]",
        "terseLabel": "Assets"
       }
      }
     },
     "localname": "FinancingReceivableAllowanceForCreditLossesLineItems",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/BasisofPresentationNarrativeDetails",
      "http://www.pwod.com/role/BasisofPresentationSummaryofImpactofCECLDetails",
      "http://www.pwod.com/role/LoansAllowanceforCreditLossesonFinancingReceivablesDetails",
      "http://www.pwod.com/role/LoansAllowanceforLoanLossesDetails",
      "http://www.pwod.com/role/LoansScheduleofCollateralDependentLoansDetails",
      "http://www.pwod.com/role/RecentAccountingPronouncementsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FinancingReceivableAllowanceForCreditLossesWriteOffs": {
     "auth_ref": [
      "r59",
      "r316",
      "r618"
     ],
     "calculation": {
      "http://www.pwod.com/role/LoansCreditQualityIndicatorsDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of writeoff of financing receivable, charged against allowance for credit loss.",
        "label": "Financing Receivable, Allowance for Credit Loss, Writeoff",
        "totalLabel": "Current period gross write offs"
       }
      }
     },
     "localname": "FinancingReceivableAllowanceForCreditLossesWriteOffs",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/LoansCreditQualityIndicatorsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FinancingReceivableBeforeAllowanceForCreditLossMaturityAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Financing Receivable, before Allowance for Credit Loss, Maturity [Abstract]",
        "terseLabel": "Aging categories of loans by segment"
       }
      }
     },
     "localname": "FinancingReceivableBeforeAllowanceForCreditLossMaturityAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/LoansAgingCategoriesofLoansbySegmentDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FinancingReceivableCollectivelyEvaluatedForImpairment": {
     "auth_ref": [
      "r61"
     ],
     "calculation": {
      "http://www.pwod.com/role/LoansAllowanceforLoanLossesDetails": {
       "order": 1.0,
       "parentTag": "us-gaap_FinancingReceivableExcludingAccruedInterestBeforeAllowanceForCreditLossFeeAndLoanInProcess",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The balance of financing receivables that were collectively evaluated for impairment.",
        "label": "Financing Receivable, Collectively Evaluated for Impairment",
        "terseLabel": "Collectively evaluated for impairment"
       }
      }
     },
     "localname": "FinancingReceivableCollectivelyEvaluatedForImpairment",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/LoansAllowanceforLoanLossesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FinancingReceivableCreditQualityIndicatorsTableTextBlock": {
     "auth_ref": [
      "r71",
      "r684"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of financing receivables by credit quality indicator. The credit quality indicator is a statistic about the credit quality of financing receivables. Examples include, but not limited to, consumer credit risk scores, credit-rating-agency ratings, an entity's internal credit risk grades, loan-to-value ratios, collateral, collection experience and other internal metrics.",
        "label": "Financing Receivable Credit Quality Indicators [Table Text Block]",
        "terseLabel": "Schedule of credit quality categories"
       }
      }
     },
     "localname": "FinancingReceivableCreditQualityIndicatorsTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/LoansTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_FinancingReceivableExcludingAccruedInterest90DaysOrMorePastDueStillAccruing": {
     "auth_ref": [
      "r322"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amortized cost excluding accrued interest, of financing receivable 90 days or more past due and still accruing. Excludes net investment in lease.",
        "label": "Financing Receivable, Excluding Accrued Interest, 90 Days or More Past Due, Still Accruing",
        "terseLabel": "Past due 90 days or more & still accruing"
       }
      }
     },
     "localname": "FinancingReceivableExcludingAccruedInterest90DaysOrMorePastDueStillAccruing",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/LoansAgingCategoriesofLoansbySegmentDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FinancingReceivableExcludingAccruedInterestAfterAllowanceForCreditLoss": {
     "auth_ref": [
      "r681"
     ],
     "calculation": {
      "http://www.pwod.com/role/CONSOLIDATEDBALANCESHEETUNAUDITED": {
       "order": 13.0,
       "parentTag": "us-gaap_Assets",
       "weight": 1.0
      },
      "http://www.pwod.com/role/LoansAgingCategoriesofLoansbySegmentDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amortized cost excluding accrued interest, after allowance for credit loss, of financing receivable. Excludes net investment in lease.",
        "label": "Financing Receivable, Excluding Accrued Interest, after Allowance for Credit Loss",
        "totalLabel": "Loans, net"
       }
      }
     },
     "localname": "FinancingReceivableExcludingAccruedInterestAfterAllowanceForCreditLoss",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/CONSOLIDATEDBALANCESHEETUNAUDITED",
      "http://www.pwod.com/role/LoansAgingCategoriesofLoansbySegmentDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FinancingReceivableExcludingAccruedInterestAllowanceForCreditLossRecovery": {
     "auth_ref": [
      "r317"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount, excluding accrued interest, of increase in allowance for credit loss on financing receivable from recovery. Excludes net investment in lease.",
        "label": "Financing Receivable, Excluding Accrued Interest, Allowance for Credit Loss, Recovery",
        "terseLabel": "Recoveries"
       }
      }
     },
     "localname": "FinancingReceivableExcludingAccruedInterestAllowanceForCreditLossRecovery",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/LoansAllowanceforCreditLossesonFinancingReceivablesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FinancingReceivableExcludingAccruedInterestAllowanceForCreditLossWriteoff": {
     "auth_ref": [
      "r316"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount, excluding accrued interest, of decrease in allowance for credit loss on financing receivable from writeoff. Excludes net investment in lease.",
        "label": "Financing Receivable, Excluding Accrued Interest, Allowance for Credit Loss, Writeoff",
        "negatedLabel": "Charge-offs"
       }
      }
     },
     "localname": "FinancingReceivableExcludingAccruedInterestAllowanceForCreditLossWriteoff",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/LoansAllowanceforCreditLossesonFinancingReceivablesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FinancingReceivableExcludingAccruedInterestBeforeAllowanceForCreditLoss": {
     "auth_ref": [
      "r325",
      "r326",
      "r681"
     ],
     "calculation": {
      "http://www.pwod.com/role/CONSOLIDATEDBALANCESHEETUNAUDITED": {
       "order": 2.0,
       "parentTag": "us-gaap_FinancingReceivableExcludingAccruedInterestAfterAllowanceForCreditLoss",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amortized cost excluding accrued interest, before allowance for credit loss, of financing receivable. Excludes net investment in lease.",
        "label": "Financing Receivable, Excluding Accrued Interest, before Allowance for Credit Loss",
        "terseLabel": "Loans"
       }
      }
     },
     "localname": "FinancingReceivableExcludingAccruedInterestBeforeAllowanceForCreditLoss",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/CONSOLIDATEDBALANCESHEETUNAUDITED"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FinancingReceivableExcludingAccruedInterestBeforeAllowanceForCreditLossFeeAndLoanInProcess": {
     "auth_ref": [
      "r557",
      "r672"
     ],
     "calculation": {
      "http://www.pwod.com/role/LoansAgingCategoriesofLoansbySegmentDetails": {
       "order": 3.0,
       "parentTag": "us-gaap_FinancingReceivableExcludingAccruedInterestAfterAllowanceForCreditLoss",
       "weight": 1.0
      },
      "http://www.pwod.com/role/LoansAllowanceforLoanLossesDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      },
      "http://www.pwod.com/role/LoansCreditQualityIndicatorsDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amortized cost excluding accrued interest, before allowance for credit loss, fee, and loan in process, of financing receivable. Excludes net investment in lease.",
        "label": "Financing Receivable, Excluding Accrued Interest, before Allowance for Credit Loss, Fee, and Loan in Process",
        "terseLabel": "Total ending loans balance",
        "totalLabel": "Total ending loans balance"
       }
      }
     },
     "localname": "FinancingReceivableExcludingAccruedInterestBeforeAllowanceForCreditLossFeeAndLoanInProcess",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/LoansAgingCategoriesofLoansbySegmentDetails",
      "http://www.pwod.com/role/LoansAllowanceforLoanLossesDetails",
      "http://www.pwod.com/role/LoansCreditQualityIndicatorsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FinancingReceivableExcludingAccruedInterestCreditLossExpenseReversal": {
     "auth_ref": [
      "r315"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount, excluding accrued interest, of credit loss expense (reversal of expense) on financing receivable. Excludes net investment in lease.",
        "label": "Financing Receivable, Excluding Accrued Interest, Credit Loss Expense (Reversal)",
        "verboseLabel": "Provision for credit losses"
       }
      }
     },
     "localname": "FinancingReceivableExcludingAccruedInterestCreditLossExpenseReversal",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/LoansAllowanceforCreditLossesonFinancingReceivablesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FinancingReceivableExcludingAccruedInterestNonaccrual": {
     "auth_ref": [
      "r320"
     ],
     "calculation": {
      "http://www.pwod.com/role/LoansNonaccrualLoansDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amortized cost excluding accrued interest, of financing receivable on nonaccrual status. Excludes net investment in lease.",
        "label": "Financing Receivable, Excluding Accrued Interest, Nonaccrual",
        "terseLabel": "Non-Accrual",
        "totalLabel": "Non-accrual Loans, Total"
       }
      }
     },
     "localname": "FinancingReceivableExcludingAccruedInterestNonaccrual",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/LoansAgingCategoriesofLoansbySegmentDetails",
      "http://www.pwod.com/role/LoansNonaccrualLoansDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FinancingReceivableExcludingAccruedInterestOriginatedMoreThanFiveYearsBeforeCurrentFiscalYear": {
     "auth_ref": [
      "r325",
      "r328",
      "r618"
     ],
     "calculation": {
      "http://www.pwod.com/role/LoansCreditQualityIndicatorsDetails": {
       "order": 8.0,
       "parentTag": "us-gaap_FinancingReceivableExcludingAccruedInterestBeforeAllowanceForCreditLossFeeAndLoanInProcess",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amortized cost excluding accrued interest, of financing receivable originated more than five years prior to current fiscal year. Excludes net investment in lease.",
        "label": "Financing Receivable, Excluding Accrued Interest, Originated, More than Five Years before Current Fiscal Year",
        "terseLabel": "Prior"
       }
      }
     },
     "localname": "FinancingReceivableExcludingAccruedInterestOriginatedMoreThanFiveYearsBeforeCurrentFiscalYear",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/LoansCreditQualityIndicatorsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FinancingReceivableExcludingAccruedInterestRevolving": {
     "auth_ref": [
      "r325",
      "r328",
      "r618"
     ],
     "calculation": {
      "http://www.pwod.com/role/LoansCreditQualityIndicatorsDetails": {
       "order": 6.0,
       "parentTag": "us-gaap_FinancingReceivableExcludingAccruedInterestBeforeAllowanceForCreditLossFeeAndLoanInProcess",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amortized cost excluding accrued interest, of financing receivable that can be withdrawn, repaid, and redrawn.",
        "label": "Financing Receivable, Excluding Accrued Interest, Revolving",
        "terseLabel": "Revolving Loans"
       }
      }
     },
     "localname": "FinancingReceivableExcludingAccruedInterestRevolving",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/LoansCreditQualityIndicatorsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FinancingReceivableExcludingAccruedInterestRevolvingConvertedToTermLoan": {
     "auth_ref": [
      "r325",
      "r329",
      "r618"
     ],
     "calculation": {
      "http://www.pwod.com/role/LoansCreditQualityIndicatorsDetails": {
       "order": 7.0,
       "parentTag": "us-gaap_FinancingReceivableExcludingAccruedInterestBeforeAllowanceForCreditLossFeeAndLoanInProcess",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amortized cost excluding accrued interest, of revolving financing receivable converted to term loan.",
        "label": "Financing Receivable, Excluding Accrued Interest, Revolving, Converted to Term Loan",
        "terseLabel": "Revolving Loans Converted to Term"
       }
      }
     },
     "localname": "FinancingReceivableExcludingAccruedInterestRevolvingConvertedToTermLoan",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/LoansCreditQualityIndicatorsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FinancingReceivableExcludingAccruedInterestYearFiveOriginatedFourYearsBeforeCurrentFiscalYear": {
     "auth_ref": [
      "r325",
      "r328",
      "r618"
     ],
     "calculation": {
      "http://www.pwod.com/role/LoansCreditQualityIndicatorsDetails": {
       "order": 5.0,
       "parentTag": "us-gaap_FinancingReceivableExcludingAccruedInterestBeforeAllowanceForCreditLossFeeAndLoanInProcess",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amortized cost excluding accrued interest, of financing receivable originated four years prior to current fiscal year. Excludes net investment in lease.",
        "label": "Financing Receivable, Excluding Accrued Interest, Year Five, Originated, Four Years before Current Fiscal Year",
        "terseLabel": "2019"
       }
      }
     },
     "localname": "FinancingReceivableExcludingAccruedInterestYearFiveOriginatedFourYearsBeforeCurrentFiscalYear",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/LoansCreditQualityIndicatorsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FinancingReceivableExcludingAccruedInterestYearFourOriginatedThreeYearsBeforeCurrentFiscalYear": {
     "auth_ref": [
      "r325",
      "r328",
      "r618"
     ],
     "calculation": {
      "http://www.pwod.com/role/LoansCreditQualityIndicatorsDetails": {
       "order": 2.0,
       "parentTag": "us-gaap_FinancingReceivableExcludingAccruedInterestBeforeAllowanceForCreditLossFeeAndLoanInProcess",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amortized cost excluding accrued interest, of financing receivable originated three years prior to current fiscal year. Excludes net investment in lease.",
        "label": "Financing Receivable, Excluding Accrued Interest, Year Four, Originated, Three Years before Current Fiscal Year",
        "terseLabel": "2020"
       }
      }
     },
     "localname": "FinancingReceivableExcludingAccruedInterestYearFourOriginatedThreeYearsBeforeCurrentFiscalYear",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/LoansCreditQualityIndicatorsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FinancingReceivableExcludingAccruedInterestYearOneOriginatedCurrentFiscalYear": {
     "auth_ref": [
      "r325",
      "r328",
      "r618"
     ],
     "calculation": {
      "http://www.pwod.com/role/LoansCreditQualityIndicatorsDetails": {
       "order": 1.0,
       "parentTag": "us-gaap_FinancingReceivableExcludingAccruedInterestBeforeAllowanceForCreditLossFeeAndLoanInProcess",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amortized cost excluding accrued interest, of financing receivable originated in current fiscal year. Excludes net investment in lease.",
        "label": "Financing Receivable, Excluding Accrued Interest, Year One, Originated, Current Fiscal Year",
        "terseLabel": "2023"
       }
      }
     },
     "localname": "FinancingReceivableExcludingAccruedInterestYearOneOriginatedCurrentFiscalYear",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/LoansCreditQualityIndicatorsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FinancingReceivableExcludingAccruedInterestYearThreeOriginatedTwoYearsBeforeCurrentFiscalYear": {
     "auth_ref": [
      "r325",
      "r328",
      "r618"
     ],
     "calculation": {
      "http://www.pwod.com/role/LoansCreditQualityIndicatorsDetails": {
       "order": 4.0,
       "parentTag": "us-gaap_FinancingReceivableExcludingAccruedInterestBeforeAllowanceForCreditLossFeeAndLoanInProcess",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amortized cost excluding accrued interest, of financing receivable originated two years prior to current fiscal year. Excludes net investment in lease.",
        "label": "Financing Receivable, Excluding Accrued Interest, Year Three, Originated, Two Years before Current Fiscal Year",
        "terseLabel": "2021"
       }
      }
     },
     "localname": "FinancingReceivableExcludingAccruedInterestYearThreeOriginatedTwoYearsBeforeCurrentFiscalYear",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/LoansCreditQualityIndicatorsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FinancingReceivableExcludingAccruedInterestYearTwoOriginatedFiscalYearBeforeCurrentFiscalYear": {
     "auth_ref": [
      "r325",
      "r328",
      "r618"
     ],
     "calculation": {
      "http://www.pwod.com/role/LoansCreditQualityIndicatorsDetails": {
       "order": 3.0,
       "parentTag": "us-gaap_FinancingReceivableExcludingAccruedInterestBeforeAllowanceForCreditLossFeeAndLoanInProcess",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amortized cost excluding accrued interest of financing receivable originated in fiscal year prior to current fiscal year. Excludes net investment in lease.",
        "label": "Financing Receivable, Excluding Accrued Interest, Year Two, Originated, Fiscal Year before Current Fiscal Year",
        "terseLabel": "2022"
       }
      }
     },
     "localname": "FinancingReceivableExcludingAccruedInterestYearTwoOriginatedFiscalYearBeforeCurrentFiscalYear",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/LoansCreditQualityIndicatorsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FinancingReceivableImpairedLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "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.",
        "label": "Financing Receivable, Impaired [Line Items]",
        "terseLabel": "Credit Quality and Related Allowance for Loan Losses"
       }
      }
     },
     "localname": "FinancingReceivableImpairedLineItems",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/LoansAverageRecordedInvestmentImpairedLoansDetails",
      "http://www.pwod.com/role/LoansRecordedInvestmentUnpaidPrincipalBalanceRelatedAllowanceofImpairedLoansDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FinancingReceivableIndividuallyEvaluatedForImpairment": {
     "auth_ref": [
      "r61"
     ],
     "calculation": {
      "http://www.pwod.com/role/LoansAllowanceforLoanLossesDetails": {
       "order": 2.0,
       "parentTag": "us-gaap_FinancingReceivableExcludingAccruedInterestBeforeAllowanceForCreditLossFeeAndLoanInProcess",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The balance of financing receivables that were individually evaluated for impairment.",
        "label": "Financing Receivable, Individually Evaluated for Impairment",
        "terseLabel": "Individually evaluated for impairment"
       }
      }
     },
     "localname": "FinancingReceivableIndividuallyEvaluatedForImpairment",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/LoansAllowanceforLoanLossesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FinancingReceivableModificationsNumberOfContracts2": {
     "auth_ref": [
      "r669"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Number of financing receivables that have been modified by troubled debt restructurings.",
        "label": "Financing Receivable, Modifications, Number of Contracts",
        "verboseLabel": "Number of loan modifications (in contracts)"
       }
      }
     },
     "localname": "FinancingReceivableModificationsNumberOfContracts2",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/LoansNarrativeDetails"
     ],
     "xbrltype": "integerItemType"
    },
    "us-gaap_FinancingReceivableModificationsRecordedInvestment": {
     "auth_ref": [
      "r76",
      "r669"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of financing receivable modified as troubled debt restructuring.",
        "label": "Financing Receivable, Troubled Debt Restructuring",
        "terseLabel": "Troubled debt restructuring"
       }
      }
     },
     "localname": "FinancingReceivableModificationsRecordedInvestment",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/LoansNarrativeDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FinancingReceivableModificationsSubsequentDefaultNumberOfContracts1": {
     "auth_ref": [
      "r670"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Number of financing receivable contracts modified as troubled debt restructuring within previous 12 months, with subsequent payment default.",
        "label": "Financing Receivable, Troubled Debt Restructuring, Subsequent Default, Number of Contracts",
        "terseLabel": "Number of TDRs that defaulted (in contracts)"
       }
      }
     },
     "localname": "FinancingReceivableModificationsSubsequentDefaultNumberOfContracts1",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/LoansNarrativeDetails"
     ],
     "xbrltype": "integerItemType"
    },
    "us-gaap_FinancingReceivableModificationsSubsequentDefaultRecordedInvestment1": {
     "auth_ref": [
      "r281"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of financing receivable modified as troubled debt restructuring within previous 12 months, with subsequent payment default.",
        "label": "Financing Receivable, Troubled Debt Restructuring, Subsequent Default",
        "terseLabel": "Troubled debt restructuring, default amount"
       }
      }
     },
     "localname": "FinancingReceivableModificationsSubsequentDefaultRecordedInvestment1",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/LoansNarrativeDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FinancingReceivableNonaccrualInterestIncome": {
     "auth_ref": [
      "r321"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of interest income on financing receivable on nonaccrual status.",
        "label": "Financing Receivable, Nonaccrual, Interest Income",
        "terseLabel": "Non-accrual loans interest income"
       }
      }
     },
     "localname": "FinancingReceivableNonaccrualInterestIncome",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/LoansNarrativeDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FinancingReceivableNonaccrualNoAllowance": {
     "auth_ref": [
      "r323"
     ],
     "calculation": {
      "http://www.pwod.com/role/LoansNonaccrualLoansDetails": {
       "order": 2.0,
       "parentTag": "us-gaap_FinancingReceivableExcludingAccruedInterestNonaccrual",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amortized cost of financing receivable on nonaccrual status with no allowance for credit loss. Excludes net investment in lease.",
        "label": "Financing Receivable, Nonaccrual, No Allowance",
        "terseLabel": "Non-accrual Loans, Without a Related Allowance"
       }
      }
     },
     "localname": "FinancingReceivableNonaccrualNoAllowance",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/LoansNonaccrualLoansDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FinancingReceivableNonaccrualStatusLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "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.",
        "label": "Financing Receivable, Nonaccrual [Line Items]",
        "terseLabel": "Financing Receivable, Nonaccrual [Line Items]"
       }
      }
     },
     "localname": "FinancingReceivableNonaccrualStatusLineItems",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/LoansNonaccrualLoansDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FinancingReceivableNonaccrualTable": {
     "auth_ref": [
      "r324"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of information about financing receivable on nonaccrual status.",
        "label": "Financing Receivable, Nonaccrual [Table]",
        "terseLabel": "Financing Receivable, Nonaccrual [Table]"
       }
      }
     },
     "localname": "FinancingReceivableNonaccrualTable",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/LoansNonaccrualLoansDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FinancingReceivablePortfolioSegmentAxis": {
     "auth_ref": [
      "r314",
      "r318",
      "r599",
      "r600",
      "r601",
      "r602",
      "r610",
      "r759",
      "r760",
      "r761",
      "r762",
      "r763",
      "r764",
      "r765",
      "r766",
      "r767",
      "r768"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by the level at which an entity develops and documents a systematic methodology to determine its allowance for credit losses.",
        "label": "Financing Receivable Portfolio Segment [Axis]",
        "terseLabel": "Financing Receivable Portfolio Segment [Axis]"
       }
      }
     },
     "localname": "FinancingReceivablePortfolioSegmentAxis",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/BasisofPresentationSummaryofImpactofCECLDetails",
      "http://www.pwod.com/role/LoansAgingCategoriesofLoansbySegmentDetails",
      "http://www.pwod.com/role/LoansAllowanceforCreditLossesonFinancingReceivablesDetails",
      "http://www.pwod.com/role/LoansAllowanceforLoanLossesDetails",
      "http://www.pwod.com/role/LoansAverageRecordedInvestmentImpairedLoansDetails",
      "http://www.pwod.com/role/LoansCreditQualityIndicatorsDetails",
      "http://www.pwod.com/role/LoansNarrativeDetails",
      "http://www.pwod.com/role/LoansNonaccrualLoansDetails",
      "http://www.pwod.com/role/LoansRecordedInvestmentUnpaidPrincipalBalanceRelatedAllowanceofImpairedLoansDetails",
      "http://www.pwod.com/role/LoansScheduleofCollateralDependentLoansDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FinancingReceivablePortfolioSegmentDomain": {
     "auth_ref": [
      "r599",
      "r600",
      "r601",
      "r602",
      "r759",
      "r760",
      "r761",
      "r762",
      "r763",
      "r764",
      "r765",
      "r766",
      "r767",
      "r768"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Level at which an entity develops and documents a systematic methodology to determine its allowance for credit losses.",
        "label": "Financing Receivable Portfolio Segment [Domain]",
        "terseLabel": "Financing Receivable Portfolio Segment [Domain]"
       }
      }
     },
     "localname": "FinancingReceivablePortfolioSegmentDomain",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/BasisofPresentationSummaryofImpactofCECLDetails",
      "http://www.pwod.com/role/LoansAgingCategoriesofLoansbySegmentDetails",
      "http://www.pwod.com/role/LoansAllowanceforCreditLossesonFinancingReceivablesDetails",
      "http://www.pwod.com/role/LoansAllowanceforLoanLossesDetails",
      "http://www.pwod.com/role/LoansAverageRecordedInvestmentImpairedLoansDetails",
      "http://www.pwod.com/role/LoansCreditQualityIndicatorsDetails",
      "http://www.pwod.com/role/LoansNarrativeDetails",
      "http://www.pwod.com/role/LoansNonaccrualLoansDetails",
      "http://www.pwod.com/role/LoansRecordedInvestmentUnpaidPrincipalBalanceRelatedAllowanceofImpairedLoansDetails",
      "http://www.pwod.com/role/LoansScheduleofCollateralDependentLoansDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis": {
     "auth_ref": [
      "r73",
      "r74",
      "r280",
      "r319",
      "r324",
      "r327",
      "r599",
      "r600",
      "r601",
      "r602",
      "r611",
      "r612",
      "r618",
      "r619",
      "r759",
      "r760",
      "r761",
      "r762",
      "r763",
      "r764",
      "r765",
      "r766",
      "r767",
      "r768"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by class of financing receivable determined on the basis of initial measurement attribute, risk characteristics and method of monitoring and assessing credit risk.",
        "label": "Class of Financing Receivable [Axis]",
        "terseLabel": "Class of Financing Receivable [Axis]"
       }
      }
     },
     "localname": "FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/BasisofPresentationSummaryofImpactofCECLDetails",
      "http://www.pwod.com/role/LoansAgingCategoriesofLoansbySegmentDetails",
      "http://www.pwod.com/role/LoansAllowanceforCreditLossesonFinancingReceivablesDetails",
      "http://www.pwod.com/role/LoansAllowanceforLoanLossesDetails",
      "http://www.pwod.com/role/LoansAverageRecordedInvestmentImpairedLoansDetails",
      "http://www.pwod.com/role/LoansCreditQualityIndicatorsDetails",
      "http://www.pwod.com/role/LoansNarrativeDetails",
      "http://www.pwod.com/role/LoansNonaccrualLoansDetails",
      "http://www.pwod.com/role/LoansRecordedInvestmentUnpaidPrincipalBalanceRelatedAllowanceofImpairedLoansDetails",
      "http://www.pwod.com/role/LoansScheduleofCollateralDependentLoansDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain": {
     "auth_ref": [
      "r599",
      "r600",
      "r601",
      "r602",
      "r759",
      "r760",
      "r761",
      "r762",
      "r763",
      "r764",
      "r765",
      "r766",
      "r767",
      "r768"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Financing receivables determined on the basis of initial measurement attribute, risk characteristics and method of monitoring and assessing credit risk.",
        "label": "Class of Financing Receivable [Domain]",
        "terseLabel": "Class of Financing Receivable [Domain]"
       }
      }
     },
     "localname": "FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/BasisofPresentationSummaryofImpactofCECLDetails",
      "http://www.pwod.com/role/LoansAgingCategoriesofLoansbySegmentDetails",
      "http://www.pwod.com/role/LoansAllowanceforCreditLossesonFinancingReceivablesDetails",
      "http://www.pwod.com/role/LoansAllowanceforLoanLossesDetails",
      "http://www.pwod.com/role/LoansAverageRecordedInvestmentImpairedLoansDetails",
      "http://www.pwod.com/role/LoansCreditQualityIndicatorsDetails",
      "http://www.pwod.com/role/LoansNarrativeDetails",
      "http://www.pwod.com/role/LoansNonaccrualLoansDetails",
      "http://www.pwod.com/role/LoansRecordedInvestmentUnpaidPrincipalBalanceRelatedAllowanceofImpairedLoansDetails",
      "http://www.pwod.com/role/LoansScheduleofCollateralDependentLoansDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_FinancingReceivableRecordedInvestmentLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "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.",
        "label": "Financing Receivable, Credit Quality Indicator [Line Items]",
        "terseLabel": "Credit quality categories"
       }
      }
     },
     "localname": "FinancingReceivableRecordedInvestmentLineItems",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/LoansCreditQualityIndicatorsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FinancingReceivableRecordedInvestmentPastDueLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "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.",
        "label": "Financing Receivable, Past Due [Line Items]",
        "terseLabel": "Financing Receivable, Past Due [Line Items]"
       }
      }
     },
     "localname": "FinancingReceivableRecordedInvestmentPastDueLineItems",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/LoansAgingCategoriesofLoansbySegmentDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FinancingReceivableUnamortizedLoanCommitmentOriginationFeeAndPremiumDiscount": {
     "auth_ref": [
      "r282",
      "r284",
      "r647"
     ],
     "calculation": {
      "http://www.pwod.com/role/LoansAgingCategoriesofLoansbySegmentDetails": {
       "order": 2.0,
       "parentTag": "us-gaap_FinancingReceivableExcludingAccruedInterestAfterAllowanceForCreditLoss",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of unamortized loan commitment, origination, and other costs (fees) and purchase premium (discount) on financing receivable recognized as adjustment to yield. Excludes financing receivable covered under loss sharing agreement.",
        "label": "Financing Receivable, Unamortized Loan Cost (Fee) and Purchase Premium (Discount)",
        "terseLabel": "Net deferred loan fees and discounts"
       }
      }
     },
     "localname": "FinancingReceivableUnamortizedLoanCommitmentOriginationFeeAndPremiumDiscount",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/LoansAgingCategoriesofLoansbySegmentDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FinancingReceivablesPeriodPastDueAxis": {
     "auth_ref": [
      "r283",
      "r319",
      "r619"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by period in which financial asset is past due or not past due.",
        "label": "Financial Asset, Aging [Axis]",
        "terseLabel": "Financial Asset, Aging [Axis]"
       }
      }
     },
     "localname": "FinancingReceivablesPeriodPastDueAxis",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/LoansAgingCategoriesofLoansbySegmentDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FinancingReceivablesPeriodPastDueDomain": {
     "auth_ref": [
      "r283",
      "r319",
      "r619"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Period in which financial asset is past due or not past due. For past due, element name and standard label in Financial Asset, [numeric lower end] to [numeric higher end] [date measure] Past Due [Member] or Financial Asset, Greater than [low end numeric value] [date measure] Past Due [Member] or Financial Asset, Less than [high end numeric value] [date measure] Past Due [Member] formats.",
        "label": "Financial Asset, Aging [Domain]",
        "terseLabel": "Financial Asset, Aging [Domain]"
       }
      }
     },
     "localname": "FinancingReceivablesPeriodPastDueDomain",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/LoansAgingCategoriesofLoansbySegmentDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_GainLossOnInvestmentsTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of realized and unrealized gain (loss) on investment in security.",
        "label": "Gain (Loss) on Securities [Table Text Block]",
        "terseLabel": "Schedule of unrealized and realized gains and losses recognized in net income"
       }
      }
     },
     "localname": "GainLossOnInvestmentsTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/InvestmentSecuritiesTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_GainLossOnSaleOfMortgageLoans": {
     "auth_ref": [
      "r39",
      "r572",
      "r573",
      "r574"
     ],
     "calculation": {
      "http://www.pwod.com/role/CONSOLIDATEDSTATEMENTOFCASHFLOWSUNAUDITED": {
       "order": 14.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": -1.0
      },
      "http://www.pwod.com/role/CONSOLIDATEDSTATEMENTOFINCOMEUNAUDITED": {
       "order": 6.0,
       "parentTag": "us-gaap_NoninterestIncome",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The gains (losses) included in earnings that represent the difference between the sale price and the carrying value of loans made to finance real estate acquisitions. This element refers to the gain (loss) and not to the cash proceeds of the sale. This element is a noncash adjustment to net income when calculating net cash generated by operating activities using the indirect method.",
        "label": "Gain (Loss) on Sale of Mortgage Loans",
        "negatedLabel": "Gain on sale of loans",
        "terseLabel": "Gain on sale of loans"
       }
      }
     },
     "localname": "GainLossOnSaleOfMortgageLoans",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/CONSOLIDATEDSTATEMENTOFCASHFLOWSUNAUDITED",
      "http://www.pwod.com/role/CONSOLIDATEDSTATEMENTOFINCOMEUNAUDITED"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_Goodwill": {
     "auth_ref": [
      "r190",
      "r337",
      "r555",
      "r621",
      "r637",
      "r688",
      "r689"
     ],
     "calculation": {
      "http://www.pwod.com/role/CONSOLIDATEDBALANCESHEETUNAUDITED": {
       "order": 7.0,
       "parentTag": "us-gaap_Assets",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount after accumulated impairment loss of an asset representing future economic benefits arising from other assets acquired in a business combination that are not individually identified and separately recognized.",
        "label": "Goodwill",
        "terseLabel": "Goodwill"
       }
      }
     },
     "localname": "Goodwill",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/CONSOLIDATEDBALANCESHEETUNAUDITED"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_GovernmentGuaranteedCollateralMember": {
     "auth_ref": [
      "r615"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Collateral guaranteed by government authority or agency to serve as protection against default.",
        "label": "Government-Guaranteed Collateral [Member]",
        "terseLabel": "Other"
       }
      }
     },
     "localname": "GovernmentGuaranteedCollateralMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/LoansScheduleofCollateralDependentLoansDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_HeldToMaturitySecuritiesFairValue": {
     "auth_ref": [
      "r86",
      "r296",
      "r556"
     ],
     "calculation": {
      "http://www.pwod.com/role/InvestmentSecuritiesAmortizedCostandFairValueofDebtSecuritiesDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fair value of investment in debt security measured at amortized cost (held-to-maturity).",
        "label": "Debt Securities, Held-to-Maturity, Fair Value",
        "totalLabel": "Total"
       }
      }
     },
     "localname": "HeldToMaturitySecuritiesFairValue",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/InvestmentSecuritiesAmortizedCostandFairValueofDebtSecuritiesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ImpairedFinancingReceivableAverageRecordedInvestment": {
     "auth_ref": [
      "r66",
      "r70"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Average amount of investment of impaired financing receivables with related allowance for credit losses and without a related allowance for credit losses.",
        "label": "Impaired Financing Receivable, Average Recorded Investment",
        "terseLabel": "Average Investment\u00a0in Impaired\u00a0Loans"
       }
      }
     },
     "localname": "ImpairedFinancingReceivableAverageRecordedInvestment",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/LoansAverageRecordedInvestmentImpairedLoansDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ImpairedFinancingReceivableInterestIncomeAccrualMethod": {
     "auth_ref": [
      "r67"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of interest income recognized that the financing receivables (with related allowance for credit losses and without a related allowance for credit losses) were impaired.",
        "label": "Impaired Financing Receivable, Interest Income, Accrual Method",
        "terseLabel": "Interest\u00a0Income Recognized\u00a0on\u00a0an Accrual\u00a0Basis\u00a0on Impaired\u00a0Loans"
       }
      }
     },
     "localname": "ImpairedFinancingReceivableInterestIncomeAccrualMethod",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/LoansAverageRecordedInvestmentImpairedLoansDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ImpairedFinancingReceivableInterestIncomeCashBasisMethod": {
     "auth_ref": [
      "r68"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of interest income recognized on a cash-basis method of accounting that the financing receivables (with related allowance for credit losses and without a related allowance for credit losses) were impaired.",
        "label": "Impaired Financing Receivable, Interest Income, Cash Basis Method",
        "terseLabel": "Interest\u00a0Income Recognized\u00a0on\u00a0a Cash\u00a0Basis\u00a0on Impaired\u00a0Loans"
       }
      }
     },
     "localname": "ImpairedFinancingReceivableInterestIncomeCashBasisMethod",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/LoansAverageRecordedInvestmentImpairedLoansDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ImpairedFinancingReceivableRecordedInvestment": {
     "auth_ref": [
      "r63"
     ],
     "calculation": {
      "http://www.pwod.com/role/LoansRecordedInvestmentUnpaidPrincipalBalanceRelatedAllowanceofImpairedLoansDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of investment of impaired financing receivables with related allowance for credit losses and without a related allowance for credit losses.",
        "label": "Impaired Financing Receivable, Recorded Investment",
        "totalLabel": "Recorded investment"
       }
      }
     },
     "localname": "ImpairedFinancingReceivableRecordedInvestment",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/LoansRecordedInvestmentUnpaidPrincipalBalanceRelatedAllowanceofImpairedLoansDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ImpairedFinancingReceivableRelatedAllowance": {
     "auth_ref": [
      "r64"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of allowance for credit losses related to recorded investment.",
        "label": "Impaired Financing Receivable, Related Allowance",
        "terseLabel": "Related allowance"
       }
      }
     },
     "localname": "ImpairedFinancingReceivableRelatedAllowance",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/LoansRecordedInvestmentUnpaidPrincipalBalanceRelatedAllowanceofImpairedLoansDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ImpairedFinancingReceivableUnpaidPrincipalBalance": {
     "auth_ref": [
      "r65"
     ],
     "calculation": {
      "http://www.pwod.com/role/LoansRecordedInvestmentUnpaidPrincipalBalanceRelatedAllowanceofImpairedLoansDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of unpaid principal balance of impaired financing receivables with related allowance for credit losses and without related allowance for credit losses.",
        "label": "Impaired Financing Receivable, Unpaid Principal Balance",
        "totalLabel": "Unpaid principal balance"
       }
      }
     },
     "localname": "ImpairedFinancingReceivableUnpaidPrincipalBalance",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/LoansRecordedInvestmentUnpaidPrincipalBalanceRelatedAllowanceofImpairedLoansDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ImpairedFinancingReceivableWithNoRelatedAllowanceRecordedInvestment": {
     "auth_ref": [
      "r63"
     ],
     "calculation": {
      "http://www.pwod.com/role/LoansRecordedInvestmentUnpaidPrincipalBalanceRelatedAllowanceofImpairedLoansDetails": {
       "order": 1.0,
       "parentTag": "us-gaap_ImpairedFinancingReceivableRecordedInvestment",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of investment in impaired financing receivables for which there is no related allowance for credit losses.",
        "label": "Impaired Financing Receivable, with No Related Allowance, Recorded Investment",
        "terseLabel": "Recorded investment, with no related allowance recorded"
       }
      }
     },
     "localname": "ImpairedFinancingReceivableWithNoRelatedAllowanceRecordedInvestment",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/LoansRecordedInvestmentUnpaidPrincipalBalanceRelatedAllowanceofImpairedLoansDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ImpairedFinancingReceivableWithNoRelatedAllowanceUnpaidPrincipalBalance": {
     "auth_ref": [
      "r65"
     ],
     "calculation": {
      "http://www.pwod.com/role/LoansRecordedInvestmentUnpaidPrincipalBalanceRelatedAllowanceofImpairedLoansDetails": {
       "order": 1.0,
       "parentTag": "us-gaap_ImpairedFinancingReceivableUnpaidPrincipalBalance",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of unpaid principal balance of impaired financing receivables for which there is no related allowance for credit losses.",
        "label": "Impaired Financing Receivable, with No Related Allowance, Unpaid Principal Balance",
        "terseLabel": "Unpaid principal balance, with no related allowance recorded"
       }
      }
     },
     "localname": "ImpairedFinancingReceivableWithNoRelatedAllowanceUnpaidPrincipalBalance",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/LoansRecordedInvestmentUnpaidPrincipalBalanceRelatedAllowanceofImpairedLoansDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ImpairedFinancingReceivableWithRelatedAllowanceRecordedInvestment": {
     "auth_ref": [
      "r63"
     ],
     "calculation": {
      "http://www.pwod.com/role/LoansRecordedInvestmentUnpaidPrincipalBalanceRelatedAllowanceofImpairedLoansDetails": {
       "order": 2.0,
       "parentTag": "us-gaap_ImpairedFinancingReceivableRecordedInvestment",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of investment in impaired financing receivables for which there is a related allowance for credit losses.",
        "label": "Impaired Financing Receivable, with Related Allowance, Recorded Investment",
        "terseLabel": "Recorded investment, with an allowance recorded"
       }
      }
     },
     "localname": "ImpairedFinancingReceivableWithRelatedAllowanceRecordedInvestment",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/LoansRecordedInvestmentUnpaidPrincipalBalanceRelatedAllowanceofImpairedLoansDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ImpairedFinancingReceivableWithRelatedAllowanceUnpaidPrincipalBalance": {
     "auth_ref": [
      "r65"
     ],
     "calculation": {
      "http://www.pwod.com/role/LoansRecordedInvestmentUnpaidPrincipalBalanceRelatedAllowanceofImpairedLoansDetails": {
       "order": 2.0,
       "parentTag": "us-gaap_ImpairedFinancingReceivableUnpaidPrincipalBalance",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Unpaid principal balance of impaired financing receivables for which there is a related allowance for credit losses.",
        "label": "Impaired Financing Receivable, with Related Allowance, Unpaid Principal Balance",
        "terseLabel": "Unpaid principal balance, with an allowance recorded"
       }
      }
     },
     "localname": "ImpairedFinancingReceivableWithRelatedAllowanceUnpaidPrincipalBalance",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/LoansRecordedInvestmentUnpaidPrincipalBalanceRelatedAllowanceofImpairedLoansDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ImpairedFinancingReceivablesTableTextBlock": {
     "auth_ref": [
      "r69"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of impaired financing receivables.",
        "label": "Impaired Financing Receivables [Table Text Block]",
        "terseLabel": "Schedule of recorded investment, unpaid principal balance, and related allowance of impaired loans by segment"
       }
      }
     },
     "localname": "ImpairedFinancingReceivablesTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/LoansTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ImpairmentOfLongLivedAssetsToBeDisposedOf": {
     "auth_ref": [
      "r39",
      "r93"
     ],
     "calculation": {
      "http://www.pwod.com/role/CONSOLIDATEDSTATEMENTOFCASHFLOWSUNAUDITED": {
       "order": 11.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The aggregate amount of write-downs for impairments recognized during the period for long-lived assets held for abandonment, exchange or sale.",
        "label": "Impairment of Long-Lived Assets to be Disposed of",
        "verboseLabel": "Write down of leasehold improvements"
       }
      }
     },
     "localname": "ImpairmentOfLongLivedAssetsToBeDisposedOf",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/CONSOLIDATEDSTATEMENTOFCASHFLOWSUNAUDITED"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest": {
     "auth_ref": [
      "r22",
      "r132",
      "r147",
      "r172",
      "r265",
      "r267",
      "r271",
      "r273",
      "r561",
      "r609"
     ],
     "calculation": {
      "http://www.pwod.com/role/CONSOLIDATEDSTATEMENTOFINCOMEUNAUDITED": {
       "order": 1.0,
       "parentTag": "us-gaap_NetIncomeLoss",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of income (loss) from continuing operations, including income (loss) from equity method investments, before deduction of income tax expense (benefit), and income (loss) attributable to noncontrolling interest.",
        "label": "Income (Loss) from Continuing Operations before Income Taxes, Noncontrolling Interest",
        "totalLabel": "INCOME BEFORE INCOME TAX PROVISION"
       }
      }
     },
     "localname": "IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/CONSOLIDATEDSTATEMENTOFINCOMEUNAUDITED"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_IncomeStatementAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Income Statement [Abstract]",
        "terseLabel": "Income Statement [Abstract]"
       }
      }
     },
     "localname": "IncomeStatementAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "xbrltype": "stringItemType"
    },
    "us-gaap_IncomeTaxExpenseBenefit": {
     "auth_ref": [
      "r221",
      "r238",
      "r239",
      "r264",
      "r432",
      "r438",
      "r439",
      "r571"
     ],
     "calculation": {
      "http://www.pwod.com/role/CONSOLIDATEDSTATEMENTOFINCOMEUNAUDITED": {
       "order": 2.0,
       "parentTag": "us-gaap_NetIncomeLoss",
       "weight": -1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of current income tax expense (benefit) and deferred income tax expense (benefit) pertaining to continuing operations.",
        "label": "Income Tax Expense (Benefit)",
        "negatedTerseLabel": "Income tax effect",
        "terseLabel": "INCOME TAX PROVISION"
       }
      }
     },
     "localname": "IncomeTaxExpenseBenefit",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/AccumulatedOtherComprehensiveLossScheduleofReclassificationsoutofAOCIDetails",
      "http://www.pwod.com/role/CONSOLIDATEDSTATEMENTOFINCOMEUNAUDITED"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_IncomeTaxesPaid": {
     "auth_ref": [
      "r36",
      "r44"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of cash paid during the current period to foreign, federal, state, and local authorities as taxes on income.",
        "label": "Income Taxes Paid",
        "terseLabel": "Income taxes paid"
       }
      }
     },
     "localname": "IncomeTaxesPaid",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/CONSOLIDATEDSTATEMENTOFCASHFLOWSUNAUDITED"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_IncreaseDecreaseInOtherOperatingCapitalNet": {
     "auth_ref": [
      "r38"
     ],
     "calculation": {
      "http://www.pwod.com/role/CONSOLIDATEDSTATEMENTOFCASHFLOWSUNAUDITED": {
       "order": 1.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of increase (decrease) in operating assets after deduction of operating liabilities classified as other.",
        "label": "Increase (Decrease) in Other Operating Assets and Liabilities, Net",
        "negatedLabel": "Other, net"
       }
      }
     },
     "localname": "IncreaseDecreaseInOtherOperatingCapitalNet",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/CONSOLIDATEDSTATEMENTOFCASHFLOWSUNAUDITED"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_IncreaseDecreaseInPrepaidDeferredExpenseAndOtherAssets": {
     "auth_ref": [
      "r38"
     ],
     "calculation": {
      "http://www.pwod.com/role/CONSOLIDATEDSTATEMENTOFCASHFLOWSUNAUDITED": {
       "order": 3.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of increase (decrease) in prepaid expenses, and assets classified as other.",
        "label": "Increase (Decrease) in Prepaid Expense and Other Assets",
        "negatedLabel": "Decrease (increase) in deferred tax asset"
       }
      }
     },
     "localname": "IncreaseDecreaseInPrepaidDeferredExpenseAndOtherAssets",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/CONSOLIDATEDSTATEMENTOFCASHFLOWSUNAUDITED"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_IncreaseDecreaseInStockholdersEquityRollForward": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "A roll forward is a reconciliation of a concept from the beginning of a period to the end of a period.",
        "label": "Increase (Decrease) in Stockholders' Equity [Roll Forward]",
        "terseLabel": "Increase (Decrease) in Stockholders' Equity [Roll Forward]"
       }
      }
     },
     "localname": "IncreaseDecreaseInStockholdersEquityRollForward",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/CONSOLIDATEDSTATEMENTOFCHANGESINSHAREHOLDERSEQUITYUNAUDITED"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_IncreaseDecreaseInTradingLiabilities": {
     "auth_ref": [
      "r38"
     ],
     "calculation": {
      "http://www.pwod.com/role/CONSOLIDATEDSTATEMENTOFCASHFLOWSUNAUDITED": {
       "order": 5.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The increase (decrease) during the reporting period in the aggregate amount of trading liabilities from the reporting entity's trading activities. This include liabilities resulting from sales of assets that the reporting entity does not own and revaluation losses.",
        "label": "Increase (Decrease) in Trading Liabilities",
        "terseLabel": "Security trades payable"
       }
      }
     },
     "localname": "IncreaseDecreaseInTradingLiabilities",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/CONSOLIDATEDSTATEMENTOFCASHFLOWSUNAUDITED"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_IncrementalCommonSharesAttributableToConversionOfDebtSecurities": {
     "auth_ref": [
      "r249",
      "r250",
      "r254"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Additional shares included in the calculation of diluted EPS as a result of the potentially dilutive effect of convertible debt securities using the if-converted method.",
        "label": "Incremental Common Shares Attributable to Dilutive Effect of Conversion of Debt Securities",
        "terseLabel": "Convertible securities which would affect denominator in calculating basic and dilutive earnings per share (in shares)"
       }
      }
     },
     "localname": "IncrementalCommonSharesAttributableToConversionOfDebtSecurities",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/PerShareDataNarrativeDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_IncrementalCommonSharesAttributableToShareBasedPaymentArrangements": {
     "auth_ref": [
      "r246",
      "r247",
      "r248",
      "r254",
      "r393"
     ],
     "calculation": {
      "http://www.pwod.com/role/PerShareDataCompositionofWeightedAverageCommonSharesUsedinEarningsperShareComputationDetails": {
       "order": 1.0,
       "parentTag": "us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding",
       "weight": 1.0
      }
     },
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Additional shares included in the calculation of diluted EPS as a result of the potentially dilutive effect of share based payment arrangements using the treasury stock method.",
        "label": "Incremental Common Shares Attributable to Dilutive Effect of Share-Based Payment Arrangements",
        "terseLabel": "Dilutive effect of outstanding stock options (in shares)"
       }
      }
     },
     "localname": "IncrementalCommonSharesAttributableToShareBasedPaymentArrangements",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/PerShareDataCompositionofWeightedAverageCommonSharesUsedinEarningsperShareComputationDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_IntangibleAssetsNetExcludingGoodwill": {
     "auth_ref": [
      "r89",
      "r91"
     ],
     "calculation": {
      "http://www.pwod.com/role/CONSOLIDATEDBALANCESHEETUNAUDITED": {
       "order": 2.0,
       "parentTag": "us-gaap_Assets",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Sum of the carrying amounts of all intangible assets, excluding goodwill, as of the balance sheet date, net of accumulated amortization and impairment charges.",
        "label": "Intangible Assets, Net (Excluding Goodwill)",
        "terseLabel": "Intangibles"
       }
      }
     },
     "localname": "IntangibleAssetsNetExcludingGoodwill",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/CONSOLIDATEDBALANCESHEETUNAUDITED"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InterestAndDividendIncomeOperating": {
     "auth_ref": [
      "r150"
     ],
     "calculation": {
      "http://www.pwod.com/role/CONSOLIDATEDSTATEMENTOFINCOMEUNAUDITED": {
       "order": 1.0,
       "parentTag": "us-gaap_InterestIncomeExpenseNet",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents the total of interest and dividend income, including any amortization and accretion (as applicable) of discounts and premiums, earned from (1) loans and leases whether held-for-sale or held-in-portfolio; (2) investment securities; (3) federal funds sold; (4) securities purchased under agreements to resell; (5) investments in banker's acceptances, commercial paper, or certificates of deposit; (6) dividend income; or (7) other investments not otherwise specified herein.",
        "label": "Interest and Dividend Income, Operating",
        "totalLabel": "TOTAL INTEREST AND DIVIDEND INCOME"
       }
      }
     },
     "localname": "InterestAndDividendIncomeOperating",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/CONSOLIDATEDSTATEMENTOFINCOMEUNAUDITED"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InterestAndDividendIncomeOperatingAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Interest and Dividend Income, Operating [Abstract]",
        "terseLabel": "INTEREST AND DIVIDEND INCOME:"
       }
      }
     },
     "localname": "InterestAndDividendIncomeOperatingAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/CONSOLIDATEDSTATEMENTOFINCOMEUNAUDITED"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_InterestAndDividendIncomeSecuritiesByTaxableStatusAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Interest and Dividend Income, Securities, by Taxable Status [Abstract]",
        "terseLabel": "Investment securities:"
       }
      }
     },
     "localname": "InterestAndDividendIncomeSecuritiesByTaxableStatusAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/CONSOLIDATEDSTATEMENTOFINCOMEUNAUDITED"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_InterestAndFeeIncomeLoansAndLeases": {
     "auth_ref": [
      "r149"
     ],
     "calculation": {
      "http://www.pwod.com/role/CONSOLIDATEDSTATEMENTOFINCOMEUNAUDITED": {
       "order": 1.0,
       "parentTag": "us-gaap_InterestAndDividendIncomeOperating",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The aggregate interest and fee income generated by: (1) loans the Entity has positive intent and ability to hold for the foreseeable future, or until maturity or payoff, including commercial and consumer loans, whether domestic or foreign, which may consist of: (a) industrial and agricultural; (b) real estate; and (c) real estate construction loans; (d) trade financing; (e) lease financing; (f) home equity lines-of-credit; (g) automobile and other vehicle loans; and (h) credit card and other revolving-type loans and (2) loans and leases held-for-sale which may include mortgage loans, direct financing, and sales-type leases.",
        "label": "Interest and Fee Income, Loans and Leases",
        "terseLabel": "Loans, including fees"
       }
      }
     },
     "localname": "InterestAndFeeIncomeLoansAndLeases",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/CONSOLIDATEDSTATEMENTOFINCOMEUNAUDITED"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InterestBearingDepositLiabilitiesDomestic": {
     "auth_ref": [
      "r141"
     ],
     "calculation": {
      "http://www.pwod.com/role/CONSOLIDATEDBALANCESHEETUNAUDITED": {
       "order": 1.0,
       "parentTag": "us-gaap_DepositsDomestic",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Total amount of interest-bearing domestic deposit liabilities, which may include brokered, retail, demand, checking, notice of withdrawal, money market and other interest-bearing deposits.",
        "label": "Interest-Bearing Deposit Liabilities, Domestic",
        "terseLabel": "Interest-bearing deposits"
       }
      }
     },
     "localname": "InterestBearingDepositLiabilitiesDomestic",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/CONSOLIDATEDBALANCESHEETUNAUDITED"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InterestBearingDepositsInBanks": {
     "auth_ref": [
      "r134",
      "r145"
     ],
     "calculation": {
      "http://www.pwod.com/role/CONSOLIDATEDBALANCESHEETUNAUDITED": {
       "order": 2.0,
       "parentTag": "us-gaap_CashAndCashEquivalentsAtCarryingValue",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "For banks and other depository institutions (including Federal Reserve Banks, if applicable): Interest-bearing deposits in other financial institutions for relatively short periods of time including, for example, certificates of deposits, which are presented separately from cash on the balance sheet.",
        "label": "Interest-Bearing Deposits in Banks and Other Financial Institutions",
        "terseLabel": "Interest-bearing balances in other financial institutions"
       }
      }
     },
     "localname": "InterestBearingDepositsInBanks",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/CONSOLIDATEDBALANCESHEETUNAUDITED"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InterestExpense": {
     "auth_ref": [
      "r131",
      "r161",
      "r208",
      "r263",
      "r501"
     ],
     "calculation": {
      "http://www.pwod.com/role/CONSOLIDATEDSTATEMENTOFINCOMEUNAUDITED": {
       "order": 2.0,
       "parentTag": "us-gaap_InterestIncomeExpenseNet",
       "weight": -1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of the cost of borrowed funds accounted for as interest expense.",
        "label": "Interest Expense",
        "totalLabel": "TOTAL INTEREST EXPENSE"
       }
      }
     },
     "localname": "InterestExpense",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/CONSOLIDATEDSTATEMENTOFINCOMEUNAUDITED"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InterestExpenseAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Interest Expense [Abstract]",
        "terseLabel": "INTEREST EXPENSE:"
       }
      }
     },
     "localname": "InterestExpenseAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/CONSOLIDATEDSTATEMENTOFINCOMEUNAUDITED"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_InterestExpenseDeposits": {
     "auth_ref": [
      "r159"
     ],
     "calculation": {
      "http://www.pwod.com/role/CONSOLIDATEDSTATEMENTOFINCOMEUNAUDITED": {
       "order": 1.0,
       "parentTag": "us-gaap_InterestExpense",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Aggregate amount of interest expense on all deposits.",
        "label": "Interest Expense, Deposits",
        "terseLabel": "Deposits"
       }
      }
     },
     "localname": "InterestExpenseDeposits",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/CONSOLIDATEDSTATEMENTOFINCOMEUNAUDITED"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InterestExpenseFederalHomeLoanBankAndFederalReserveBankAdvancesLongTerm": {
     "auth_ref": [],
     "calculation": {
      "http://www.pwod.com/role/CONSOLIDATEDSTATEMENTOFINCOMEUNAUDITED": {
       "order": 3.0,
       "parentTag": "us-gaap_InterestExpense",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Interest expense incurred during the reporting period on long-term borrowings associated with Federal Home Loan Bank and Federal Reserve Bank advances.",
        "label": "Interest Expense, Federal Home Loan Bank and Federal Reserve Bank Advances, Long-Term",
        "terseLabel": "Long-term borrowings"
       }
      }
     },
     "localname": "InterestExpenseFederalHomeLoanBankAndFederalReserveBankAdvancesLongTerm",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/CONSOLIDATEDSTATEMENTOFINCOMEUNAUDITED"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InterestExpenseShortTermBorrowings": {
     "auth_ref": [
      "r160",
      "r596",
      "r597"
     ],
     "calculation": {
      "http://www.pwod.com/role/CONSOLIDATEDSTATEMENTOFINCOMEUNAUDITED": {
       "order": 2.0,
       "parentTag": "us-gaap_InterestExpense",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The aggregate interest expense incurred on short-term borrowings including commercial paper and Federal funds purchased and securities sold under agreements to repurchase.",
        "label": "Interest Expense, Short-Term Borrowings",
        "terseLabel": "Short-term borrowings"
       }
      }
     },
     "localname": "InterestExpenseShortTermBorrowings",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/CONSOLIDATEDSTATEMENTOFINCOMEUNAUDITED"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InterestIncomeExpenseAfterProvisionForLoanLoss": {
     "auth_ref": [
      "r153"
     ],
     "calculation": {
      "http://www.pwod.com/role/CONSOLIDATEDSTATEMENTOFINCOMEUNAUDITED": {
       "order": 1.0,
       "parentTag": "us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of interest income or expense, including any amortization and accretion (as applicable) of discounts and premiums, including consideration of the provisions for loan, lease, credit, and other related losses.",
        "label": "Interest Income (Expense), after Provision for Loan Loss",
        "totalLabel": "NET INTEREST INCOME AFTER PROVISION FOR CREDIT LOSSES"
       }
      }
     },
     "localname": "InterestIncomeExpenseAfterProvisionForLoanLoss",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/CONSOLIDATEDSTATEMENTOFINCOMEUNAUDITED"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InterestIncomeExpenseNet": {
     "auth_ref": [
      "r151"
     ],
     "calculation": {
      "http://www.pwod.com/role/CONSOLIDATEDSTATEMENTOFINCOMEUNAUDITED": {
       "order": 2.0,
       "parentTag": "us-gaap_InterestIncomeExpenseAfterProvisionForLoanLoss",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The net amount of operating interest income (expense).",
        "label": "Interest Income (Expense), Net",
        "totalLabel": "NET INTEREST INCOME"
       }
      }
     },
     "localname": "InterestIncomeExpenseNet",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/CONSOLIDATEDSTATEMENTOFINCOMEUNAUDITED"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InterestIncomeSecuritiesTaxExempt": {
     "auth_ref": [
      "r157",
      "r596",
      "r597"
     ],
     "calculation": {
      "http://www.pwod.com/role/CONSOLIDATEDSTATEMENTOFINCOMEUNAUDITED": {
       "order": 3.0,
       "parentTag": "us-gaap_InterestAndDividendIncomeOperating",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of operating interest income, including amortization and accretion of premiums and discounts, on securities exempt from state, federal and other income tax.",
        "label": "Interest Income, Securities, Operating, Tax Exempt",
        "terseLabel": "Tax-exempt"
       }
      }
     },
     "localname": "InterestIncomeSecuritiesTaxExempt",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/CONSOLIDATEDSTATEMENTOFINCOMEUNAUDITED"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InterestIncomeSecuritiesTaxable": {
     "auth_ref": [
      "r157",
      "r596",
      "r597"
     ],
     "calculation": {
      "http://www.pwod.com/role/CONSOLIDATEDSTATEMENTOFINCOMEUNAUDITED": {
       "order": 2.0,
       "parentTag": "us-gaap_InterestAndDividendIncomeOperating",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of operating interest income, including amortization and accretion of premiums and discounts, on securities subject to state, federal and other income tax.",
        "label": "Interest Income, Securities, Operating, Taxable",
        "terseLabel": "Taxable"
       }
      }
     },
     "localname": "InterestIncomeSecuritiesTaxable",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/CONSOLIDATEDSTATEMENTOFINCOMEUNAUDITED"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InterestPaidNet": {
     "auth_ref": [
      "r215",
      "r218",
      "r219"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of cash paid for interest, excluding capitalized interest, classified as operating activity. Includes, but is not limited to, payment to settle zero-coupon bond for accreted interest of debt discount and debt instrument with insignificant coupon interest rate in relation to effective interest rate of borrowing attributable to accreted interest of debt discount.",
        "label": "Interest Paid, Excluding Capitalized Interest, Operating Activities",
        "terseLabel": "Interest paid"
       }
      }
     },
     "localname": "InterestPaidNet",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/CONSOLIDATEDSTATEMENTOFCASHFLOWSUNAUDITED"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InterestReceivable": {
     "auth_ref": [
      "r650"
     ],
     "calculation": {
      "http://www.pwod.com/role/CONSOLIDATEDBALANCESHEETUNAUDITED": {
       "order": 5.0,
       "parentTag": "us-gaap_Assets",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Carrying amount as of the balance sheet date of interest earned but not received. Also called accrued interest or accrued interest receivable.",
        "label": "Interest Receivable",
        "terseLabel": "Accrued interest receivable"
       }
      }
     },
     "localname": "InterestReceivable",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/CONSOLIDATEDBALANCESHEETUNAUDITED"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InternalCreditAssessmentAxis": {
     "auth_ref": [
      "r71",
      "r450",
      "r617",
      "r618",
      "r622",
      "r684"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by entity-defined rating.",
        "label": "Internal Credit Assessment [Axis]",
        "terseLabel": "Internal Credit Assessment [Axis]"
       }
      }
     },
     "localname": "InternalCreditAssessmentAxis",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/LoansCreditQualityIndicatorsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_InternalCreditAssessmentDomain": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Entity defined credit risk rating.",
        "label": "Internal Credit Assessment [Domain]",
        "terseLabel": "Financing Receivable, by Credit Quality Indicator [Domain]"
       }
      }
     },
     "localname": "InternalCreditAssessmentDomain",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/LoansCreditQualityIndicatorsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_InvestmentHoldingsLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "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.",
        "label": "Investment Holdings [Line Items]",
        "terseLabel": "Investment securities"
       }
      }
     },
     "localname": "InvestmentHoldingsLineItems",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/InvestmentSecuritiesAmortizedCostandFairValuesofInvestmentSecuritiesAvailableforSaleDetails",
      "http://www.pwod.com/role/InvestmentSecuritiesGrossUnrealizedLossesandFairValuebyInvestmentCategoryDetails",
      "http://www.pwod.com/role/InvestmentSecuritiesTotalGrossProceedsfromSalesofSecuritiesDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_InvestmentHoldingsTable": {
     "auth_ref": [
      "r176",
      "r177",
      "r589",
      "r758"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The investment holdings table is used for any listing of investments. The \"Investment [Axis]\" identifies the investment for which the line items apply. The other axes are used for categorizing the investments and creating useful subtotals. These axes cover different categorizations. The appropriate axes are expected to be used. Additional axes can be added for alternative categorizations.",
        "label": "Investment Holdings [Table]",
        "terseLabel": "Investment Holdings [Table]"
       }
      }
     },
     "localname": "InvestmentHoldingsTable",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/InvestmentSecuritiesAmortizedCostandFairValuesofInvestmentSecuritiesAvailableforSaleDetails",
      "http://www.pwod.com/role/InvestmentSecuritiesGrossUnrealizedLossesandFairValuebyInvestmentCategoryDetails",
      "http://www.pwod.com/role/InvestmentSecuritiesTotalGrossProceedsfromSalesofSecuritiesDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_InvestmentsClassifiedByContractualMaturityDateTableTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of maturities of an entity's investments as well as any other information pertinent to the investments.",
        "label": "Investments Classified by Contractual Maturity Date [Table Text Block]",
        "terseLabel": "Schedule of amortized cost and fair value of debt securities by contractual maturity"
       }
      }
     },
     "localname": "InvestmentsClassifiedByContractualMaturityDateTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/InvestmentSecuritiesTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_InvestmentsDebtAndEquitySecuritiesAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Investments, Debt and Equity Securities [Abstract]",
        "terseLabel": "Investments, Debt and Equity Securities [Abstract]"
       }
      }
     },
     "localname": "InvestmentsDebtAndEquitySecuritiesAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "xbrltype": "stringItemType"
    },
    "us-gaap_InvestmentsInAffiliatesSubsidiariesAssociatesAndJointVentures": {
     "auth_ref": [
      "r649"
     ],
     "calculation": {
      "http://www.pwod.com/role/CONSOLIDATEDBALANCESHEETUNAUDITED": {
       "order": 14.0,
       "parentTag": "us-gaap_Assets",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of investment in equity method investee and investment in and advance to affiliate.",
        "label": "Investments in and Advance to Affiliates, Subsidiaries, Associates, and Joint Ventures",
        "terseLabel": "Investment in limited partnerships"
       }
      }
     },
     "localname": "InvestmentsInAffiliatesSubsidiariesAssociatesAndJointVentures",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/CONSOLIDATEDBALANCESHEETUNAUDITED"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InvestmentsInDebtAndMarketableEquitySecuritiesAndCertainTradingAssetsDisclosureTextBlock": {
     "auth_ref": [
      "r88",
      "r133",
      "r162",
      "r178",
      "r598"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure for investments in certain debt and equity securities.",
        "label": "Investments in Debt and Marketable Equity Securities (and Certain Trading Assets) Disclosure [Text Block]",
        "terseLabel": "Investment Securities"
       }
      }
     },
     "localname": "InvestmentsInDebtAndMarketableEquitySecuritiesAndCertainTradingAssetsDisclosureTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/InvestmentSecurities"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_LaborAndRelatedExpense": {
     "auth_ref": [
      "r655"
     ],
     "calculation": {
      "http://www.pwod.com/role/CONSOLIDATEDSTATEMENTOFINCOMEUNAUDITED": {
       "order": 1.0,
       "parentTag": "us-gaap_NoninterestExpense",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of expense for salary, wage, profit sharing; incentive and equity-based compensation; and other employee benefit.",
        "label": "Labor and Related Expense",
        "terseLabel": "Salaries and employee benefits"
       }
      }
     },
     "localname": "LaborAndRelatedExpense",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/CONSOLIDATEDSTATEMENTOFINCOMEUNAUDITED"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_Liabilities": {
     "auth_ref": [
      "r8",
      "r220",
      "r304",
      "r344",
      "r345",
      "r346",
      "r347",
      "r348",
      "r349",
      "r350",
      "r351",
      "r352",
      "r445",
      "r448",
      "r449",
      "r480",
      "r608",
      "r694",
      "r746",
      "r747"
     ],
     "calculation": {
      "http://www.pwod.com/role/CONSOLIDATEDBALANCESHEETUNAUDITED": {
       "order": 1.0,
       "parentTag": "us-gaap_LiabilitiesAndStockholdersEquity",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Sum of the carrying amounts as of the balance sheet date of all liabilities that are recognized. Liabilities are probable future sacrifices of economic benefits arising from present obligations of an entity to transfer assets or provide services to other entities in the future.",
        "label": "Liabilities",
        "totalLabel": "TOTAL LIABILITIES"
       }
      }
     },
     "localname": "Liabilities",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/CONSOLIDATEDBALANCESHEETUNAUDITED"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LiabilitiesAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Liabilities [Abstract]",
        "terseLabel": "LIABILITIES:"
       }
      }
     },
     "localname": "LiabilitiesAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/CONSOLIDATEDBALANCESHEETUNAUDITED"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_LiabilitiesAndStockholdersEquity": {
     "auth_ref": [
      "r7",
      "r139",
      "r168",
      "r637",
      "r662",
      "r679",
      "r741"
     ],
     "calculation": {
      "http://www.pwod.com/role/CONSOLIDATEDBALANCESHEETUNAUDITED": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of liabilities and equity items, including the portion of equity attributable to noncontrolling interests, if any.",
        "label": "Liabilities and Equity",
        "totalLabel": "TOTAL LIABILITIES AND SHAREHOLDERS\u2019 EQUITY"
       }
      }
     },
     "localname": "LiabilitiesAndStockholdersEquity",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/CONSOLIDATEDBALANCESHEETUNAUDITED"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LoanAndLeaseReceivablesImpairedAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Loan and Lease Receivables, Impaired [Abstract]",
        "terseLabel": "Loans:"
       }
      }
     },
     "localname": "LoanAndLeaseReceivablesImpairedAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/LoansAllowanceforLoanLossesDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_LoansAndLeasesReceivableDisclosureAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Loans and Leases Receivable Disclosure [Abstract]",
        "terseLabel": "Loans and Leases Receivable Disclosure [Abstract]"
       }
      }
     },
     "localname": "LoansAndLeasesReceivableDisclosureAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "xbrltype": "stringItemType"
    },
    "us-gaap_LoansHeldForSaleFairValueDisclosure": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fair value portion of loans held-for-sale including, but not limited to, mortgage loans and finance receivables.",
        "label": "Loans Held-for-sale, Fair Value Disclosure",
        "terseLabel": "Loans held for sale"
       }
      }
     },
     "localname": "LoansHeldForSaleFairValueDisclosure",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/FairValueofFinancialInstrumentsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LoansNotesTradeAndOtherReceivablesDisclosureTextBlock": {
     "auth_ref": [
      "r671"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure for claims held for amounts due a entity, excluding financing receivables. Examples include, but are not limited to, trade accounts receivables, notes receivables, loans receivables. Includes disclosure for allowance for credit losses.",
        "label": "Loans, Notes, Trade and Other Receivables Disclosure [Text Block]",
        "terseLabel": "Loans"
       }
      }
     },
     "localname": "LoansNotesTradeAndOtherReceivablesDisclosureTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/Loans"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_LoansReceivableFairValueDisclosure": {
     "auth_ref": [
      "r75"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fair value portion of loan receivable, including, but not limited to, mortgage loans held for investment, finance receivables held for investment, policy loans on insurance contracts.",
        "label": "Loans Receivable, Fair Value Disclosure",
        "terseLabel": "Loans, net"
       }
      }
     },
     "localname": "LoansReceivableFairValueDisclosure",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/FairValueofFinancialInstrumentsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LoansReceivableHeldForSaleNetNotPartOfDisposalGroup": {
     "auth_ref": [
      "r277",
      "r590"
     ],
     "calculation": {
      "http://www.pwod.com/role/CONSOLIDATEDBALANCESHEETUNAUDITED": {
       "order": 15.0,
       "parentTag": "us-gaap_Assets",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount, after valuation allowance, of financing receivable held for sale and not part of disposal group. Excludes loan covered under loss sharing agreement and loan classified as investment in debt security.",
        "label": "Financing Receivable, Held-for-Sale, Not Part of Disposal Group, after Valuation Allowance",
        "terseLabel": "Loans held for sale"
       }
      }
     },
     "localname": "LoansReceivableHeldForSaleNetNotPartOfDisposalGroup",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/CONSOLIDATEDBALANCESHEETUNAUDITED"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LongTermDebtAndCapitalLeaseObligations": {
     "auth_ref": [
      "r2"
     ],
     "calculation": {
      "http://www.pwod.com/role/CONSOLIDATEDBALANCESHEETUNAUDITED": {
       "order": 5.0,
       "parentTag": "us-gaap_Liabilities",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of long-term debt and lease obligation, classified as noncurrent.",
        "label": "Long-Term Debt and Lease Obligation",
        "terseLabel": "Long-term borrowings"
       }
      }
     },
     "localname": "LongTermDebtAndCapitalLeaseObligations",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/CONSOLIDATEDBALANCESHEETUNAUDITED"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_MarketApproachValuationTechniqueMember": {
     "auth_ref": [
      "r122"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Valuation approach using price and other relevant information generated by market transaction involving identical or comparable asset, liability, or group of assets and liabilities.",
        "label": "Valuation, Market Approach [Member]",
        "terseLabel": "Appraisal of collateral"
       }
      }
     },
     "localname": "MarketApproachValuationTechniqueMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/FairValueMeasurementsSignificantUnobservableInputsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_MarketingExpense": {
     "auth_ref": [
      "r25"
     ],
     "calculation": {
      "http://www.pwod.com/role/CONSOLIDATEDSTATEMENTOFINCOMEUNAUDITED": {
       "order": 8.0,
       "parentTag": "us-gaap_NoninterestExpense",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Expenditures for planning and executing the conception, pricing, promotion, and distribution of ideas, goods, and services. Costs of public relations and corporate promotions are typically considered to be marketing costs.",
        "label": "Marketing Expense",
        "terseLabel": "Marketing"
       }
      }
     },
     "localname": "MarketingExpense",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/CONSOLIDATEDSTATEMENTOFINCOMEUNAUDITED"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_MeasurementInputAppraisedValueMember": {
     "auth_ref": [
      "r739"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Measurement input using assessed value of property.",
        "label": "Measurement Input, Appraised Value [Member]",
        "terseLabel": "Measurement input, appraised value"
       }
      }
     },
     "localname": "MeasurementInputAppraisedValueMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/FairValueMeasurementsSignificantUnobservableInputsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_MeasurementInputTypeAxis": {
     "auth_ref": [
      "r470"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by type of measurement input used to determine value of asset and liability.",
        "label": "Measurement Input Type [Axis]",
        "terseLabel": "Measurement Input Type [Axis]"
       }
      }
     },
     "localname": "MeasurementInputTypeAxis",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/FairValueMeasurementsSignificantUnobservableInputsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_MeasurementInputTypeDomain": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Measurement input used to determine value of asset and liability.",
        "label": "Measurement Input Type [Domain]",
        "terseLabel": "Measurement Input Type [Domain]"
       }
      }
     },
     "localname": "MeasurementInputTypeDomain",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/FairValueMeasurementsSignificantUnobservableInputsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_MortgageBackedSecuritiesIssuedByUSGovernmentSponsoredEnterprisesMember": {
     "auth_ref": [
      "r699"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Debt securities collateralized by real estate mortgage loans (mortgages), issued by US Government Sponsored Enterprises, such as Federal Home Loan Mortgage Corporation (FHLMC or Freddie Mac).",
        "label": "Mortgage-Backed Securities, Issued by US Government Sponsored Enterprises [Member]",
        "terseLabel": "Mortgage-backed securities",
        "verboseLabel": "Mortgage-backed securities"
       }
      }
     },
     "localname": "MortgageBackedSecuritiesIssuedByUSGovernmentSponsoredEnterprisesMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/FairValueMeasurementsRecurringAssetsDetails",
      "http://www.pwod.com/role/InvestmentSecuritiesAmortizedCostandFairValuesofInvestmentSecuritiesAvailableforSaleDetails",
      "http://www.pwod.com/role/InvestmentSecuritiesGrossUnrealizedLossesandFairValuebyInvestmentCategoryDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_MortgageLoansInProcessOfForeclosureAmount": {
     "auth_ref": [
      "r72"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Recorded investment of consumer mortgage loan receivables secured by residential real estate properties for which formal foreclosure proceedings are in process.",
        "label": "Mortgage Loans in Process of Foreclosure, Amount",
        "terseLabel": "Mortgage loans in process of foreclosure, amount"
       }
      }
     },
     "localname": "MortgageLoansInProcessOfForeclosureAmount",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/LoansNarrativeDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_NetCashProvidedByUsedInFinancingActivities": {
     "auth_ref": [
      "r217"
     ],
     "calculation": {
      "http://www.pwod.com/role/CONSOLIDATEDSTATEMENTOFCASHFLOWSUNAUDITED": {
       "order": 3.0,
       "parentTag": "us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of cash inflow (outflow) from financing activities, including discontinued operations. Financing activity cash flows include obtaining resources from owners and providing them with a return on, and a return of, their investment; borrowing money and repaying amounts borrowed, or settling the obligation; and obtaining and paying for other resources obtained from creditors on long-term credit.",
        "label": "Net Cash Provided by (Used in) Financing Activities",
        "totalLabel": "Net cash provided by (used for) financing activities"
       }
      }
     },
     "localname": "NetCashProvidedByUsedInFinancingActivities",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/CONSOLIDATEDSTATEMENTOFCASHFLOWSUNAUDITED"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_NetCashProvidedByUsedInFinancingActivitiesContinuingOperationsAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Net Cash Provided by (Used in) Financing Activities, Continuing Operations [Abstract]",
        "terseLabel": "FINANCING ACTIVITIES:"
       }
      }
     },
     "localname": "NetCashProvidedByUsedInFinancingActivitiesContinuingOperationsAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/CONSOLIDATEDSTATEMENTOFCASHFLOWSUNAUDITED"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_NetCashProvidedByUsedInInvestingActivities": {
     "auth_ref": [
      "r217"
     ],
     "calculation": {
      "http://www.pwod.com/role/CONSOLIDATEDSTATEMENTOFCASHFLOWSUNAUDITED": {
       "order": 2.0,
       "parentTag": "us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of cash inflow (outflow) from investing activities, including discontinued operations. Investing activity cash flows include making and collecting loans and acquiring and disposing of debt or equity instruments and property, plant, and equipment and other productive assets.",
        "label": "Net Cash Provided by (Used in) Investing Activities",
        "totalLabel": "Net cash used for investing activities"
       }
      }
     },
     "localname": "NetCashProvidedByUsedInInvestingActivities",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/CONSOLIDATEDSTATEMENTOFCASHFLOWSUNAUDITED"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_NetCashProvidedByUsedInInvestingActivitiesContinuingOperationsAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Net Cash Provided by (Used in) Investing Activities, Continuing Operations [Abstract]",
        "terseLabel": "INVESTING ACTIVITIES:"
       }
      }
     },
     "localname": "NetCashProvidedByUsedInInvestingActivitiesContinuingOperationsAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/CONSOLIDATEDSTATEMENTOFCASHFLOWSUNAUDITED"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_NetCashProvidedByUsedInOperatingActivities": {
     "auth_ref": [
      "r35",
      "r37",
      "r40"
     ],
     "calculation": {
      "http://www.pwod.com/role/CONSOLIDATEDSTATEMENTOFCASHFLOWSUNAUDITED": {
       "order": 1.0,
       "parentTag": "us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect",
       "weight": 1.0
      }
     },
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of cash inflow (outflow) from operating activities, including discontinued operations. Operating activity cash flows include transactions, adjustments, and changes in value not defined as investing or financing activities.",
        "label": "Net Cash Provided by (Used in) Operating Activities",
        "totalLabel": "Net cash provided by operating activities"
       }
      }
     },
     "localname": "NetCashProvidedByUsedInOperatingActivities",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/CONSOLIDATEDSTATEMENTOFCASHFLOWSUNAUDITED"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperationsAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Net Cash Provided by (Used in) Operating Activities, Continuing Operations [Abstract]",
        "terseLabel": "OPERATING ACTIVITIES:"
       }
      }
     },
     "localname": "NetCashProvidedByUsedInOperatingActivitiesContinuingOperationsAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/CONSOLIDATEDSTATEMENTOFCASHFLOWSUNAUDITED"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_NetChangeInterestBearingDepositsDomestic": {
     "auth_ref": [
      "r42"
     ],
     "calculation": {
      "http://www.pwod.com/role/CONSOLIDATEDSTATEMENTOFCASHFLOWSUNAUDITED": {
       "order": 6.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The increase (decrease) in interest-bearing deposits domestic.",
        "label": "Net Change Interest-Bearing Deposits, Domestic",
        "terseLabel": "Net increase (decrease) in interest-bearing deposits"
       }
      }
     },
     "localname": "NetChangeInterestBearingDepositsDomestic",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/CONSOLIDATEDSTATEMENTOFCASHFLOWSUNAUDITED"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_NetChangeNoninterestBearingDepositsDomestic": {
     "auth_ref": [
      "r42"
     ],
     "calculation": {
      "http://www.pwod.com/role/CONSOLIDATEDSTATEMENTOFCASHFLOWSUNAUDITED": {
       "order": 4.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The increase (decrease) in domestic noninterest bearing deposits.",
        "label": "Net Change Noninterest-Bearing Deposits, Domestic",
        "terseLabel": "Net (decrease) increase in noninterest-bearing deposits"
       }
      }
     },
     "localname": "NetChangeNoninterestBearingDepositsDomestic",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/CONSOLIDATEDSTATEMENTOFCASHFLOWSUNAUDITED"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_NetIncomeLoss": {
     "auth_ref": [
      "r23",
      "r40",
      "r148",
      "r170",
      "r188",
      "r200",
      "r203",
      "r207",
      "r220",
      "r228",
      "r232",
      "r233",
      "r234",
      "r235",
      "r238",
      "r239",
      "r251",
      "r265",
      "r267",
      "r271",
      "r273",
      "r304",
      "r344",
      "r345",
      "r346",
      "r347",
      "r348",
      "r349",
      "r350",
      "r351",
      "r352",
      "r463",
      "r480",
      "r609",
      "r694"
     ],
     "calculation": {
      "http://www.pwod.com/role/CONSOLIDATEDSTATEMENTOFCOMPREHENSIVEINCOMELOSS": {
       "order": 1.0,
       "parentTag": "us-gaap_ComprehensiveIncomeNetOfTax",
       "weight": 1.0
      },
      "http://www.pwod.com/role/CONSOLIDATEDSTATEMENTOFINCOMEUNAUDITED": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The portion of profit or loss for the period, net of income taxes, which is attributable to the parent.",
        "label": "Net Income (Loss) Attributable to Parent",
        "terseLabel": "Net Income",
        "totalLabel": "Net Income"
       }
      }
     },
     "localname": "NetIncomeLoss",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/AccumulatedOtherComprehensiveLossScheduleofReclassificationsoutofAOCIDetails",
      "http://www.pwod.com/role/CONSOLIDATEDSTATEMENTOFCOMPREHENSIVEINCOMELOSS",
      "http://www.pwod.com/role/CONSOLIDATEDSTATEMENTOFINCOMEUNAUDITED"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_NewAccountingPronouncementsAndChangesInAccountingPrinciplesAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Accounting Standards Update and Change in Accounting Principle [Abstract]",
        "terseLabel": "New Accounting Pronouncements and Changes in Accounting Principles [Abstract]"
       }
      }
     },
     "localname": "NewAccountingPronouncementsAndChangesInAccountingPrinciplesAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "xbrltype": "stringItemType"
    },
    "us-gaap_NewAccountingPronouncementsAndChangesInAccountingPrinciplesTextBlock": {
     "auth_ref": [
      "r187",
      "r226",
      "r227",
      "r230",
      "r231",
      "r240",
      "r241",
      "r242",
      "r287",
      "r288",
      "r309",
      "r310",
      "r435",
      "r436",
      "r437",
      "r459",
      "r465",
      "r466",
      "r467",
      "r487",
      "r488",
      "r489",
      "r505",
      "r506",
      "r512",
      "r518",
      "r552",
      "r553",
      "r554",
      "r582",
      "r583",
      "r584",
      "r585",
      "r587"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure for change in accounting principle. Includes, but is not limited to, nature, reason, and method of adopting amendment to accounting standards or other change in accounting principle.",
        "label": "Accounting Standards Update and Change in Accounting Principle [Text Block]",
        "terseLabel": "Recent Accounting Pronouncements"
       }
      }
     },
     "localname": "NewAccountingPronouncementsAndChangesInAccountingPrinciplesTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/RecentAccountingPronouncements"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_NewAccountingPronouncementsPolicyPolicyTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy pertaining to new accounting pronouncements that may impact the entity's financial reporting. Includes, but is not limited to, quantification of the expected or actual impact.",
        "label": "New Accounting Pronouncements, Policy [Policy Text Block]",
        "terseLabel": "CECL Adoption and Updated Significant Accounting Policy"
       }
      }
     },
     "localname": "NewAccountingPronouncementsPolicyPolicyTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/BasisofPresentationPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_NoncashInvestingAndFinancingItemsAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Noncash Investing and Financing Items [Abstract]",
        "terseLabel": "Non-cash investing and financing activities:"
       }
      }
     },
     "localname": "NoncashInvestingAndFinancingItemsAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/CONSOLIDATEDSTATEMENTOFCASHFLOWSUNAUDITED"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_NoninterestBearingDepositLiabilitiesDomestic": {
     "auth_ref": [
      "r141"
     ],
     "calculation": {
      "http://www.pwod.com/role/CONSOLIDATEDBALANCESHEETUNAUDITED": {
       "order": 2.0,
       "parentTag": "us-gaap_DepositsDomestic",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of domestic noninterest-bearing deposits held by the entity, which may include demand deposits, checking, brokered and retail deposits.",
        "label": "Noninterest-Bearing Deposit Liabilities, Domestic",
        "terseLabel": "Noninterest-bearing deposits"
       }
      }
     },
     "localname": "NoninterestBearingDepositLiabilitiesDomestic",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/CONSOLIDATEDBALANCESHEETUNAUDITED"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_NoninterestExpense": {
     "auth_ref": [
      "r156"
     ],
     "calculation": {
      "http://www.pwod.com/role/CONSOLIDATEDSTATEMENTOFINCOMEUNAUDITED": {
       "order": 3.0,
       "parentTag": "us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest",
       "weight": -1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Total aggregate amount of all noninterest expense.",
        "label": "Noninterest Expense",
        "totalLabel": "TOTAL NON-INTEREST EXPENSE"
       }
      }
     },
     "localname": "NoninterestExpense",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/CONSOLIDATEDSTATEMENTOFINCOMEUNAUDITED"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_NoninterestExpenseAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Noninterest Expense [Abstract]",
        "terseLabel": "NON-INTEREST EXPENSE:"
       }
      }
     },
     "localname": "NoninterestExpenseAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/CONSOLIDATEDSTATEMENTOFINCOMEUNAUDITED"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_NoninterestIncome": {
     "auth_ref": [
      "r154"
     ],
     "calculation": {
      "http://www.pwod.com/role/CONSOLIDATEDSTATEMENTOFINCOMEUNAUDITED": {
       "order": 2.0,
       "parentTag": "us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The total amount of noninterest income which may be derived from: (1) fees and commissions; (2) premiums earned; (3) insurance policy charges; (4) the sale or disposal of assets; and (5) other sources not otherwise specified.",
        "label": "Noninterest Income",
        "totalLabel": "TOTAL NON-INTEREST INCOME"
       }
      }
     },
     "localname": "NoninterestIncome",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/CONSOLIDATEDSTATEMENTOFINCOMEUNAUDITED"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_NoninterestIncomeAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Noninterest Income [Abstract]",
        "terseLabel": "NON-INTEREST INCOME:"
       }
      }
     },
     "localname": "NoninterestIncomeAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/CONSOLIDATEDSTATEMENTOFINCOMEUNAUDITED"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_NoninterestIncomeOtherOperatingIncome": {
     "auth_ref": [
      "r21",
      "r146",
      "r171"
     ],
     "calculation": {
      "http://www.pwod.com/role/CONSOLIDATEDSTATEMENTOFINCOMEUNAUDITED": {
       "order": 5.0,
       "parentTag": "us-gaap_NoninterestIncome",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of revenue earned, classified as other, excluding interest income.",
        "label": "Noninterest Income, Other Operating Income",
        "terseLabel": "Other"
       }
      }
     },
     "localname": "NoninterestIncomeOtherOperatingIncome",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/CONSOLIDATEDSTATEMENTOFINCOMEUNAUDITED"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OccupancyNet": {
     "auth_ref": [
      "r26",
      "r155",
      "r181"
     ],
     "calculation": {
      "http://www.pwod.com/role/CONSOLIDATEDSTATEMENTOFINCOMEUNAUDITED": {
       "order": 2.0,
       "parentTag": "us-gaap_NoninterestExpense",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of net occupancy expense that may include items, such as depreciation of facilities and equipment, lease expenses, property taxes and property and casualty insurance expense.",
        "label": "Occupancy, Net",
        "terseLabel": "Occupancy"
       }
      }
     },
     "localname": "OccupancyNet",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/CONSOLIDATEDSTATEMENTOFINCOMEUNAUDITED"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OffBalanceSheetCreditLossLiability": {
     "auth_ref": [
      "r313",
      "r342"
     ],
     "calculation": {
      "http://www.pwod.com/role/LoansComponentsoftheAllowanceDetails": {
       "order": 1.0,
       "parentTag": "pwod_FinancingReceivableExcludingInterestAllowanceForCreditLossesAndOffBalanceSheetCreditLossLiability",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of expected credit loss for credit exposure on off-balance-sheet commitment, including but not limited to, loan commitment, standby letter of credit, financial guarantee not accounted for as insurance. Excludes off-balance sheet credit exposure accounted for as insurance and instrument accounted for under derivatives and hedging.",
        "label": "Off-Balance-Sheet, Credit Loss, Liability",
        "terseLabel": "ACL - off balance sheet credit exposure",
        "verboseLabel": "Allowance for credit losses"
       }
      }
     },
     "localname": "OffBalanceSheetCreditLossLiability",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/BasisofPresentationNarrativeDetails",
      "http://www.pwod.com/role/BasisofPresentationSummaryofImpactofCECLDetails",
      "http://www.pwod.com/role/LoansComponentsoftheAllowanceDetails",
      "http://www.pwod.com/role/OffBalanceSheetRiskDetails",
      "http://www.pwod.com/role/RecentAccountingPronouncementsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OffBalanceSheetCreditLossLiabilityAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Off-Balance-Sheet, Credit Loss, Liability [Abstract]",
        "terseLabel": "Liabilities"
       }
      }
     },
     "localname": "OffBalanceSheetCreditLossLiabilityAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/BasisofPresentationSummaryofImpactofCECLDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_OperatingLeaseLiability": {
     "auth_ref": [
      "r508"
     ],
     "calculation": {
      "http://www.pwod.com/role/CONSOLIDATEDBALANCESHEETUNAUDITED": {
       "order": 3.0,
       "parentTag": "us-gaap_Liabilities",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Present value of lessee's discounted obligation for lease payments from operating lease.",
        "label": "Operating Lease, Liability",
        "terseLabel": "Operating lease liability"
       }
      }
     },
     "localname": "OperatingLeaseLiability",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/CONSOLIDATEDBALANCESHEETUNAUDITED"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OperatingLeaseRightOfUseAsset": {
     "auth_ref": [
      "r507"
     ],
     "calculation": {
      "http://www.pwod.com/role/CONSOLIDATEDBALANCESHEETUNAUDITED": {
       "order": 12.0,
       "parentTag": "us-gaap_Assets",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of lessee's right to use underlying asset under operating lease.",
        "label": "Operating Lease, Right-of-Use Asset",
        "terseLabel": "Operating lease right-of-use asset"
       }
      }
     },
     "localname": "OperatingLeaseRightOfUseAsset",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/CONSOLIDATEDBALANCESHEETUNAUDITED"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OrganizationConsolidationAndPresentationOfFinancialStatementsAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Organization, Consolidation and Presentation of Financial Statements [Abstract]",
        "terseLabel": "Organization, Consolidation and Presentation of Financial Statements [Abstract]"
       }
      }
     },
     "localname": "OrganizationConsolidationAndPresentationOfFinancialStatementsAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "xbrltype": "stringItemType"
    },
    "us-gaap_OrganizationConsolidationAndPresentationOfFinancialStatementsDisclosureTextBlock": {
     "auth_ref": [
      "r0",
      "r119"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure for organization, consolidation and basis of presentation of financial statements disclosure.",
        "label": "Organization, Consolidation and Presentation of Financial Statements Disclosure [Text Block]",
        "terseLabel": "Basis of Presentation"
       }
      }
     },
     "localname": "OrganizationConsolidationAndPresentationOfFinancialStatementsDisclosureTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/BasisofPresentation"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_OtherAssets": {
     "auth_ref": [
      "r136",
      "r164",
      "r191"
     ],
     "calculation": {
      "http://www.pwod.com/role/CONSOLIDATEDBALANCESHEETUNAUDITED": {
       "order": 6.0,
       "parentTag": "us-gaap_Assets",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of assets classified as other.",
        "label": "Other Assets",
        "terseLabel": "Other assets"
       }
      }
     },
     "localname": "OtherAssets",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/CONSOLIDATEDBALANCESHEETUNAUDITED"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OtherComprehensiveIncomeLossBeforeReclassificationsNetOfTax": {
     "auth_ref": [
      "r17",
      "r20",
      "r206",
      "r492",
      "r494",
      "r498",
      "r652"
     ],
     "calculation": {
      "http://www.pwod.com/role/AccumulatedOtherComprehensiveLossScheduleofAOCIDetails": {
       "order": 1.0,
       "parentTag": "us-gaap_OtherComprehensiveIncomeLossNetOfTax",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount after tax, before reclassification adjustments of other comprehensive income (loss).",
        "label": "Other Comprehensive Income (Loss), before Reclassifications, Net of Tax",
        "terseLabel": "Other comprehensive income (loss) before reclassifications"
       }
      }
     },
     "localname": "OtherComprehensiveIncomeLossBeforeReclassificationsNetOfTax",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/AccumulatedOtherComprehensiveLossScheduleofAOCIDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OtherComprehensiveIncomeLossNetOfTax": {
     "auth_ref": [
      "r20",
      "r96",
      "r201",
      "r204",
      "r209",
      "r492",
      "r497",
      "r498",
      "r558",
      "r567",
      "r652",
      "r653"
     ],
     "calculation": {
      "http://www.pwod.com/role/AccumulatedOtherComprehensiveLossScheduleofAOCIDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount after tax and reclassification adjustments of other comprehensive income (loss).",
        "label": "Other Comprehensive Income (Loss), Net of Tax",
        "totalLabel": "Net current-period other comprehensive income (loss)"
       }
      }
     },
     "localname": "OtherComprehensiveIncomeLossNetOfTax",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/AccumulatedOtherComprehensiveLossScheduleofAOCIDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent": {
     "auth_ref": [
      "r113",
      "r114",
      "r116",
      "r201",
      "r204"
     ],
     "calculation": {
      "http://www.pwod.com/role/CONSOLIDATEDSTATEMENTOFCOMPREHENSIVEINCOMELOSS": {
       "order": 2.0,
       "parentTag": "us-gaap_ComprehensiveIncomeNetOfTax",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount after tax of other comprehensive income (loss) attributable to parent entity.",
        "label": "Other Comprehensive Income (Loss), Net of Tax, Portion Attributable to Parent",
        "terseLabel": "Other comprehensive loss",
        "totalLabel": "Total other comprehensive income (loss)"
       }
      }
     },
     "localname": "OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/CONSOLIDATEDSTATEMENTOFCHANGESINSHAREHOLDERSEQUITYUNAUDITED",
      "http://www.pwod.com/role/CONSOLIDATEDSTATEMENTOFCOMPREHENSIVEINCOMELOSS"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParentAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Other Comprehensive Income (Loss), Net of Tax, Portion Attributable to Parent [Abstract]",
        "terseLabel": "Other comprehensive income (loss):"
       }
      }
     },
     "localname": "OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParentAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/CONSOLIDATEDSTATEMENTOFCOMPREHENSIVEINCOMELOSS"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_OtherComprehensiveIncomeLossPensionAndOtherPostretirementBenefitPlansAdjustmentBeforeTax": {
     "auth_ref": [
      "r13",
      "r15",
      "r629",
      "r700"
     ],
     "calculation": {
      "http://www.pwod.com/role/CONSOLIDATEDSTATEMENTOFCOMPREHENSIVEINCOMELOSS": {
       "order": 5.0,
       "parentTag": "us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent",
       "weight": -1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount, before tax, after reclassification adjustment, of (increase) decrease in accumulated other comprehensive income for defined benefit plan.",
        "label": "Other Comprehensive (Income) Loss, Defined Benefit Plan, after Reclassification Adjustment, before Tax",
        "negatedTerseLabel": "Amortization of unrecognized pension loss"
       }
      }
     },
     "localname": "OtherComprehensiveIncomeLossPensionAndOtherPostretirementBenefitPlansAdjustmentBeforeTax",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/CONSOLIDATEDSTATEMENTOFCOMPREHENSIVEINCOMELOSS"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OtherComprehensiveIncomeLossPensionAndOtherPostretirementBenefitPlansTax": {
     "auth_ref": [
      "r13",
      "r16",
      "r113"
     ],
     "calculation": {
      "http://www.pwod.com/role/CONSOLIDATEDSTATEMENTOFCOMPREHENSIVEINCOMELOSS": {
       "order": 6.0,
       "parentTag": "us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount, after reclassification adjustment, of tax (expense) benefit for (increase) decrease in accumulated other comprehensive income of defined benefit plan.",
        "label": "Other Comprehensive (Income) Loss, Defined Benefit Plan, after Reclassification Adjustment, Tax",
        "terseLabel": "Tax effect"
       }
      }
     },
     "localname": "OtherComprehensiveIncomeLossPensionAndOtherPostretirementBenefitPlansTax",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/CONSOLIDATEDSTATEMENTOFCOMPREHENSIVEINCOMELOSS"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIForSaleOfSecuritiesBeforeTax": {
     "auth_ref": [
      "r15",
      "r18",
      "r87",
      "r199"
     ],
     "calculation": {
      "http://www.pwod.com/role/CONSOLIDATEDSTATEMENTOFCOMPREHENSIVEINCOMELOSS": {
       "order": 3.0,
       "parentTag": "us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent",
       "weight": -1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount before tax of reclassification adjustment from accumulated other comprehensive income for unrealized gain (loss) realized upon the sale of available-for-sale securities.",
        "label": "Other Comprehensive Income (Loss), Reclassification Adjustment from AOCI for Sale of Securities, before Tax",
        "negatedTerseLabel": "Net realized loss on available for sale securities included in net income"
       }
      }
     },
     "localname": "OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIForSaleOfSecuritiesBeforeTax",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/CONSOLIDATEDSTATEMENTOFCOMPREHENSIVEINCOMELOSS"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIForSaleOfSecuritiesTax": {
     "auth_ref": [
      "r16",
      "r87"
     ],
     "calculation": {
      "http://www.pwod.com/role/CONSOLIDATEDSTATEMENTOFCOMPREHENSIVEINCOMELOSS": {
       "order": 4.0,
       "parentTag": "us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of tax expense (benefit) of reclassification adjustment from accumulated other comprehensive income for unrealized gain (loss) realized upon the sale of available-for-sale securities.",
        "label": "Other Comprehensive Income (Loss), Reclassification Adjustment from AOCI for Sale of Securities, Tax",
        "terseLabel": "Tax effect"
       }
      }
     },
     "localname": "OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIForSaleOfSecuritiesTax",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/CONSOLIDATEDSTATEMENTOFCOMPREHENSIVEINCOMELOSS"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodBeforeTax": {
     "auth_ref": [
      "r194",
      "r197",
      "r303"
     ],
     "calculation": {
      "http://www.pwod.com/role/CONSOLIDATEDSTATEMENTOFCOMPREHENSIVEINCOMELOSS": {
       "order": 1.0,
       "parentTag": "us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount, before tax and adjustment, of unrealized holding gain (loss) on investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale). Excludes unrealized gain (loss) on investment in debt security measured at amortized cost (held-to-maturity) from transfer to available-for-sale.",
        "label": "OCI, Debt Securities, Available-for-Sale, Unrealized Holding Gain (Loss), before Adjustment and Tax",
        "terseLabel": "Net unrealized gain (loss) on available for sale securities"
       }
      }
     },
     "localname": "OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodBeforeTax",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/CONSOLIDATEDSTATEMENTOFCOMPREHENSIVEINCOMELOSS"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodTax": {
     "auth_ref": [
      "r16",
      "r195"
     ],
     "calculation": {
      "http://www.pwod.com/role/CONSOLIDATEDSTATEMENTOFCOMPREHENSIVEINCOMELOSS": {
       "order": 2.0,
       "parentTag": "us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent",
       "weight": -1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount, before adjustment, of tax expense (benefit) for unrealized holding gain (loss) on investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale). Excludes tax expense (benefit) for unrealized gain (loss) on investment in debt security measured at amortized cost (held-to-maturity) from transfer to available-for-sale.",
        "label": "OCI, Debt Securities, Available-for-Sale, Unrealized Holding Gain (Loss), before Adjustment, Tax",
        "negatedLabel": "Tax effect"
       }
      }
     },
     "localname": "OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodTax",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/CONSOLIDATEDSTATEMENTOFCOMPREHENSIVEINCOMELOSS"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OtherDebtSecuritiesMember": {
     "auth_ref": [
      "r673",
      "r685",
      "r699",
      "r740"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Investments in debt securities classified as other.",
        "label": "Other Debt Obligations [Member]",
        "terseLabel": "Other debt securities"
       }
      }
     },
     "localname": "OtherDebtSecuritiesMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/FairValueMeasurementsRecurringAssetsDetails",
      "http://www.pwod.com/role/InvestmentSecuritiesAmortizedCostandFairValuesofInvestmentSecuritiesAvailableforSaleDetails",
      "http://www.pwod.com/role/InvestmentSecuritiesGrossUnrealizedLossesandFairValuebyInvestmentCategoryDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_OtherDepreciationAndAmortization": {
     "auth_ref": [
      "r24",
      "r39",
      "r94"
     ],
     "calculation": {
      "http://www.pwod.com/role/CONSOLIDATEDSTATEMENTOFCASHFLOWSUNAUDITED": {
       "order": 7.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of expense charged against earnings to allocate the cost of tangible and intangible assets over their remaining economic lives, classified as other.",
        "label": "Other Depreciation and Amortization",
        "terseLabel": "Depreciation and amortization"
       }
      }
     },
     "localname": "OtherDepreciationAndAmortization",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/CONSOLIDATEDSTATEMENTOFCASHFLOWSUNAUDITED"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OtherIncomeAndExpensesAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Other Income and Expenses [Abstract]"
       }
      }
     },
     "localname": "OtherIncomeAndExpensesAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "xbrltype": "stringItemType"
    },
    "us-gaap_OtherInterestAndDividendIncome": {
     "auth_ref": [
      "r158"
     ],
     "calculation": {
      "http://www.pwod.com/role/CONSOLIDATEDSTATEMENTOFINCOMEUNAUDITED": {
       "order": 4.0,
       "parentTag": "us-gaap_InterestAndDividendIncomeOperating",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount, after discount, accretion and premium amortization, of interest income and dividend income classified as other.",
        "label": "Other Interest and Dividend Income",
        "terseLabel": "Dividend and other interest income"
       }
      }
     },
     "localname": "OtherInterestAndDividendIncome",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/CONSOLIDATEDSTATEMENTOFINCOMEUNAUDITED"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OtherLiabilities": {
     "auth_ref": [
      "r144"
     ],
     "calculation": {
      "http://www.pwod.com/role/CONSOLIDATEDBALANCESHEETUNAUDITED": {
       "order": 2.0,
       "parentTag": "us-gaap_Liabilities",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of liabilities classified as other.",
        "label": "Other Liabilities",
        "terseLabel": "Other liabilities"
       }
      }
     },
     "localname": "OtherLiabilities",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/CONSOLIDATEDBALANCESHEETUNAUDITED"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OtherNoninterestExpense": {
     "auth_ref": [
      "r156"
     ],
     "calculation": {
      "http://www.pwod.com/role/CONSOLIDATEDSTATEMENTOFINCOMEUNAUDITED": {
       "order": 10.0,
       "parentTag": "us-gaap_NoninterestExpense",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of noninterest expense classified as other.",
        "label": "Other Noninterest Expense",
        "negatedTerseLabel": "Net unrecognized pension costs",
        "terseLabel": "Other"
       }
      }
     },
     "localname": "OtherNoninterestExpense",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/AccumulatedOtherComprehensiveLossScheduleofReclassificationsoutofAOCIDetails",
      "http://www.pwod.com/role/CONSOLIDATEDSTATEMENTOFINCOMEUNAUDITED"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OtherRealEstate": {
     "auth_ref": [
      "r140"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Carrying amount of other real estate not separately disclosed, including, but not limited to, real estate investments, real estate loans that qualify as investments in real estate, and premises that are no longer used in operations may also be included in real estate owned. This does not include real estate assets taken in settlement of troubled loans through surrender or foreclosure.",
        "label": "Other Real Estate",
        "terseLabel": "Other real estate owned, fair value"
       }
      }
     },
     "localname": "OtherRealEstate",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/FairValueMeasurementsSignificantUnobservableInputsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OtherRealEstateOwnedMeasurementInput": {
     "auth_ref": [
      "r472"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Value of input used to measure real estate owned by financial institution by financial institution which is not directly related to its business.",
        "label": "Other Real Estate Owned, Measurement Input",
        "terseLabel": "Other real estate owned, measurement input percentage"
       }
      }
     },
     "localname": "OtherRealEstateOwnedMeasurementInput",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/FairValueMeasurementsSignificantUnobservableInputsDetails"
     ],
     "xbrltype": "decimalItemType"
    },
    "us-gaap_PassMember": {
     "auth_ref": [
      "r71",
      "r684"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "A category of financing receivables not considered to be special mention, substandard, doubtful, and loss receivables.",
        "label": "Pass [Member]",
        "terseLabel": "Pass"
       }
      }
     },
     "localname": "PassMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/LoansCreditQualityIndicatorsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_PastDueFinancingReceivablesTableTextBlock": {
     "auth_ref": [
      "r73",
      "r74",
      "r619",
      "r683"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of aging analysis for financing receivable.",
        "label": "Financing Receivable, Past Due [Table Text Block]",
        "terseLabel": "Schedule of related aging categories of loans by segment"
       }
      }
     },
     "localname": "PastDueFinancingReceivablesTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/LoansTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_PaymentsForOriginationOfMortgageLoansHeldForSale": {
     "auth_ref": [
      "r605",
      "r661"
     ],
     "calculation": {
      "http://www.pwod.com/role/CONSOLIDATEDSTATEMENTOFCASHFLOWSUNAUDITED": {
       "order": 2.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of cash paid for the origination of mortgages that are held for sale.",
        "label": "Payments for Origination of Mortgage Loans Held-for-sale",
        "negatedLabel": "Originations of loans held for sale"
       }
      }
     },
     "localname": "PaymentsForOriginationOfMortgageLoansHeldForSale",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/CONSOLIDATEDSTATEMENTOFCASHFLOWSUNAUDITED"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_PaymentsForProceedsFromLoansReceivable": {
     "auth_ref": [
      "r42",
      "r43"
     ],
     "calculation": {
      "http://www.pwod.com/role/CONSOLIDATEDSTATEMENTOFCASHFLOWSUNAUDITED": {
       "order": 7.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInInvestingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The net amount paid or received by the reporting entity associated with purchase (sale or collection) of loans receivable arising from the financing of goods and services.",
        "label": "Payments for (Proceeds from) Loans Receivable",
        "negatedLabel": "Net increase in loans"
       }
      }
     },
     "localname": "PaymentsForProceedsFromLoansReceivable",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/CONSOLIDATEDSTATEMENTOFCASHFLOWSUNAUDITED"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_PaymentsOfDividends": {
     "auth_ref": [
      "r33"
     ],
     "calculation": {
      "http://www.pwod.com/role/CONSOLIDATEDSTATEMENTOFCASHFLOWSUNAUDITED": {
       "order": 7.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Cash outflow in the form of capital distributions and dividends to common shareholders, preferred shareholders and noncontrolling interests.",
        "label": "Payments of Dividends",
        "negatedLabel": "Dividends paid"
       }
      }
     },
     "localname": "PaymentsOfDividends",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/CONSOLIDATEDSTATEMENTOFCASHFLOWSUNAUDITED"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_PaymentsToAcquireAvailableForSaleSecuritiesDebt": {
     "auth_ref": [
      "r30",
      "r77",
      "r212"
     ],
     "calculation": {
      "http://www.pwod.com/role/CONSOLIDATEDSTATEMENTOFCASHFLOWSUNAUDITED": {
       "order": 4.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInInvestingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of cash outflow to acquire investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale).",
        "label": "Payments to Acquire Debt Securities, Available-for-Sale",
        "negatedLabel": "Purchases of available for sale securities"
       }
      }
     },
     "localname": "PaymentsToAcquireAvailableForSaleSecuritiesDebt",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/CONSOLIDATEDSTATEMENTOFCASHFLOWSUNAUDITED"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_PaymentsToAcquireLifeInsurancePolicies": {
     "auth_ref": [
      "r31",
      "r34"
     ],
     "calculation": {
      "http://www.pwod.com/role/CONSOLIDATEDSTATEMENTOFCASHFLOWSUNAUDITED": {
       "order": 1.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInInvestingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of cash outflow for payment of premium on corporate-owned life insurance policy, classified as investing activities. Includes, but is not limited to, bank-owned life insurance policy.",
        "label": "Payment to Acquire Life Insurance Policy, Investing Activities",
        "negatedLabel": "Purchase of bank-owned life insurance"
       }
      }
     },
     "localname": "PaymentsToAcquireLifeInsurancePolicies",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/CONSOLIDATEDSTATEMENTOFCASHFLOWSUNAUDITED"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_PaymentsToAcquireLimitedPartnershipInterests": {
     "auth_ref": [
      "r656"
     ],
     "calculation": {
      "http://www.pwod.com/role/CONSOLIDATEDSTATEMENTOFCASHFLOWSUNAUDITED": {
       "order": 10.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInInvestingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Cash outflow related to the acquisition or continued holding of limited partnership interests held for investment purposes.",
        "label": "Payments to Acquire Limited Partnership Interests",
        "negatedTerseLabel": "Investment in limited partnership"
       }
      }
     },
     "localname": "PaymentsToAcquireLimitedPartnershipInterests",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/CONSOLIDATEDSTATEMENTOFCASHFLOWSUNAUDITED"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_PaymentsToAcquireProductiveAssets": {
     "auth_ref": [
      "r214",
      "r733",
      "r734",
      "r735"
     ],
     "calculation": {
      "http://www.pwod.com/role/CONSOLIDATEDSTATEMENTOFCASHFLOWSUNAUDITED": {
       "order": 8.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInInvestingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The cash outflow for purchases of and capital improvements on property, plant and equipment (capital expenditures), software, and other intangible assets.",
        "label": "Payments to Acquire Productive Assets",
        "negatedLabel": "Acquisition of premises and equipment"
       }
      }
     },
     "localname": "PaymentsToAcquireProductiveAssets",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/CONSOLIDATEDSTATEMENTOFCASHFLOWSUNAUDITED"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_PensionAndOtherPostretirementBenefitExpenseAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Pension and Other Postretirement Benefits Cost (Reversal of Cost) [Abstract]",
        "terseLabel": "Pension and Other Postretirement Benefits Cost (Reversal of Cost) [Abstract]"
       }
      }
     },
     "localname": "PensionAndOtherPostretirementBenefitExpenseAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "xbrltype": "stringItemType"
    },
    "us-gaap_PensionAndOtherPostretirementBenefitsDisclosureTextBlock": {
     "auth_ref": [
      "r363",
      "r364",
      "r370",
      "r375",
      "r376",
      "r377",
      "r378",
      "r379",
      "r380",
      "r386",
      "r387",
      "r388",
      "r390",
      "r629"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure for retirement benefits.",
        "label": "Retirement Benefits [Text Block]",
        "terseLabel": "Net Periodic Benefit Cost-Defined Benefit Plans"
       }
      }
     },
     "localname": "PensionAndOtherPostretirementBenefitsDisclosureTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/NetPeriodicBenefitCostDefinedBenefitPlans"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_PlanNameAxis": {
     "auth_ref": [
      "r702",
      "r703",
      "r704",
      "r705",
      "r706",
      "r707",
      "r708",
      "r709",
      "r710",
      "r711",
      "r712",
      "r713",
      "r714",
      "r715",
      "r716",
      "r717",
      "r718",
      "r719",
      "r720",
      "r721",
      "r722",
      "r723",
      "r724",
      "r725",
      "r726",
      "r727"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by plan name for share-based payment arrangement.",
        "label": "Plan Name [Axis]",
        "terseLabel": "Plan Name [Axis]"
       }
      }
     },
     "localname": "PlanNameAxis",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/StockPurchasePlansDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_PlanNameDomain": {
     "auth_ref": [
      "r702",
      "r703",
      "r704",
      "r705",
      "r706",
      "r707",
      "r708",
      "r709",
      "r710",
      "r711",
      "r712",
      "r713",
      "r714",
      "r715",
      "r716",
      "r717",
      "r718",
      "r719",
      "r720",
      "r721",
      "r722",
      "r723",
      "r724",
      "r725",
      "r726",
      "r727"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Plan name for share-based payment arrangement.",
        "label": "Plan Name [Domain]",
        "terseLabel": "Plan Name [Domain]"
       }
      }
     },
     "localname": "PlanNameDomain",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/StockPurchasePlansDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_PortionAtFairValueFairValueDisclosureMember": {
     "auth_ref": [
      "r478"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Measured at fair value for financial reporting purposes.",
        "label": "Portion at Fair Value Measurement [Member]",
        "terseLabel": "Portion at Fair Value Measurement"
       }
      }
     },
     "localname": "PortionAtFairValueFairValueDisclosureMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/FairValueofFinancialInstrumentsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_PreferredStockSharesAuthorized": {
     "auth_ref": [
      "r3"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The maximum number of nonredeemable preferred shares (or preferred stock redeemable solely at the option of the issuer) permitted to be issued by an entity's charter and bylaws.",
        "label": "Preferred Stock, Shares Authorized",
        "terseLabel": "Preferred stock, shares authorized (in shares)"
       }
      }
     },
     "localname": "PreferredStockSharesAuthorized",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/CONSOLIDATEDBALANCESHEETUNAUDITEDParenthetical"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_PreferredStockSharesIssued": {
     "auth_ref": [
      "r3",
      "r355"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Total number of nonredeemable preferred shares (or preferred stock redeemable solely at the option of the issuer) issued to shareholders (includes related preferred shares that were issued, repurchased, and remain in the treasury). May be all or portion of the number of preferred shares authorized. Excludes preferred shares that are classified as debt.",
        "label": "Preferred Stock, Shares Issued",
        "terseLabel": "Preferred stock, shares issued (in shares)"
       }
      }
     },
     "localname": "PreferredStockSharesIssued",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/CONSOLIDATEDBALANCESHEETUNAUDITEDParenthetical"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_PreferredStockValue": {
     "auth_ref": [
      "r3",
      "r637"
     ],
     "calculation": {
      "http://www.pwod.com/role/CONSOLIDATEDBALANCESHEETUNAUDITEDParenthetical": {
       "order": 3.0,
       "parentTag": "us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Aggregate par or stated value of issued nonredeemable preferred stock (or preferred stock redeemable solely at the option of the issuer). This item includes treasury stock repurchased by the entity. Note: elements for number of nonredeemable preferred shares, par value and other disclosure concepts are in another section within stockholders' equity.",
        "label": "Preferred Stock, Value, Issued",
        "terseLabel": "Preferred stock, no par value, 3,000,000 shares authorized; no shares issued",
        "verboseLabel": "Preferred stock, par value (in dollars per share)"
       }
      }
     },
     "localname": "PreferredStockValue",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/CONSOLIDATEDBALANCESHEETUNAUDITED",
      "http://www.pwod.com/role/CONSOLIDATEDBALANCESHEETUNAUDITEDParenthetical"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ProceedsFromFederalHomeLoanBankBorrowings": {
     "auth_ref": [
      "r657"
     ],
     "calculation": {
      "http://www.pwod.com/role/CONSOLIDATEDSTATEMENTOFCASHFLOWSUNAUDITED": {
       "order": 8.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of cash inflow from Federal Home Loan Bank (FHLBank) borrowing, classified as financing activity.",
        "label": "Proceeds from FHLBank Borrowings, Financing Activities",
        "terseLabel": "Proceeds from long-term borrowings"
       }
      }
     },
     "localname": "ProceedsFromFederalHomeLoanBankBorrowings",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/CONSOLIDATEDSTATEMENTOFCASHFLOWSUNAUDITED"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ProceedsFromIssuanceOfCommonStock": {
     "auth_ref": [
      "r32"
     ],
     "calculation": {
      "http://www.pwod.com/role/CONSOLIDATEDSTATEMENTOFCASHFLOWSUNAUDITED": {
       "order": 1.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The cash inflow from the additional capital contribution to the entity.",
        "label": "Proceeds from Issuance of Common Stock",
        "terseLabel": "Issuance of common stock"
       }
      }
     },
     "localname": "ProceedsFromIssuanceOfCommonStock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/CONSOLIDATEDSTATEMENTOFCASHFLOWSUNAUDITED"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ProceedsFromLifeInsurancePolicies": {
     "auth_ref": [
      "r29",
      "r34"
     ],
     "calculation": {
      "http://www.pwod.com/role/CONSOLIDATEDSTATEMENTOFCASHFLOWSUNAUDITED": {
       "order": 5.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInInvestingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of cash inflow for proceeds from settlement of corporate-owned life insurance policy, classified as investing activities. Includes, but is not limited to, bank-owned life insurance policy.",
        "label": "Proceeds from Life Insurance Policy",
        "terseLabel": "Proceeds from bank-owned life insurance death benefit"
       }
      }
     },
     "localname": "ProceedsFromLifeInsurancePolicies",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/CONSOLIDATEDSTATEMENTOFCASHFLOWSUNAUDITED"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ProceedsFromMaturitiesPrepaymentsAndCallsOfAvailableForSaleSecurities": {
     "auth_ref": [
      "r77",
      "r212",
      "r213"
     ],
     "calculation": {
      "http://www.pwod.com/role/CONSOLIDATEDSTATEMENTOFCASHFLOWSUNAUDITED": {
       "order": 3.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInInvestingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of cash inflow from maturity, prepayment and call of investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale).",
        "label": "Proceeds from Maturities, Prepayments and Calls of Debt Securities, Available-for-Sale",
        "terseLabel": "Proceeds from calls and maturities of available for sale securities"
       }
      }
     },
     "localname": "ProceedsFromMaturitiesPrepaymentsAndCallsOfAvailableForSaleSecurities",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/CONSOLIDATEDSTATEMENTOFCASHFLOWSUNAUDITED"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ProceedsFromRepaymentsOfShortTermDebt": {
     "auth_ref": [],
     "calculation": {
      "http://www.pwod.com/role/CONSOLIDATEDSTATEMENTOFCASHFLOWSUNAUDITED": {
       "order": 3.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The net cash inflow or outflow for borrowing having initial term of repayment within one year or the normal operating cycle, if longer.",
        "label": "Proceeds from (Repayments of) Short-Term Debt",
        "terseLabel": "Net (decrease) increase in short-term borrowings"
       }
      }
     },
     "localname": "ProceedsFromRepaymentsOfShortTermDebt",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/CONSOLIDATEDSTATEMENTOFCASHFLOWSUNAUDITED"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ProceedsFromSaleOfAvailableForSaleSecuritiesDebt": {
     "auth_ref": [
      "r28",
      "r77",
      "r212"
     ],
     "calculation": {
      "http://www.pwod.com/role/CONSOLIDATEDSTATEMENTOFCASHFLOWSUNAUDITED": {
       "order": 6.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInInvestingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "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).",
        "label": "Proceeds from Sale of Debt Securities, Available-for-Sale",
        "terseLabel": "Proceeds from sales of available for sale securities",
        "verboseLabel": "Gross proceeds from sales of securities"
       }
      }
     },
     "localname": "ProceedsFromSaleOfAvailableForSaleSecuritiesDebt",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/CONSOLIDATEDSTATEMENTOFCASHFLOWSUNAUDITED",
      "http://www.pwod.com/role/InvestmentSecuritiesNarrativeDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ProceedsFromSaleOfLoansHeldForSale": {
     "auth_ref": [
      "r659",
      "r660"
     ],
     "calculation": {
      "http://www.pwod.com/role/CONSOLIDATEDSTATEMENTOFCASHFLOWSUNAUDITED": {
       "order": 9.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The cash inflow resulting from the sale of loans classified as held-for-sale, including proceeds from loans sold through mortgage securitization.",
        "label": "Proceeds from Sale of Loans Held-for-sale",
        "terseLabel": "Proceeds of loans held for sale"
       }
      }
     },
     "localname": "ProceedsFromSaleOfLoansHeldForSale",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/CONSOLIDATEDSTATEMENTOFCASHFLOWSUNAUDITED"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ProfessionalFees": {
     "auth_ref": [
      "r174",
      "r175"
     ],
     "calculation": {
      "http://www.pwod.com/role/CONSOLIDATEDSTATEMENTOFINCOMEUNAUDITED": {
       "order": 6.0,
       "parentTag": "us-gaap_NoninterestExpense",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "A fee charged for services from professionals such as doctors, lawyers and accountants. The term is often expanded to include other professions, for example, pharmacists charging to maintain a medicinal profile of a client or customer.",
        "label": "Professional Fees",
        "terseLabel": "Professional fees"
       }
      }
     },
     "localname": "ProfessionalFees",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/CONSOLIDATEDSTATEMENTOFINCOMEUNAUDITED"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ProfitLoss": {
     "auth_ref": [
      "r188",
      "r200",
      "r203",
      "r216",
      "r220",
      "r228",
      "r238",
      "r239",
      "r265",
      "r267",
      "r271",
      "r273",
      "r304",
      "r344",
      "r345",
      "r346",
      "r347",
      "r348",
      "r349",
      "r350",
      "r351",
      "r352",
      "r443",
      "r446",
      "r447",
      "r463",
      "r480",
      "r561",
      "r609",
      "r635",
      "r636",
      "r654",
      "r694"
     ],
     "calculation": {
      "http://www.pwod.com/role/CONSOLIDATEDSTATEMENTOFCASHFLOWSUNAUDITED": {
       "order": 10.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The consolidated profit or loss for the period, net of income taxes, including the portion attributable to the noncontrolling interest.",
        "label": "Net Income (Loss), Including Portion Attributable to Noncontrolling Interest",
        "terseLabel": "Net income",
        "verboseLabel": "Net Income"
       }
      }
     },
     "localname": "ProfitLoss",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/CONSOLIDATEDSTATEMENTOFCASHFLOWSUNAUDITED",
      "http://www.pwod.com/role/CONSOLIDATEDSTATEMENTOFCHANGESINSHAREHOLDERSEQUITYUNAUDITED"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_PropertyPlantAndEquipmentAndFinanceLeaseRightOfUseAssetAfterAccumulatedDepreciationAndAmortization": {
     "auth_ref": [
      "r690",
      "r744"
     ],
     "calculation": {
      "http://www.pwod.com/role/CONSOLIDATEDBALANCESHEETUNAUDITED": {
       "order": 11.0,
       "parentTag": "us-gaap_Assets",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount, after accumulated depreciation and amortization, of property, plant, and equipment and finance lease right-of-use asset.",
        "label": "Property, Plant, and Equipment and Finance Lease Right-of-Use Asset, after Accumulated Depreciation and Amortization",
        "terseLabel": "Premises and equipment, net"
       }
      }
     },
     "localname": "PropertyPlantAndEquipmentAndFinanceLeaseRightOfUseAssetAfterAccumulatedDepreciationAndAmortization",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/CONSOLIDATEDBALANCESHEETUNAUDITED"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ProvisionForLoanAndLeaseLosses": {
     "auth_ref": [
      "r38",
      "r58",
      "r152"
     ],
     "calculation": {
      "http://www.pwod.com/role/CONSOLIDATEDSTATEMENTOFCASHFLOWSUNAUDITED": {
       "order": 16.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0
      },
      "http://www.pwod.com/role/CONSOLIDATEDSTATEMENTOFINCOMEUNAUDITED": {
       "order": 1.0,
       "parentTag": "us-gaap_InterestIncomeExpenseAfterProvisionForLoanLoss",
       "weight": -1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of expense related to estimated loss from loan and lease transactions.",
        "label": "Provision for Loan and Lease Losses",
        "terseLabel": "PROVISION FOR CREDIT LOSSES",
        "verboseLabel": "Provision for credit losses"
       }
      }
     },
     "localname": "ProvisionForLoanAndLeaseLosses",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/CONSOLIDATEDSTATEMENTOFCASHFLOWSUNAUDITED",
      "http://www.pwod.com/role/CONSOLIDATEDSTATEMENTOFINCOMEUNAUDITED"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_RealEstateAcquiredThroughForeclosure": {
     "auth_ref": [
      "r278",
      "r279"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Carrying amount as of the balance sheet date of land and buildings obtained through foreclosure proceedings or defeasance in full or partial satisfaction of a debt arrangement.",
        "label": "Real Estate Acquired Through Foreclosure",
        "terseLabel": "Real estate acquired through foreclosure"
       }
      }
     },
     "localname": "RealEstateAcquiredThroughForeclosure",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/LoansNarrativeDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_RealEstateMember": {
     "auth_ref": [
      "r698"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Property consisting of land, land improvement and buildings.",
        "label": "Real Estate [Member]",
        "terseLabel": "Real Estate"
       }
      }
     },
     "localname": "RealEstateMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/LoansNarrativeDetails",
      "http://www.pwod.com/role/LoansScheduleofCollateralDependentLoansDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_RealizedGainLossOnInvestmentsTableTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of realized gains and losses on investments reported in the statement of income.",
        "label": "Realized Gain (Loss) on Investments [Table Text Block]",
        "terseLabel": "Schedule of gross realized gains and losses"
       }
      }
     },
     "localname": "RealizedGainLossOnInvestmentsTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/InvestmentSecuritiesTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ReceivableTypeDomain": {
     "auth_ref": [
      "r10"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Financing arrangement representing a contractual right to receive money either on demand or on fixed and determinable dates.",
        "label": "Receivable [Domain]",
        "terseLabel": "Receivable [Domain]"
       }
      }
     },
     "localname": "ReceivableTypeDomain",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/LoansNarrativeDetails",
      "http://www.pwod.com/role/LoansScheduleofConcentrationRiskDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_ReclassificationAdjustmentOutOfAccumulatedOtherComprehensiveIncomeLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "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.",
        "label": "Reclassification Adjustment out of Accumulated Other Comprehensive Income [Line Items]",
        "terseLabel": "Reclassifications out of accumulated other comprehensive income"
       }
      }
     },
     "localname": "ReclassificationAdjustmentOutOfAccumulatedOtherComprehensiveIncomeLineItems",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/AccumulatedOtherComprehensiveLossScheduleofReclassificationsoutofAOCIDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ReclassificationFromAccumulatedOtherComprehensiveIncomeCurrentPeriodNetOfTax": {
     "auth_ref": [
      "r17",
      "r20",
      "r206",
      "r492",
      "r496",
      "r498",
      "r652"
     ],
     "calculation": {
      "http://www.pwod.com/role/AccumulatedOtherComprehensiveLossScheduleofAOCIDetails": {
       "order": 2.0,
       "parentTag": "us-gaap_OtherComprehensiveIncomeLossNetOfTax",
       "weight": -1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount after tax of reclassification adjustments of other comprehensive income (loss).",
        "label": "Reclassification from Accumulated Other Comprehensive Income, Current Period, Net of Tax",
        "negatedTerseLabel": "Amounts reclassified from accumulated other comprehensive gain"
       }
      }
     },
     "localname": "ReclassificationFromAccumulatedOtherComprehensiveIncomeCurrentPeriodNetOfTax",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/AccumulatedOtherComprehensiveLossScheduleofAOCIDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ReclassificationOutOfAccumulatedOtherComprehensiveIncomeAxis": {
     "auth_ref": [
      "r207"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by item reclassified out of accumulated other comprehensive income (loss).",
        "label": "Reclassification out of Accumulated Other Comprehensive Income [Axis]",
        "terseLabel": "Reclassification Out of Accumulated Other Comprehensive Income [Axis]"
       }
      }
     },
     "localname": "ReclassificationOutOfAccumulatedOtherComprehensiveIncomeAxis",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/AccumulatedOtherComprehensiveLossScheduleofReclassificationsoutofAOCIDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ReclassificationOutOfAccumulatedOtherComprehensiveIncomeDomain": {
     "auth_ref": [
      "r207"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Item reclassified out of accumulated other comprehensive income (loss).",
        "label": "Reclassification out of Accumulated Other Comprehensive Income [Domain]",
        "terseLabel": "Reclassification Out of Accumulated Other Comprehensive Income [Domain]"
       }
      }
     },
     "localname": "ReclassificationOutOfAccumulatedOtherComprehensiveIncomeDomain",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/AccumulatedOtherComprehensiveLossScheduleofReclassificationsoutofAOCIDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_ReclassificationOutOfAccumulatedOtherComprehensiveIncomeMember": {
     "auth_ref": [
      "r207"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Identifies item reclassified out of accumulated other comprehensive income (loss).",
        "label": "Reclassification out of Accumulated Other Comprehensive Income [Member]",
        "terseLabel": "Amount\u00a0Reclassified\u00a0from\u00a0Accumulated\u00a0Other\u00a0Comprehensive\u00a0Loss"
       }
      }
     },
     "localname": "ReclassificationOutOfAccumulatedOtherComprehensiveIncomeMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/AccumulatedOtherComprehensiveLossScheduleofReclassificationsoutofAOCIDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_ReclassificationOutOfAccumulatedOtherComprehensiveIncomeTable": {
     "auth_ref": [
      "r207"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of information about items reclassified out of accumulated other comprehensive income (loss).",
        "label": "Reclassification out of Accumulated Other Comprehensive Income [Table]",
        "terseLabel": "Reclassification Out of Accumulated Other Comprehensive Income [Table]"
       }
      }
     },
     "localname": "ReclassificationOutOfAccumulatedOtherComprehensiveIncomeTable",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/AccumulatedOtherComprehensiveLossScheduleofReclassificationsoutofAOCIDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ReclassificationOutOfAccumulatedOtherComprehensiveIncomeTableTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of information about items reclassified out of accumulated other comprehensive income (loss).",
        "label": "Reclassification out of Accumulated Other Comprehensive Income [Table Text Block]",
        "terseLabel": "Schedule of reclassifications out of accumulated other comprehensive income"
       }
      }
     },
     "localname": "ReclassificationOutOfAccumulatedOtherComprehensiveIncomeTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/AccumulatedOtherComprehensiveLossTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_RepaymentsOfFederalHomeLoanBankBorrowings": {
     "auth_ref": [
      "r658"
     ],
     "calculation": {
      "http://www.pwod.com/role/CONSOLIDATEDSTATEMENTOFCASHFLOWSUNAUDITED": {
       "order": 2.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of cash outflow for repayment of Federal Home Loan Bank (FHLBank) borrowing, classified as financing activity.",
        "label": "Payments of FHLBank Borrowings, Financing Activities",
        "negatedLabel": "Repayment of long-term borrowings"
       }
      }
     },
     "localname": "RepaymentsOfFederalHomeLoanBankBorrowings",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/CONSOLIDATEDSTATEMENTOFCASHFLOWSUNAUDITED"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ResidentialMortgageMember": {
     "auth_ref": [
      "r618"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Loan to purchase or refinance residential real estate for example, but not limited to, a home, in which the real estate itself serves as collateral for the loan.",
        "label": "Residential Mortgage [Member]",
        "terseLabel": "Residential"
       }
      }
     },
     "localname": "ResidentialMortgageMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/BasisofPresentationSummaryofImpactofCECLDetails",
      "http://www.pwod.com/role/LoansAgingCategoriesofLoansbySegmentDetails",
      "http://www.pwod.com/role/LoansAllowanceforCreditLossesonFinancingReceivablesDetails",
      "http://www.pwod.com/role/LoansAllowanceforLoanLossesDetails",
      "http://www.pwod.com/role/LoansAverageRecordedInvestmentImpairedLoansDetails",
      "http://www.pwod.com/role/LoansCreditQualityIndicatorsDetails",
      "http://www.pwod.com/role/LoansNonaccrualLoansDetails",
      "http://www.pwod.com/role/LoansRecordedInvestmentUnpaidPrincipalBalanceRelatedAllowanceofImpairedLoansDetails",
      "http://www.pwod.com/role/LoansScheduleofCollateralDependentLoansDetails",
      "http://www.pwod.com/role/LoansScheduleofConcentrationRiskDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_RetainedEarningsAccumulatedDeficit": {
     "auth_ref": [
      "r6",
      "r97",
      "r167",
      "r582",
      "r587",
      "r637"
     ],
     "calculation": {
      "http://www.pwod.com/role/CONSOLIDATEDBALANCESHEETUNAUDITEDParenthetical": {
       "order": 7.0,
       "parentTag": "us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The cumulative amount of the reporting entity's undistributed earnings or deficit.",
        "label": "Retained Earnings (Accumulated Deficit)",
        "terseLabel": "Retained earnings"
       }
      }
     },
     "localname": "RetainedEarningsAccumulatedDeficit",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/CONSOLIDATEDBALANCESHEETUNAUDITED"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_RetainedEarningsMember": {
     "auth_ref": [
      "r184",
      "r222",
      "r223",
      "r224",
      "r229",
      "r237",
      "r239",
      "r308",
      "r426",
      "r427",
      "r428",
      "r433",
      "r434",
      "r461",
      "r578",
      "r580"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The cumulative amount of the reporting entity's undistributed earnings or deficit.",
        "label": "Retained Earnings [Member]",
        "terseLabel": "RETAINED EARNINGS"
       }
      }
     },
     "localname": "RetainedEarningsMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/BasisofPresentationNarrativeDetails",
      "http://www.pwod.com/role/CONSOLIDATEDSTATEMENTOFCHANGESINSHAREHOLDERSEQUITYUNAUDITED"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_RevenueFromContractWithCustomerIncludingAssessedTax": {
     "auth_ref": [
      "r261",
      "r262",
      "r266",
      "r269",
      "r270",
      "r274",
      "r275",
      "r276",
      "r358",
      "r359",
      "r551"
     ],
     "calculation": {
      "http://www.pwod.com/role/CONSOLIDATEDSTATEMENTOFINCOMEUNAUDITED": {
       "order": 1.0,
       "parentTag": "us-gaap_NoninterestIncome",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount, including tax collected from customer, of revenue from satisfaction of performance obligation by transferring promised good or service to customer. Tax collected from customer is tax assessed by governmental authority that is both imposed on and concurrent with specific revenue-producing transaction, including, but not limited to, sales, use, value-added and excise.",
        "label": "Revenue from Contract with Customer, Including Assessed Tax",
        "terseLabel": "Revenue from contract with customer"
       }
      }
     },
     "localname": "RevenueFromContractWithCustomerIncludingAssessedTax",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/CONSOLIDATEDSTATEMENTOFINCOMEUNAUDITED"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ScheduleOfAccountsNotesLoansAndFinancingReceivableTable": {
     "auth_ref": [
      "r10"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Schedule itemizing specific types of trade accounts and notes receivable, and for each the gross carrying value, allowance, and net carrying value as of the balance sheet date. Presentation is categorized by current, noncurrent and unclassified receivables.",
        "label": "Schedule of Accounts, Notes, Loans and Financing Receivable [Table]",
        "terseLabel": "Schedule of Accounts, Notes, Loans and Financing Receivable [Table]"
       }
      }
     },
     "localname": "ScheduleOfAccountsNotesLoansAndFinancingReceivableTable",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/LoansAllowanceforCreditLossesonFinancingReceivablesDetails",
      "http://www.pwod.com/role/LoansNarrativeDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ScheduleOfAccumulatedOtherComprehensiveIncomeLossTableTextBlock": {
     "auth_ref": [
      "r17",
      "r742",
      "r743"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of the components of accumulated other comprehensive income (loss).",
        "label": "Schedule of Accumulated Other Comprehensive Income (Loss) [Table Text Block]",
        "terseLabel": "Schedule of changes in accumulated other comprehensive income by component"
       }
      }
     },
     "localname": "ScheduleOfAccumulatedOtherComprehensiveIncomeLossTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/AccumulatedOtherComprehensiveLossTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfFairValueOffBalanceSheetRisksTable": {
     "auth_ref": [
      "r124",
      "r125"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Schedule detailing the information required and determined to be disclosed regarding the fair value of financial assets and financial liabilities, which are not recognized in the financial statements (off-balance sheet) because they fail to meet some other criterion for recognition.",
        "label": "Schedule of Fair Value, off-Balance-Sheet Risks [Table]",
        "terseLabel": "Schedule of Fair Value, Off-balance Sheet Risks [Table]"
       }
      }
     },
     "localname": "ScheduleOfFairValueOffBalanceSheetRisksTable",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/OffBalanceSheetRiskDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ScheduleOfFairValueOffBalanceSheetRisksTextBlock": {
     "auth_ref": [
      "r124",
      "r125"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of the fair value of financial instruments (as defined), including financial assets and financial liabilities (collectively, as defined) which are not recognized in the financial statements (off-balance sheet) because they fail to meet some other criterion for recognition.",
        "label": "Schedule of Fair Value, off-Balance-Sheet Risks [Table Text Block]",
        "terseLabel": "Schedule of Financial instruments whose contract amounts represent credit risk"
       }
      }
     },
     "localname": "ScheduleOfFairValueOffBalanceSheetRisksTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/OffBalanceSheetRiskTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfFinancingReceivableAllowanceForCreditLossesTable": {
     "auth_ref": [
      "r602",
      "r682"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of information about allowance for credit loss on financing receivable.",
        "label": "Financing Receivable, Allowance for Credit Loss [Table]",
        "terseLabel": "Financing Receivable, Allowance for Credit Loss [Table]"
       }
      }
     },
     "localname": "ScheduleOfFinancingReceivableAllowanceForCreditLossesTable",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/BasisofPresentationNarrativeDetails",
      "http://www.pwod.com/role/BasisofPresentationSummaryofImpactofCECLDetails",
      "http://www.pwod.com/role/LoansAllowanceforLoanLossesDetails",
      "http://www.pwod.com/role/LoansScheduleofCollateralDependentLoansDetails",
      "http://www.pwod.com/role/RecentAccountingPronouncementsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ScheduleOfFinancingReceivableRecordedInvestmentCreditQualityIndicatorTable": {
     "auth_ref": [
      "r618",
      "r684"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of information about credit quality indicator for financing receivable.",
        "label": "Financing Receivable, Credit Quality Indicator [Table]",
        "terseLabel": "Financing Receivable, Credit Quality Indicator [Table]"
       }
      }
     },
     "localname": "ScheduleOfFinancingReceivableRecordedInvestmentCreditQualityIndicatorTable",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/LoansCreditQualityIndicatorsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ScheduleOfFinancingReceivablesNonAccrualStatusTableTextBlock": {
     "auth_ref": [
      "r73",
      "r324"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of financing receivable on nonaccrual status.",
        "label": "Financing Receivable, Nonaccrual [Table Text Block]",
        "terseLabel": "Schedule of non-accrual loans"
       }
      }
     },
     "localname": "ScheduleOfFinancingReceivablesNonAccrualStatusTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/LoansTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfFinancingReceivablesPastDueTable": {
     "auth_ref": [
      "r619",
      "r683"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of information about aging analysis for financing receivable.",
        "label": "Financing Receivable, Past Due [Table]",
        "terseLabel": "Financing Receivable, Past Due [Table]"
       }
      }
     },
     "localname": "ScheduleOfFinancingReceivablesPastDueTable",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/LoansAgingCategoriesofLoansbySegmentDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ScheduleOfImpairedFinancingReceivableTable": {
     "auth_ref": [
      "r69"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Schedule of the recorded investment, unpaid principal balance, associated allowance, average recorded investment, accounting policies, and interest income recognized on the accrual and cash basis for impaired financing receivables by class of financing receivable.",
        "label": "Schedule of Impaired Financing Receivable [Table]",
        "terseLabel": "Schedule of Impaired Financing Receivable [Table]"
       }
      }
     },
     "localname": "ScheduleOfImpairedFinancingReceivableTable",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/LoansAverageRecordedInvestmentImpairedLoansDetails",
      "http://www.pwod.com/role/LoansRecordedInvestmentUnpaidPrincipalBalanceRelatedAllowanceofImpairedLoansDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ScheduleOfNetBenefitCostsTableTextBlock": {
     "auth_ref": [
      "r101"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of the components of net benefit costs for pension plans and/or other employee benefit plans including service cost, interest cost, expected return on plan assets, gain (loss), prior service cost or credit, transition asset or obligation, and gain (loss) recognized due to settlements or curtailments.",
        "label": "Schedule of Net Benefit Costs [Table Text Block]",
        "terseLabel": "Schedule of components of the net periodic benefit/cost of the domestic non-contributory defined benefit plan"
       }
      }
     },
     "localname": "ScheduleOfNetBenefitCostsTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/NetPeriodicBenefitCostDefinedBenefitPlansTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfNewAccountingPronouncementsAndChangesInAccountingPrinciplesTextBlock": {
     "auth_ref": [
      "r46",
      "r47",
      "r51",
      "r52"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of changes in accounting principles, including adoption of new accounting pronouncements, that describes the new methods, amount and effects on financial statement line items.",
        "label": "Accounting Standards Update and Change in Accounting Principle [Table Text Block]",
        "terseLabel": "Summary of Impact of CECL"
       }
      }
     },
     "localname": "ScheduleOfNewAccountingPronouncementsAndChangesInAccountingPrinciplesTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/BasisofPresentationTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable": {
     "auth_ref": [
      "r391",
      "r392",
      "r395",
      "r396",
      "r397",
      "r398",
      "r399",
      "r400",
      "r401",
      "r402",
      "r403",
      "r404",
      "r405",
      "r406",
      "r407",
      "r408",
      "r409",
      "r410",
      "r411",
      "r412",
      "r413",
      "r414",
      "r415",
      "r416",
      "r417",
      "r418",
      "r419",
      "r420"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of information about share-based payment arrangement.",
        "label": "Schedule of Share-Based Compensation Arrangements by Share-Based Payment Award [Table]",
        "terseLabel": "Schedule of Share-based Compensation Arrangements by Share-based Payment Award [Table]"
       }
      }
     },
     "localname": "ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/StockOptionsNarrativeDetails",
      "http://www.pwod.com/role/StockOptionsScheduleofStockOptionsGrantedDetails",
      "http://www.pwod.com/role/StockPurchasePlansDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ScheduleOfShareBasedCompensationStockOptionsActivityTableTextBlock": {
     "auth_ref": [
      "r102",
      "r104",
      "r106"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure for stock option plans. Includes, but is not limited to, outstanding awards at beginning and end of year, grants, exercises, forfeitures, and weighted-average grant date fair value.",
        "label": "Share-Based Payment Arrangement, Option, Activity [Table Text Block]",
        "terseLabel": "Schedule of Share-based Compensation, Stock Options Granted"
       }
      }
     },
     "localname": "ScheduleOfShareBasedCompensationStockOptionsActivityTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/StockOptionsTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfShareBasedPaymentAwardStockOptionsValuationAssumptionsTableTextBlock": {
     "auth_ref": [
      "r107"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of the significant assumptions used during the year to estimate the fair value of stock options, including, but not limited to: (a) expected term of share options and similar instruments, (b) expected volatility of the entity's shares, (c) expected dividends, (d) risk-free rate(s), and (e) discount for post-vesting restrictions.",
        "label": "Schedule of Share-Based Payment Award, Stock Options, Valuation Assumptions [Table Text Block]",
        "terseLabel": "Schedule of Share-based Payment Award, Stock Options, Valuation Assumptions"
       }
      }
     },
     "localname": "ScheduleOfShareBasedPaymentAwardStockOptionsValuationAssumptionsTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/StockOptionsTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfWeightedAverageNumberOfSharesTableTextBlock": {
     "auth_ref": [
      "r50"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of the weighted average number of shares used in calculating basic net earnings per share (or unit) and diluted earnings per share (or unit).",
        "label": "Schedule of Weighted Average Number of Shares [Table Text Block]",
        "terseLabel": "Schedule of weighted average common shares (denominator) used in the basic and dilutive earnings per share computation"
       }
      }
     },
     "localname": "ScheduleOfWeightedAverageNumberOfSharesTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/PerShareDataTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ShareBasedCompensation": {
     "auth_ref": [
      "r38"
     ],
     "calculation": {
      "http://www.pwod.com/role/CONSOLIDATEDSTATEMENTOFCASHFLOWSUNAUDITED": {
       "order": 12.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of noncash expense for share-based payment arrangement.",
        "label": "Share-Based Payment Arrangement, Noncash Expense",
        "terseLabel": "Stock based compensation"
       }
      }
     },
     "localname": "ShareBasedCompensation",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/CONSOLIDATEDSTATEMENTOFCASHFLOWSUNAUDITED"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardVestingPeriod1": {
     "auth_ref": [
      "r632"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Period over which grantee's right to exercise award under share-based payment arrangement is no longer contingent on satisfaction of service or performance condition, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents reported fact of one year, five months, and thirteen days. Includes, but is not limited to, combination of market, performance or service condition.",
        "label": "Share-Based Compensation Arrangement by Share-Based Payment Award, Award Vesting Period",
        "terseLabel": "Exercisable period (in years)",
        "verboseLabel": "Vesting period (in years)"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardVestingPeriod1",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/StockOptionsNarrativeDetails",
      "http://www.pwod.com/role/StockOptionsScheduleofStockOptionsGrantedDetails"
     ],
     "xbrltype": "durationItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedVolatilityRate": {
     "auth_ref": [
      "r417"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The estimated measure of the percentage by which a share price is expected to fluctuate during a period. Volatility also may be defined as a probability-weighted measure of the dispersion of returns about the mean. The volatility of a share price is the standard deviation of the continuously compounded rates of return on the share over a specified period. That is the same as the standard deviation of the differences in the natural logarithms of the stock prices plus dividends, if any, over the period.",
        "label": "Share-Based Compensation Arrangement by Share-Based Payment Award, Fair Value Assumptions, Expected Volatility Rate",
        "terseLabel": "Expected volatility"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedVolatilityRate",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/StockOptionsFairValueAssumptionsDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsRiskFreeInterestRate": {
     "auth_ref": [
      "r419"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The risk-free interest rate assumption that is used in valuing an option on its own shares.",
        "label": "Share-Based Compensation Arrangement by Share-Based Payment Award, Fair Value Assumptions, Risk Free Interest Rate",
        "terseLabel": "Risk-free interest rate"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsRiskFreeInterestRate",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/StockOptionsFairValueAssumptionsDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "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.",
        "label": "Share-Based Compensation Arrangement by Share-Based Payment Award [Line Items]",
        "terseLabel": "Employee Stock Purchase Plan",
        "verboseLabel": "Stock Purchase Plans"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/StockOptionsNarrativeDetails",
      "http://www.pwod.com/role/StockOptionsScheduleofStockOptionsGrantedDetails",
      "http://www.pwod.com/role/StockPurchasePlansDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAuthorized": {
     "auth_ref": [
      "r634"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Number of shares authorized for issuance under share-based payment arrangement.",
        "label": "Share-Based Compensation Arrangement by Share-Based Payment Award, Number of Shares Authorized",
        "terseLabel": "Number of shares allowed to be purchased (in shares)"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAuthorized",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/StockPurchasePlansDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisableWeightedAverageExercisePrice": {
     "auth_ref": [
      "r400"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The weighted-average price as of the balance sheet date at which grantees can acquire the shares reserved for issuance on vested portions of options outstanding and currently exercisable under the stock option plan.",
        "label": "Share-Based Compensation Arrangement by Share-Based Payment Award, Options, Exercisable, Weighted Average Exercise Price",
        "periodEndLabel": "Exercisable, end of period (in dollars per share)"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisableWeightedAverageExercisePrice",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/StockOptionsScheduleofOptionsOutstandingDetails"
     ],
     "xbrltype": "perShareItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExpirationsInPeriod": {
     "auth_ref": [
      "r405"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Number of options or other stock instruments for which the right to exercise has lapsed under the terms of the plan agreements.",
        "label": "Share-Based Compensation Arrangement by Share-Based Payment Award, Options, Expirations in Period",
        "negatedTerseLabel": "Expired (in shares)"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExpirationsInPeriod",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/StockOptionsScheduleofOptionsOutstandingDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsForfeituresInPeriod": {
     "auth_ref": [
      "r404"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The number of shares under options that were cancelled during the reporting period as a result of occurrence of a terminating event specified in contractual agreements pertaining to the stock option plan.",
        "label": "Share-Based Compensation Arrangement by Share-Based Payment Award, Options, Forfeitures in Period",
        "negatedTerseLabel": "Forfeited (in shares)"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsForfeituresInPeriod",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/StockOptionsScheduleofOptionsOutstandingDetails",
      "http://www.pwod.com/role/StockOptionsScheduleofStockOptionsGrantedDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodGross": {
     "auth_ref": [
      "r402"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Gross number of share options (or share units) granted during the period.",
        "label": "Share-Based Compensation Arrangement by Share-Based Payment Award, Options, Grants in Period, Gross",
        "terseLabel": "Granted (in shares)",
        "verboseLabel": "Shares (in shares)"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodGross",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/StockOptionsNarrativeDetails",
      "http://www.pwod.com/role/StockOptionsScheduleofOptionsOutstandingDetails",
      "http://www.pwod.com/role/StockOptionsScheduleofStockOptionsGrantedDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodWeightedAverageGrantDateFairValue": {
     "auth_ref": [
      "r412"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The weighted average grant-date fair value of options granted during the reporting period as calculated by applying the disclosed option pricing methodology.",
        "label": "Share-Based Compensation Arrangement by Share-Based Payment Award, Options, Grants in Period, Weighted Average Grant Date Fair Value",
        "terseLabel": "Weighted average grant date fair value per option (in dollars per share)"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodWeightedAverageGrantDateFairValue",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/StockOptionsFairValueAssumptionsDetails"
     ],
     "xbrltype": "perShareItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingNumber": {
     "auth_ref": [
      "r398",
      "r399"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Number of options outstanding, including both vested and non-vested options.",
        "label": "Share-Based Compensation Arrangement by Share-Based Payment Award, Options, Outstanding, Number",
        "periodEndLabel": "Outstanding, end of period (in shares)",
        "periodStartLabel": "Outstanding, beginning of year (in shares)",
        "terseLabel": "Options, outstanding (in shares)",
        "verboseLabel": "Outstanding (in shares)"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingNumber",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/PerShareDataNarrativeDetails",
      "http://www.pwod.com/role/StockOptionsNarrativeDetails",
      "http://www.pwod.com/role/StockOptionsScheduleofOptionsOutstandingDetails",
      "http://www.pwod.com/role/StockOptionsScheduleofStockOptionsGrantedDetails",
      "http://www.pwod.com/role/StockPurchasePlansDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingRollForward": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "A roll forward is a reconciliation of a concept from the beginning of a period to the end of a period.",
        "label": "Share-Based Compensation Arrangement by Share-Based Payment Award, Options, Outstanding [Roll Forward]",
        "terseLabel": "Shares"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingRollForward",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/StockOptionsScheduleofOptionsOutstandingDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingWeightedAverageExercisePrice": {
     "auth_ref": [
      "r398",
      "r399"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Weighted average price at which grantees can acquire the shares reserved for issuance under the stock option plan.",
        "label": "Share-Based Compensation Arrangement by Share-Based Payment Award, Options, Outstanding, Weighted Average Exercise Price",
        "periodEndLabel": "Outstanding, weighted average exercise price (in dollars per share)",
        "periodStartLabel": "Outstanding, weighted average exercise price (in dollars per share)",
        "terseLabel": "Outstanding, weighted average exercise price (in dollars per share)"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingWeightedAverageExercisePrice",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/PerShareDataNarrativeDetails",
      "http://www.pwod.com/role/StockOptionsScheduleofOptionsOutstandingDetails"
     ],
     "xbrltype": "perShareItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingWeightedAverageExercisePriceRollforward": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Share-Based Compensation Arrangement by Share-Based Payment Award, Options, Outstanding, Weighted Average Exercise Price [Abstract]",
        "terseLabel": "Weighted Average Exercise Price"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingWeightedAverageExercisePriceRollforward",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/StockOptionsScheduleofOptionsOutstandingDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsVestedAndExpectedToVestExercisableNumber": {
     "auth_ref": [
      "r415"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Number of fully vested and expected to vest exercisable options that may be converted into shares under option plan. Includes, but is not limited to, unvested options for which requisite service period has not been rendered but that are expected to vest based on achievement of performance condition, if forfeitures are recognized when they occur.",
        "label": "Share-Based Compensation Arrangement by Share-Based Payment Award, Options, Vested and Expected to Vest, Exercisable, Number",
        "periodEndLabel": "Exercisable, end of period (in shares)"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsVestedAndExpectedToVestExercisableNumber",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/StockOptionsScheduleofOptionsOutstandingDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain": {
     "auth_ref": [
      "r395",
      "r396",
      "r397",
      "r398",
      "r399",
      "r400",
      "r401",
      "r402",
      "r403",
      "r404",
      "r405",
      "r406",
      "r407",
      "r408",
      "r409",
      "r410",
      "r411",
      "r412",
      "r413",
      "r414",
      "r415",
      "r416",
      "r417",
      "r418",
      "r419",
      "r420"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Award under share-based payment arrangement.",
        "label": "Award Type [Domain]",
        "terseLabel": "Award Type [Domain]"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/StockOptionsNarrativeDetails",
      "http://www.pwod.com/role/StockPurchasePlansDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardOptionsExpirationsInPeriodWeightedAverageExercisePrice": {
     "auth_ref": [
      "r405"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Weighted average price at which grantees could have acquired the underlying shares with respect to stock options of the plan that expired.",
        "label": "Share-Based Compensation Arrangements by Share-Based Payment Award, Options, Expirations in Period, Weighted Average Exercise Price",
        "terseLabel": "Expired (in dollars per share)"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementsByShareBasedPaymentAwardOptionsExpirationsInPeriodWeightedAverageExercisePrice",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/StockOptionsScheduleofOptionsOutstandingDetails"
     ],
     "xbrltype": "perShareItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardOptionsForfeituresInPeriodWeightedAverageExercisePrice": {
     "auth_ref": [
      "r404"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Weighted average price at which grantees could have acquired the underlying shares with respect to stock options that were terminated.",
        "label": "Share-Based Compensation Arrangements by Share-Based Payment Award, Options, Forfeitures in Period, Weighted Average Exercise Price",
        "terseLabel": "Forfeited (in dollars per share)"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementsByShareBasedPaymentAwardOptionsForfeituresInPeriodWeightedAverageExercisePrice",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/StockOptionsScheduleofOptionsOutstandingDetails"
     ],
     "xbrltype": "perShareItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardOptionsGrantsInPeriodWeightedAverageExercisePrice": {
     "auth_ref": [
      "r402"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Weighted average per share amount at which grantees can acquire shares of common stock by exercise of options.",
        "label": "Share-Based Compensation Arrangements by Share-Based Payment Award, Options, Grants in Period, Weighted Average Exercise Price",
        "terseLabel": "Granted (in dollars per share)",
        "verboseLabel": "Strike price (in dollars per share)"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementsByShareBasedPaymentAwardOptionsGrantsInPeriodWeightedAverageExercisePrice",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/StockOptionsNarrativeDetails",
      "http://www.pwod.com/role/StockOptionsScheduleofOptionsOutstandingDetails",
      "http://www.pwod.com/role/StockOptionsScheduleofStockOptionsGrantedDetails"
     ],
     "xbrltype": "perShareItemType"
    },
    "us-gaap_ShareBasedCompensationAwardTrancheOneMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "First portion of award under share-based payment arrangement differentiated by vesting feature, including, but not limited to, performance measure or service period.",
        "label": "Share-Based Payment Arrangement, Tranche One [Member]",
        "terseLabel": "Tranche One"
       }
      }
     },
     "localname": "ShareBasedCompensationAwardTrancheOneMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/StockOptionsNarrativeDetails",
      "http://www.pwod.com/role/StockOptionsScheduleofStockOptionsGrantedDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_ShareBasedCompensationAwardTrancheTwoMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Second portion of award under share-based payment arrangement differentiated by vesting feature, including, but not limited to, performance measure or service period.",
        "label": "Share-Based Payment Arrangement, Tranche Two [Member]",
        "terseLabel": "Tranche Two"
       }
      }
     },
     "localname": "ShareBasedCompensationAwardTrancheTwoMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/StockOptionsNarrativeDetails",
      "http://www.pwod.com/role/StockOptionsScheduleofStockOptionsGrantedDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeNumberOfExercisableOptions": {
     "auth_ref": [
      "r103"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The number of shares reserved for issuance pertaining to the outstanding exercisable stock options as of the balance sheet date in the customized range of exercise prices for which the market and performance vesting condition has been satisfied.",
        "label": "Share-Based Payment Arrangement, Option, Exercise Price Range, Shares Exercisable",
        "terseLabel": "Number of exercisable options (in shares)"
       }
      }
     },
     "localname": "ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeNumberOfExercisableOptions",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/StockOptionsNarrativeDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardExpirationPeriod": {
     "auth_ref": [
      "r633"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Period from grant date that an equity-based award expires, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents the reported fact of one year, five months, and thirteen days.",
        "label": "Share-Based Compensation Arrangement by Share-Based Payment Award, Expiration Period",
        "terseLabel": "Expiration (in years)"
       }
      }
     },
     "localname": "SharebasedCompensationArrangementBySharebasedPaymentAwardExpirationPeriod",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/StockOptionsScheduleofStockOptionsGrantedDetails"
     ],
     "xbrltype": "durationItemType"
    },
    "us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardFairValueAssumptionsExpectedTerm1": {
     "auth_ref": [
      "r416"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Expected term of award under share-based payment arrangement, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents reported fact of one year, five months, and thirteen days.",
        "label": "Share-Based Compensation Arrangement by Share-Based Payment Award, Fair Value Assumptions, Expected Term",
        "terseLabel": "Expected life"
       }
      }
     },
     "localname": "SharebasedCompensationArrangementBySharebasedPaymentAwardFairValueAssumptionsExpectedTerm1",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/StockOptionsFairValueAssumptionsDetails"
     ],
     "xbrltype": "durationItemType"
    },
    "us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsExercisableWeightedAverageRemainingContractualTerm1": {
     "auth_ref": [
      "r108"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Weighted average remaining contractual term for vested portions of options outstanding and currently exercisable or convertible, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents the reported fact of one year, five months, and thirteen days.",
        "label": "Share-Based Compensation Arrangement by Share-Based Payment Award, Options, Exercisable, Weighted Average Remaining Contractual Term",
        "terseLabel": "Weighted average remaining contractual term (in years)"
       }
      }
     },
     "localname": "SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsExercisableWeightedAverageRemainingContractualTerm1",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/StockOptionsNarrativeDetails"
     ],
     "xbrltype": "durationItemType"
    },
    "us-gaap_ShareholdersEquityAndShareBasedPaymentsTextBlock": {
     "auth_ref": [
      "r100",
      "r109"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure for shareholders' equity and share-based payment arrangement. Includes, but is not limited to, disclosure of policy and terms of share-based payment arrangement, deferred compensation arrangement, and employee stock purchase plan (ESPP).",
        "label": "Shareholders' Equity and Share-Based Payments [Text Block]",
        "verboseLabel": "Stock Options"
       }
      }
     },
     "localname": "ShareholdersEquityAndShareBasedPaymentsTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/StockOptions"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_SharesIssued": {
     "auth_ref": [
      "r96"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Number of shares of stock issued as of the balance sheet date, including shares that had been issued and were previously outstanding but which are now held in the treasury.",
        "label": "Shares, Issued",
        "periodEndLabel": "Ending balance (in shares)",
        "periodStartLabel": "Beginning balance (in shares)"
       }
      }
     },
     "localname": "SharesIssued",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/CONSOLIDATEDSTATEMENTOFCHANGESINSHAREHOLDERSEQUITYUNAUDITED"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_ShortTermBorrowings": {
     "auth_ref": [
      "r1",
      "r138",
      "r166",
      "r637"
     ],
     "calculation": {
      "http://www.pwod.com/role/CONSOLIDATEDBALANCESHEETUNAUDITED": {
       "order": 1.0,
       "parentTag": "us-gaap_Liabilities",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Reflects the total carrying amount as of the balance sheet date of debt having initial terms less than one year or the normal operating cycle, if longer.",
        "label": "Short-Term Debt",
        "terseLabel": "Short-term borrowings"
       }
      }
     },
     "localname": "ShortTermBorrowings",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/CONSOLIDATEDBALANCESHEETUNAUDITED"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ShorttermDebtFairValue": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This element represents the portion of the balance sheet assertion valued at fair value by the entity whether such amount is presented as a separate caption or as a parenthetical disclosure. Additionally, this element may be used in connection with the fair value disclosures required in the footnote disclosures to the financial statements. The element may be used in both the balance sheet and disclosure in the same submission. This item represents the amount of short-term debt existing as of the balance sheet date.",
        "label": "Short-Term Debt, Fair Value",
        "terseLabel": "Short-term borrowings"
       }
      }
     },
     "localname": "ShorttermDebtFairValue",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/FairValueofFinancialInstrumentsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_SpecialMentionMember": {
     "auth_ref": [
      "r71",
      "r684"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "A category of financing receivables considered to have potential weaknesses that deserve management's close attention. If left uncorrected, those potential weaknesses may result in a deterioration of the repayment prospects for the asset or of the creditor's position at some future date.",
        "label": "Special Mention [Member]",
        "terseLabel": "Special Mention"
       }
      }
     },
     "localname": "SpecialMentionMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/LoansCreditQualityIndicatorsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_StandbyLettersOfCreditMember": {
     "auth_ref": [
      "r95",
      "r110",
      "r173",
      "r343"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "An irrevocable undertaking (typically by a financial institution) to guarantee payment of a specified financial obligation.",
        "label": "Standby Letters of Credit [Member]",
        "terseLabel": "Standby letters of credit"
       }
      }
     },
     "localname": "StandbyLettersOfCreditMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/OffBalanceSheetRiskDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_StatementEquityComponentsAxis": {
     "auth_ref": [
      "r9",
      "r96",
      "r184",
      "r205",
      "r206",
      "r207",
      "r222",
      "r223",
      "r224",
      "r229",
      "r237",
      "r239",
      "r260",
      "r308",
      "r357",
      "r426",
      "r427",
      "r428",
      "r433",
      "r434",
      "r461",
      "r492",
      "r493",
      "r494",
      "r495",
      "r496",
      "r498",
      "r517",
      "r578",
      "r579",
      "r580"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by component of equity.",
        "label": "Equity Components [Axis]",
        "terseLabel": "Equity Components [Axis]"
       }
      }
     },
     "localname": "StatementEquityComponentsAxis",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/AccumulatedOtherComprehensiveLossScheduleofAOCIDetails",
      "http://www.pwod.com/role/AccumulatedOtherComprehensiveLossScheduleofReclassificationsoutofAOCIDetails",
      "http://www.pwod.com/role/BasisofPresentationNarrativeDetails",
      "http://www.pwod.com/role/CONSOLIDATEDSTATEMENTOFCHANGESINSHAREHOLDERSEQUITYUNAUDITED"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_StatementLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "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.",
        "label": "Statement [Line Items]",
        "terseLabel": "Statement [Line Items]"
       }
      }
     },
     "localname": "StatementLineItems",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/CONSOLIDATEDSTATEMENTOFCHANGESINSHAREHOLDERSEQUITYUNAUDITED",
      "http://www.pwod.com/role/CONSOLIDATEDSTATEMENTOFINCOMEUNAUDITED"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_StatementOfCashFlowsAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Statement of Cash Flows [Abstract]",
        "terseLabel": "Statement of Cash Flows [Abstract]"
       }
      }
     },
     "localname": "StatementOfCashFlowsAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "xbrltype": "stringItemType"
    },
    "us-gaap_StatementOfFinancialPositionAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Statement of Financial Position [Abstract]",
        "terseLabel": "Statement of Financial Position [Abstract]"
       }
      }
     },
     "localname": "StatementOfFinancialPositionAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "xbrltype": "stringItemType"
    },
    "us-gaap_StatementOfIncomeAndComprehensiveIncomeAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Statement of Comprehensive Income [Abstract]",
        "terseLabel": "Statement of Comprehensive Income [Abstract]"
       }
      }
     },
     "localname": "StatementOfIncomeAndComprehensiveIncomeAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "xbrltype": "stringItemType"
    },
    "us-gaap_StatementOfStockholdersEquityAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Statement of Stockholders' Equity [Abstract]",
        "terseLabel": "Statement of Stockholders' Equity [Abstract]"
       }
      }
     },
     "localname": "StatementOfStockholdersEquityAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "xbrltype": "stringItemType"
    },
    "us-gaap_StatementTable": {
     "auth_ref": [
      "r222",
      "r223",
      "r224",
      "r260",
      "r551"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Schedule reflecting a Statement of Income, Statement of Cash Flows, Statement of Financial Position, Statement of Shareholders' Equity and Other Comprehensive Income, or other statement as needed.",
        "label": "Statement [Table]",
        "terseLabel": "Statement [Table]"
       }
      }
     },
     "localname": "StatementTable",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/CONSOLIDATEDSTATEMENTOFCHANGESINSHAREHOLDERSEQUITYUNAUDITED",
      "http://www.pwod.com/role/CONSOLIDATEDSTATEMENTOFINCOMEUNAUDITED"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_StockIssuedDuringPeriodSharesEmployeeStockPurchasePlans": {
     "auth_ref": [
      "r3",
      "r4",
      "r96",
      "r97"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Number of shares issued during the period as a result of an employee stock purchase plan.",
        "label": "Stock Issued During Period, Shares, Employee Stock Purchase Plans",
        "terseLabel": "Common shares issued for employee stock purchase plan (in shares)",
        "verboseLabel": "Number of shares issued under the plan (in shares)"
       }
      }
     },
     "localname": "StockIssuedDuringPeriodSharesEmployeeStockPurchasePlans",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/CONSOLIDATEDSTATEMENTOFCHANGESINSHAREHOLDERSEQUITYUNAUDITED",
      "http://www.pwod.com/role/StockPurchasePlansDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_StockIssuedDuringPeriodSharesIssuedForServices": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Number of shares issued in lieu of cash for services contributed to the entity. Number of shares includes, but is not limited to, shares issued for services contributed by vendors and founders.",
        "label": "Stock Issued During Period, Shares, Issued for Services",
        "terseLabel": "Director compensation plan (in shares)"
       }
      }
     },
     "localname": "StockIssuedDuringPeriodSharesIssuedForServices",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/CONSOLIDATEDSTATEMENTOFCHANGESINSHAREHOLDERSEQUITYUNAUDITED",
      "http://www.pwod.com/role/StockPurchasePlansDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_StockIssuedDuringPeriodValueEmployeeStockPurchasePlan": {
     "auth_ref": [
      "r3",
      "r4",
      "r96",
      "r97"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Aggregate change in value for stock issued during the period as a result of employee stock purchase plan.",
        "label": "Stock Issued During Period, Value, Employee Stock Purchase Plan",
        "terseLabel": "Common shares issued for employee stock purchase plan"
       }
      }
     },
     "localname": "StockIssuedDuringPeriodValueEmployeeStockPurchasePlan",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/CONSOLIDATEDSTATEMENTOFCHANGESINSHAREHOLDERSEQUITYUNAUDITED",
      "http://www.pwod.com/role/StockPurchasePlansDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_StockIssuedDuringPeriodValueIssuedForServices": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Value of stock issued in lieu of cash for services contributed to the entity. Value of the stock issued includes, but is not limited to, services contributed by vendors and founders.",
        "label": "Stock Issued During Period, Value, Issued for Services",
        "terseLabel": "Director Compensation Plan",
        "verboseLabel": "Director compensation plan, expense"
       }
      }
     },
     "localname": "StockIssuedDuringPeriodValueIssuedForServices",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/CONSOLIDATEDSTATEMENTOFCHANGESINSHAREHOLDERSEQUITYUNAUDITED",
      "http://www.pwod.com/role/StockPurchasePlansDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_StockIssuedDuringPeriodValueShareBasedCompensation": {
     "auth_ref": [
      "r3",
      "r4",
      "r97",
      "r105"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Value, after forfeiture, of shares issued under share-based payment arrangement. Excludes employee stock ownership plan (ESOP).",
        "label": "Shares Issued, Value, Share-Based Payment Arrangement, after Forfeiture",
        "terseLabel": "Stock-based compensation"
       }
      }
     },
     "localname": "StockIssuedDuringPeriodValueShareBasedCompensation",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/CONSOLIDATEDSTATEMENTOFCHANGESINSHAREHOLDERSEQUITYUNAUDITED"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_StockholdersEquityAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Stockholders' Equity Attributable to Parent [Abstract]",
        "terseLabel": "SHAREHOLDERS\u2019 EQUITY:"
       }
      }
     },
     "localname": "StockholdersEquityAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/CONSOLIDATEDBALANCESHEETUNAUDITED"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest": {
     "auth_ref": [
      "r111",
      "r112",
      "r118",
      "r184",
      "r185",
      "r206",
      "r222",
      "r223",
      "r224",
      "r229",
      "r237",
      "r308",
      "r357",
      "r426",
      "r427",
      "r428",
      "r433",
      "r434",
      "r461",
      "r492",
      "r493",
      "r498",
      "r517",
      "r579",
      "r580",
      "r662",
      "r679",
      "r741"
     ],
     "calculation": {
      "http://www.pwod.com/role/CONSOLIDATEDBALANCESHEETUNAUDITED": {
       "order": 2.0,
       "parentTag": "us-gaap_LiabilitiesAndStockholdersEquity",
       "weight": 1.0
      },
      "http://www.pwod.com/role/CONSOLIDATEDBALANCESHEETUNAUDITEDParenthetical": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of stockholders' equity (deficit), net of receivables from officers, directors, owners, and affiliates of the entity, attributable to both the parent and noncontrolling interests. Amount excludes temporary equity. Alternate caption for the concept is permanent equity.",
        "label": "Stockholders' Equity, Including Portion Attributable to Noncontrolling Interest",
        "periodEndLabel": "Ending balance",
        "periodStartLabel": "Beginning balance",
        "terseLabel": "Stockholders' equity",
        "totalLabel": "TOTAL SHAREHOLDERS' EQUITY"
       }
      }
     },
     "localname": "StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/AccumulatedOtherComprehensiveLossScheduleofAOCIDetails",
      "http://www.pwod.com/role/BasisofPresentationNarrativeDetails",
      "http://www.pwod.com/role/CONSOLIDATEDBALANCESHEETUNAUDITED",
      "http://www.pwod.com/role/CONSOLIDATEDSTATEMENTOFCHANGESINSHAREHOLDERSEQUITYUNAUDITED"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_SubstandardMember": {
     "auth_ref": [
      "r71",
      "r684"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "A category of financing receivables that are inadequately protected by the current sound worth and paying capacity of the obligor or of the collateral pledged, if any. Loans so classified have a well-defined weakness or weaknesses that jeopardize the liquidation of the debt. They are characterized by the distinct possibility that the creditor will sustain some loss if the deficiencies are not corrected.",
        "label": "Substandard [Member]",
        "terseLabel": "Substandard"
       }
      }
     },
     "localname": "SubstandardMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/LoansCreditQualityIndicatorsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_SupplementalCashFlowInformationAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Supplemental Cash Flow Information [Abstract]",
        "terseLabel": "SUPPLEMENTAL DISCLOSURES OF CASH FLOW INFORMATION:"
       }
      }
     },
     "localname": "SupplementalCashFlowInformationAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/CONSOLIDATEDSTATEMENTOFCASHFLOWSUNAUDITED"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_TradingSecuritiesAndCertainTradingAssetsTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of investment in debt security measured at fair value with change in fair value recognized in net income (trading) and investment in equity security measured at fair value with change in fair value recognized in net income (FV-NI).",
        "label": "Debt Securities, Trading, and Equity Securities, FV-NI [Table Text Block]",
        "terseLabel": "Schedule of amortized cost, gross unrealized gains and losses, and fair values of equity and trading investment securities"
       }
      }
     },
     "localname": "TradingSecuritiesAndCertainTradingAssetsTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/InvestmentSecuritiesTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain": {
     "auth_ref": [
      "r295",
      "r297",
      "r354",
      "r356",
      "r451",
      "r519",
      "r520",
      "r521",
      "r522",
      "r523",
      "r524",
      "r525",
      "r526",
      "r527",
      "r528",
      "r529",
      "r530",
      "r531",
      "r532",
      "r534",
      "r535",
      "r536",
      "r537",
      "r538",
      "r539",
      "r540",
      "r541",
      "r542",
      "r543",
      "r544",
      "r545",
      "r546",
      "r547",
      "r548",
      "r549",
      "r675",
      "r676",
      "r677",
      "r759",
      "r760",
      "r761",
      "r762",
      "r763",
      "r764",
      "r765"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Instrument or contract that imposes a contractual obligation to deliver cash or another financial instrument or to exchange other financial instruments on potentially unfavorable terms and conveys a contractual right to receive cash or another financial instrument or to exchange other financial instruments on potentially favorable terms.",
        "label": "Financial Instruments [Domain]",
        "terseLabel": "Financial Instruments [Domain]"
       }
      }
     },
     "localname": "TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/FairValueMeasurementsNonRecurringAssetsDetails",
      "http://www.pwod.com/role/FairValueMeasurementsRecurringAssetsDetails",
      "http://www.pwod.com/role/InvestmentSecuritiesAmortizedCostandFairValuesofInvestmentSecuritiesAvailableforSaleDetails",
      "http://www.pwod.com/role/InvestmentSecuritiesGrossUnrealizedLossesandFairValuebyInvestmentCategoryDetails",
      "http://www.pwod.com/role/InvestmentSecuritiesTotalGrossProceedsfromSalesofSecuritiesDetails",
      "http://www.pwod.com/role/OffBalanceSheetRiskDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_TreasuryStockCommonMember": {
     "auth_ref": [
      "r98"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Previously issued common shares repurchased by the issuing entity and held in treasury.",
        "label": "Treasury Stock, Common [Member]",
        "terseLabel": "TREASURY STOCK"
       }
      }
     },
     "localname": "TreasuryStockCommonMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/CONSOLIDATEDSTATEMENTOFCHANGESINSHAREHOLDERSEQUITYUNAUDITED"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_TreasuryStockCommonShares": {
     "auth_ref": [
      "r98"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Number of previously issued common shares repurchased by the issuing entity and held in treasury.",
        "label": "Treasury Stock, Common, Shares",
        "terseLabel": "Treasury stock (in shares)"
       }
      }
     },
     "localname": "TreasuryStockCommonShares",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/CONSOLIDATEDBALANCESHEETUNAUDITEDParenthetical"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_TreasuryStockCommonValue": {
     "auth_ref": [
      "r11",
      "r98",
      "r99"
     ],
     "calculation": {
      "http://www.pwod.com/role/CONSOLIDATEDBALANCESHEETUNAUDITEDParenthetical": {
       "order": 2.0,
       "parentTag": "us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest",
       "weight": -1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount allocated to previously issued common shares repurchased by the issuing entity and held in treasury.",
        "label": "Treasury Stock, Common, Value",
        "negatedLabel": "Treasury stock at cost, 510,225 and 510,225"
       }
      }
     },
     "localname": "TreasuryStockCommonValue",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/CONSOLIDATEDBALANCESHEETUNAUDITED"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_USStatesAndPoliticalSubdivisionsMember": {
     "auth_ref": [
      "r627",
      "r756"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Bonds or similar securities issued by state, city, or local US governments or the agencies operated by state, city, or local governments. Debt securities issued by state governments may include bond issuances of US state authorities including, for example, but not limited to, housing authorities, dormitory authorities, and general obligations while debt securities issued by political subdivisions of US states would include, for example, debt issuances by county, borough, city, or municipal governments.",
        "label": "US States and Political Subdivisions Debt Securities [Member]",
        "terseLabel": "State and political securities"
       }
      }
     },
     "localname": "USStatesAndPoliticalSubdivisionsMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/FairValueMeasurementsRecurringAssetsDetails",
      "http://www.pwod.com/role/InvestmentSecuritiesAmortizedCostandFairValuesofInvestmentSecuritiesAvailableforSaleDetails",
      "http://www.pwod.com/role/InvestmentSecuritiesGrossUnrealizedLossesandFairValuebyInvestmentCategoryDetails",
      "http://www.pwod.com/role/InvestmentSecuritiesTotalGrossProceedsfromSalesofSecuritiesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_USTreasuryAndGovernmentMember": {
     "auth_ref": [
      "r562",
      "r627",
      "r756"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This category includes investments in debt securities issued by the United States Department of the Treasury, US Government Agencies and US Government-sponsored Enterprises. Such securities may include treasury bills (short-term maturities - one year or less), treasury notes (intermediate term maturities - two to ten years), and treasury bonds (long-term maturities - ten to thirty years), debt securities issued by the Government National Mortgage Association (Ginnie Mae) and debt securities issued by the Federal National Mortgage Association (Fannie Mae) or the Federal Home Loan Mortgage Corporation (Freddie Mac).",
        "label": "US Treasury and Government [Member]",
        "terseLabel": "U.S. Government and agency securities"
       }
      }
     },
     "localname": "USTreasuryAndGovernmentMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/FairValueMeasurementsRecurringAssetsDetails",
      "http://www.pwod.com/role/InvestmentSecuritiesAmortizedCostandFairValuesofInvestmentSecuritiesAvailableforSaleDetails",
      "http://www.pwod.com/role/InvestmentSecuritiesGrossUnrealizedLossesandFairValuebyInvestmentCategoryDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_UnallocatedFinancingReceivablesMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Financing receivables that have not been allocated to a portfolio segment.",
        "label": "Unallocated Financing Receivables [Member]",
        "terseLabel": "Unallocated"
       }
      }
     },
     "localname": "UnallocatedFinancingReceivablesMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/BasisofPresentationSummaryofImpactofCECLDetails",
      "http://www.pwod.com/role/LoansAllowanceforCreditLossesonFinancingReceivablesDetails",
      "http://www.pwod.com/role/LoansAllowanceforLoanLossesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_UncollateralizedMember": {
     "auth_ref": [
      "r616"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "No pledge of specific property to serve as protection or security against default.",
        "label": "Uncollateralized [Member]",
        "terseLabel": "Unsecured"
       }
      }
     },
     "localname": "UncollateralizedMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/LoansScheduleofCollateralDependentLoansDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_ValuationTechniqueAxis": {
     "auth_ref": [
      "r122"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by valuation approach and technique.",
        "label": "Valuation Approach and Technique [Axis]",
        "terseLabel": "Valuation Approach and Technique [Axis]"
       }
      }
     },
     "localname": "ValuationTechniqueAxis",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/FairValueMeasurementsSignificantUnobservableInputsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ValuationTechniqueDomain": {
     "auth_ref": [
      "r122"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Valuation approach and technique.",
        "label": "Valuation Approach and Technique [Domain]",
        "terseLabel": "Valuation Approach and Technique [Domain]"
       }
      }
     },
     "localname": "ValuationTechniqueDomain",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/FairValueMeasurementsSignificantUnobservableInputsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_VestingAxis": {
     "auth_ref": [
      "r702",
      "r703",
      "r704",
      "r705",
      "r706",
      "r707",
      "r708",
      "r709",
      "r710",
      "r711",
      "r712",
      "r713",
      "r714",
      "r715",
      "r716",
      "r717",
      "r718",
      "r719",
      "r720",
      "r721",
      "r722",
      "r723",
      "r724",
      "r725",
      "r726",
      "r727"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by vesting schedule of award under share-based payment arrangement.",
        "label": "Vesting [Axis]",
        "terseLabel": "Vesting [Axis]"
       }
      }
     },
     "localname": "VestingAxis",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/StockOptionsNarrativeDetails",
      "http://www.pwod.com/role/StockOptionsScheduleofStockOptionsGrantedDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_VestingDomain": {
     "auth_ref": [
      "r702",
      "r703",
      "r704",
      "r705",
      "r706",
      "r707",
      "r708",
      "r709",
      "r710",
      "r711",
      "r712",
      "r713",
      "r714",
      "r715",
      "r716",
      "r717",
      "r718",
      "r719",
      "r720",
      "r721",
      "r722",
      "r723",
      "r724",
      "r725",
      "r726",
      "r727"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Vesting schedule of award under share-based payment arrangement.",
        "label": "Vesting [Domain]",
        "terseLabel": "Vesting [Domain]"
       }
      }
     },
     "localname": "VestingDomain",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/StockOptionsNarrativeDetails",
      "http://www.pwod.com/role/StockOptionsScheduleofStockOptionsGrantedDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding": {
     "auth_ref": [
      "r244",
      "r254"
     ],
     "calculation": {
      "http://www.pwod.com/role/PerShareDataCompositionofWeightedAverageCommonSharesUsedinEarningsperShareComputationDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The average number of shares or units issued and outstanding that are used in calculating diluted EPS or earnings per unit (EPU), determined based on the timing of issuance of shares or units in the period.",
        "label": "Weighted Average Number of Shares Outstanding, Diluted",
        "terseLabel": "Weighted average shares outstanding - diluted (in shares)",
        "totalLabel": "Weighted average common shares outstanding - diluted (in shares)"
       }
      }
     },
     "localname": "WeightedAverageNumberOfDilutedSharesOutstanding",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/CONSOLIDATEDSTATEMENTOFINCOMEUNAUDITED",
      "http://www.pwod.com/role/PerShareDataCompositionofWeightedAverageCommonSharesUsedinEarningsperShareComputationDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_WeightedAverageNumberOfSharesIssuedBasic": {
     "auth_ref": [
      "r48",
      "r49"
     ],
     "calculation": {
      "http://www.pwod.com/role/PerShareDataCompositionofWeightedAverageCommonSharesUsedinEarningsperShareComputationDetails": {
       "order": 1.0,
       "parentTag": "us-gaap_WeightedAverageNumberOfSharesOutstandingBasic",
       "weight": 1.0
      }
     },
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This element represents the weighted average total number of shares issued throughout the period including the first (beginning balance outstanding) and last (ending balance outstanding) day of the period before considering any reductions (for instance, shares held in treasury) to arrive at the weighted average number of shares outstanding. Weighted average relates to the portion of time within a reporting period that common shares have been issued and outstanding to the total time in that period. Such concept is used in determining the weighted average number of shares outstanding for purposes of calculating earnings per share (basic).",
        "label": "Weighted Average Number of Shares Issued, Basic",
        "terseLabel": "Weighted average common shares issued (in shares)"
       }
      }
     },
     "localname": "WeightedAverageNumberOfSharesIssuedBasic",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/PerShareDataCompositionofWeightedAverageCommonSharesUsedinEarningsperShareComputationDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_WeightedAverageNumberOfSharesOutstandingBasic": {
     "auth_ref": [
      "r243",
      "r254"
     ],
     "calculation": {
      "http://www.pwod.com/role/PerShareDataCompositionofWeightedAverageCommonSharesUsedinEarningsperShareComputationDetails": {
       "order": 2.0,
       "parentTag": "us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding",
       "weight": 1.0
      }
     },
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Number of [basic] shares or units, after adjustment for contingently issuable shares or units and other shares or units not deemed outstanding, determined by relating the portion of time within a reporting period that common shares or units have been outstanding to the total time in that period.",
        "label": "Weighted Average Number of Shares Outstanding, Basic",
        "terseLabel": "Weighted average shares outstanding - basic (in shares)",
        "totalLabel": "Weighted average shares outstanding - basic (in shares)"
       }
      }
     },
     "localname": "WeightedAverageNumberOfSharesOutstandingBasic",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/CONSOLIDATEDSTATEMENTOFINCOMEUNAUDITED",
      "http://www.pwod.com/role/PerShareDataCompositionofWeightedAverageCommonSharesUsedinEarningsperShareComputationDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_WeightedAverageNumberOfSharesTreasuryStock": {
     "auth_ref": [
      "r48"
     ],
     "calculation": {
      "http://www.pwod.com/role/PerShareDataCompositionofWeightedAverageCommonSharesUsedinEarningsperShareComputationDetails": {
       "order": 2.0,
       "parentTag": "us-gaap_WeightedAverageNumberOfSharesOutstandingBasic",
       "weight": -1.0
      }
     },
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Number of shares of treasury stock determined by relating the portion of time within a reporting period that treasury shares have been outstanding to the total time in that period. Treasury stock is stock that the Entity has issued but subsequently reacquired.",
        "label": "Weighted Average Number of Shares, Treasury Stock",
        "negatedTerseLabel": "Weighted average treasury stock shares (in shares)"
       }
      }
     },
     "localname": "WeightedAverageNumberOfSharesTreasuryStock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.pwod.com/role/PerShareDataCompositionofWeightedAverageCommonSharesUsedinEarningsperShareComputationDetails"
     ],
     "xbrltype": "sharesItemType"
    }
   },
   "unitCount": 7
  }
 },
 "std_ref": {
  "r0": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "205",
   "URI": "https://asc.fasb.org/topic&trid=2122149",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r1": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(19)(a))",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r10": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.3,4)",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r100": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "505",
   "URI": "https://asc.fasb.org/topic&trid=2208762",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r101": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(h)",
   "Topic": "715",
   "URI": "https://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r102": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(1)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r103": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(iii)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r104": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r105": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)(1)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r106": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(e)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r107": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(f)(2)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r108": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r109": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "718",
   "URI": "https://asc.fasb.org/topic&trid=2228938",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r11": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.30)",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r110": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "12",
   "Publisher": "FASB",
   "Section": "15",
   "SubTopic": "10",
   "Subparagraph": "(f)(2)",
   "Topic": "810",
   "URI": "https://asc.fasb.org/extlink&oid=116873149&loc=d3e923-111674",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r111": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "810",
   "URI": "https://asc.fasb.org/extlink&oid=126929396&loc=SL4568447-111683",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r112": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "16",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "810",
   "URI": "https://asc.fasb.org/extlink&oid=126929396&loc=SL4568740-111683",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r113": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "19",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "810",
   "URI": "https://asc.fasb.org/extlink&oid=126929396&loc=SL4569616-111683",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r114": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "20",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "810",
   "URI": "https://asc.fasb.org/extlink&oid=126929396&loc=SL4569643-111683",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r115": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "810",
   "URI": "https://asc.fasb.org/extlink&oid=109239629&loc=d3e5614-111684",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r116": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(3)",
   "Topic": "810",
   "URI": "https://asc.fasb.org/extlink&oid=109239629&loc=SL4573702-111684",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r117": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c),(3)",
   "Topic": "810",
   "URI": "https://asc.fasb.org/extlink&oid=109239629&loc=SL4573702-111684",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r118": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4I",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "10",
   "Topic": "810",
   "URI": "https://asc.fasb.org/extlink&oid=120409616&loc=SL4590271-111686",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r119": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "810",
   "URI": "https://asc.fasb.org/topic&trid=2197479",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r12": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "10A",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(i),(j),(k)",
   "Topic": "220",
   "URI": "https://asc.fasb.org/extlink&oid=126968391&loc=SL7669646-108580",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r120": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "820",
   "URI": "https://asc.fasb.org/extlink&oid=126976982&loc=d3e19207-110258",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r121": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "820",
   "URI": "https://asc.fasb.org/extlink&oid=126976982&loc=d3e19207-110258",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r122": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(bbb)",
   "Topic": "820",
   "URI": "https://asc.fasb.org/extlink&oid=126976982&loc=d3e19207-110258",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r123": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "820",
   "URI": "https://asc.fasb.org/extlink&oid=126976982&loc=SL6742756-110258",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r124": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "10",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "825",
   "URI": "https://asc.fasb.org/extlink&oid=123594938&loc=d3e13433-108611",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r125": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "11",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "825",
   "URI": "https://asc.fasb.org/extlink&oid=123594938&loc=d3e13467-108611",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r126": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "12",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "825",
   "URI": "https://asc.fasb.org/extlink&oid=123594938&loc=d3e13476-108611",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r127": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "20",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "825",
   "URI": "https://asc.fasb.org/extlink&oid=123594938&loc=d3e13531-108611",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r128": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "21",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "825",
   "URI": "https://asc.fasb.org/extlink&oid=123594938&loc=d3e13537-108611",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r129": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "21",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "825",
   "URI": "https://asc.fasb.org/extlink&oid=123594938&loc=d3e13537-108611",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r13": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "10A",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(i-k)",
   "Topic": "220",
   "URI": "https://asc.fasb.org/extlink&oid=126968391&loc=SL7669646-108580",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r130": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "230",
   "Topic": "830",
   "URI": "https://asc.fasb.org/extlink&oid=123444420&loc=d3e33268-110906",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r131": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "30",
   "Topic": "835",
   "URI": "https://asc.fasb.org/extlink&oid=124435984&loc=d3e28555-108399",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r132": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "25",
   "SubTopic": "20",
   "Topic": "940",
   "URI": "https://asc.fasb.org/extlink&oid=126941158&loc=d3e41242-110953",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r133": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "SubTopic": "320",
   "Topic": "940",
   "URI": "https://asc.fasb.org/subtopic&trid=2176304",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r134": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "210",
   "Topic": "942",
   "URI": "https://asc.fasb.org/extlink&oid=126970686&loc=d3e59706-112781",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r135": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.9-03(1))",
   "Topic": "942",
   "URI": "https://asc.fasb.org/extlink&oid=126897435&loc=d3e534808-122878",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r136": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.9-03(10))",
   "Topic": "942",
   "URI": "https://asc.fasb.org/extlink&oid=126897435&loc=d3e534808-122878",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r137": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.9-03(11))",
   "Topic": "942",
   "URI": "https://asc.fasb.org/extlink&oid=126897435&loc=d3e534808-122878",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r138": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.9-03(13))",
   "Topic": "942",
   "URI": "https://asc.fasb.org/extlink&oid=126897435&loc=d3e534808-122878",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r139": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.9-03(23))",
   "Topic": "942",
   "URI": "https://asc.fasb.org/extlink&oid=126897435&loc=d3e534808-122878",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r14": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "10A",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "220",
   "URI": "https://asc.fasb.org/extlink&oid=126968391&loc=SL7669646-108580",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r140": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.9-03.10(4))",
   "Topic": "942",
   "URI": "https://asc.fasb.org/extlink&oid=126897435&loc=d3e534808-122878",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r141": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.9-03.12)",
   "Topic": "942",
   "URI": "https://asc.fasb.org/extlink&oid=126897435&loc=d3e534808-122878",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r142": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.9-03.13(3)(a))",
   "Topic": "942",
   "URI": "https://asc.fasb.org/extlink&oid=126897435&loc=d3e534808-122878",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r143": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.9-03.15(1),(5))",
   "Topic": "942",
   "URI": "https://asc.fasb.org/extlink&oid=126897435&loc=d3e534808-122878",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r144": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.9-03.15)",
   "Topic": "942",
   "URI": "https://asc.fasb.org/extlink&oid=126897435&loc=d3e534808-122878",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r145": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.9-03.2)",
   "Topic": "942",
   "URI": "https://asc.fasb.org/extlink&oid=126897435&loc=d3e534808-122878",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r146": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.9-04(13))",
   "Topic": "942",
   "URI": "https://asc.fasb.org/extlink&oid=120399700&loc=SL114874048-224260",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r147": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.9-04(15))",
   "Topic": "942",
   "URI": "https://asc.fasb.org/extlink&oid=120399700&loc=SL114874048-224260",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r148": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.9-04(22))",
   "Topic": "942",
   "URI": "https://asc.fasb.org/extlink&oid=120399700&loc=SL114874048-224260",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r149": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.9-04.1)",
   "Topic": "942",
   "URI": "https://asc.fasb.org/extlink&oid=120399700&loc=SL114874048-224260",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r15": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "11",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "220",
   "URI": "https://asc.fasb.org/extlink&oid=126968391&loc=d3e637-108580",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r150": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.9-04.1-5)",
   "Topic": "942",
   "URI": "https://asc.fasb.org/extlink&oid=120399700&loc=SL114874048-224260",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r151": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.9-04.10)",
   "Topic": "942",
   "URI": "https://asc.fasb.org/extlink&oid=120399700&loc=SL114874048-224260",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r152": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.9-04.11)",
   "Topic": "942",
   "URI": "https://asc.fasb.org/extlink&oid=120399700&loc=SL114874048-224260",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r153": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.9-04.12)",
   "Topic": "942",
   "URI": "https://asc.fasb.org/extlink&oid=120399700&loc=SL114874048-224260",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r154": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.9-04.13)",
   "Topic": "942",
   "URI": "https://asc.fasb.org/extlink&oid=120399700&loc=SL114874048-224260",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r155": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.9-04.14(b))",
   "Topic": "942",
   "URI": "https://asc.fasb.org/extlink&oid=120399700&loc=SL114874048-224260",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r156": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.9-04.14)",
   "Topic": "942",
   "URI": "https://asc.fasb.org/extlink&oid=120399700&loc=SL114874048-224260",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r157": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.9-04.2)",
   "Topic": "942",
   "URI": "https://asc.fasb.org/extlink&oid=120399700&loc=SL114874048-224260",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r158": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.9-04.4)",
   "Topic": "942",
   "URI": "https://asc.fasb.org/extlink&oid=120399700&loc=SL114874048-224260",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r159": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.9-04.6)",
   "Topic": "942",
   "URI": "https://asc.fasb.org/extlink&oid=120399700&loc=SL114874048-224260",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r16": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "12",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "220",
   "URI": "https://asc.fasb.org/extlink&oid=126968391&loc=d3e640-108580",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r160": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.9-04.7)",
   "Topic": "942",
   "URI": "https://asc.fasb.org/extlink&oid=120399700&loc=SL114874048-224260",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r161": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.9-04.9)",
   "Topic": "942",
   "URI": "https://asc.fasb.org/extlink&oid=120399700&loc=SL114874048-224260",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r162": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "SubTopic": "320",
   "Topic": "942",
   "URI": "https://asc.fasb.org/subtopic&trid=2209399",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r163": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "325",
   "Topic": "942",
   "URI": "https://asc.fasb.org/extlink&oid=123599499&loc=d3e63345-112809",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r164": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.7-03(a)(10))",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=126734703&loc=d3e572229-122910",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r165": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.7-03(a)(12))",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=126734703&loc=d3e572229-122910",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r166": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.7-03(a)(16)(a)(1))",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=126734703&loc=d3e572229-122910",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r167": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.7-03(a)(23)(a)(4))",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=126734703&loc=d3e572229-122910",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r168": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.7-03(a)(25))",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=126734703&loc=d3e572229-122910",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r169": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.7-03.15)",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=126734703&loc=d3e572229-122910",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r17": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "14A",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "220",
   "URI": "https://asc.fasb.org/extlink&oid=126968391&loc=SL7669686-108580",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r170": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.7-04(18))",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=120400993&loc=SL114874131-224263",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r171": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.7-04(4))",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=120400993&loc=SL114874131-224263",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r172": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.7-04(8))",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=120400993&loc=SL114874131-224263",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r173": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(a)",
   "Topic": "946",
   "URI": "https://asc.fasb.org/extlink&oid=66023616&loc=SL35737432-115832",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r174": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "220",
   "Subparagraph": "(k)",
   "Topic": "946",
   "URI": "https://asc.fasb.org/extlink&oid=124433917&loc=SL114874205-224268",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r175": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.6-07.2(a),(b),(c),(d))",
   "Topic": "946",
   "URI": "https://asc.fasb.org/extlink&oid=120401555&loc=SL114874292-224272",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r176": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-12)",
   "Topic": "946",
   "URI": "https://asc.fasb.org/extlink&oid=122147990&loc=d3e611133-123010",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r177": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-14)",
   "Topic": "946",
   "URI": "https://asc.fasb.org/extlink&oid=122147990&loc=d3e611322-123010",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r178": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "SubTopic": "320",
   "Topic": "946",
   "URI": "https://asc.fasb.org/subtopic&trid=2324412",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r179": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)(1)",
   "Topic": "985",
   "URI": "https://asc.fasb.org/extlink&oid=6501960&loc=d3e128462-111756",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r18": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "220",
   "URI": "https://asc.fasb.org/extlink&oid=126968391&loc=d3e689-108580",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r180": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "985",
   "URI": "https://asc.fasb.org/extlink&oid=6501960&loc=d3e128487-111756",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r181": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Topic": "840",
   "URI": "https://asc.fasb.org/extlink&oid=123386454&loc=d3e45280-112737",
   "role": "http://fasb.org/us-gaap/role/ref/otherTransitionRef"
  },
  "r182": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "105",
   "URI": "https://asc.fasb.org/extlink&oid=126987489&loc=SL124442142-165695",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r183": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "105",
   "URI": "https://asc.fasb.org/extlink&oid=126987489&loc=SL124442142-165695",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r184": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "105",
   "URI": "https://asc.fasb.org/extlink&oid=126987489&loc=SL124442142-165695",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r185": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "105",
   "URI": "https://asc.fasb.org/extlink&oid=126987489&loc=SL124442142-165695",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r186": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(e)",
   "Topic": "105",
   "URI": "https://asc.fasb.org/extlink&oid=126987489&loc=SL124442142-165695",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r187": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(f)",
   "Topic": "105",
   "URI": "https://asc.fasb.org/extlink&oid=126987489&loc=SL124442142-165695",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r188": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "205",
   "URI": "https://asc.fasb.org/extlink&oid=109222650&loc=SL51721683-107760",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r189": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(1))",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r19": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "220",
   "URI": "https://asc.fasb.org/extlink&oid=126968391&loc=d3e557-108580",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r190": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(15))",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r191": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(17))",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r192": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(18))",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r193": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(2))",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r194": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "10A",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(e)",
   "Topic": "220",
   "URI": "https://asc.fasb.org/extlink&oid=126968391&loc=SL7669646-108580",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r195": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "10A",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(f)",
   "Topic": "220",
   "URI": "https://asc.fasb.org/extlink&oid=126968391&loc=SL7669646-108580",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r196": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "10A",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(h)",
   "Topic": "220",
   "URI": "https://asc.fasb.org/extlink&oid=126968391&loc=SL7669646-108580",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r197": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "11",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "220",
   "URI": "https://asc.fasb.org/extlink&oid=126968391&loc=d3e637-108580",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r198": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "14A",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "220",
   "URI": "https://asc.fasb.org/extlink&oid=126968391&loc=SL7669686-108580",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r199": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "17A",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "220",
   "URI": "https://asc.fasb.org/extlink&oid=126968391&loc=SL34724391-108580",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r2": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(22))",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r20": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "10",
   "Topic": "220",
   "URI": "https://asc.fasb.org/extlink&oid=124507222&loc=d3e1436-108581",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r200": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "220",
   "URI": "https://asc.fasb.org/extlink&oid=126968391&loc=SL7669619-108580",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r201": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "220",
   "URI": "https://asc.fasb.org/extlink&oid=126968391&loc=SL7669619-108580",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r202": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "220",
   "URI": "https://asc.fasb.org/extlink&oid=126968391&loc=SL7669619-108580",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r203": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "220",
   "URI": "https://asc.fasb.org/extlink&oid=126968391&loc=SL7669625-108580",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r204": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "220",
   "URI": "https://asc.fasb.org/extlink&oid=126968391&loc=SL7669625-108580",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r205": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "220",
   "URI": "https://asc.fasb.org/extlink&oid=124431353&loc=SL124442407-227067",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r206": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "220",
   "URI": "https://asc.fasb.org/extlink&oid=124431353&loc=SL124442411-227067",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r207": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "220",
   "URI": "https://asc.fasb.org/extlink&oid=124431353&loc=SL124452729-227067",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r208": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(210.5-03(11))",
   "Topic": "220",
   "URI": "https://asc.fasb.org/extlink&oid=126953954&loc=SL114868664-224227",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r209": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-03(21))",
   "Topic": "220",
   "URI": "https://asc.fasb.org/extlink&oid=126953954&loc=SL114868664-224227",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r21": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-03(1)(e))",
   "Topic": "220",
   "URI": "https://asc.fasb.org/extlink&oid=126953954&loc=SL114868656-224227",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r210": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-03(24))",
   "Topic": "220",
   "URI": "https://asc.fasb.org/extlink&oid=126953954&loc=SL114868664-224227",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r211": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-03(25))",
   "Topic": "220",
   "URI": "https://asc.fasb.org/extlink&oid=126953954&loc=SL114868664-224227",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r212": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "11",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "https://asc.fasb.org/extlink&oid=126954810&loc=d3e3151-108585",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r213": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "12",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "230",
   "URI": "https://asc.fasb.org/extlink&oid=126954810&loc=d3e3179-108585",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r214": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "230",
   "URI": "https://asc.fasb.org/extlink&oid=126954810&loc=d3e3213-108585",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r215": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "17",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "230",
   "URI": "https://asc.fasb.org/extlink&oid=126954810&loc=d3e3367-108585",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r216": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "https://asc.fasb.org/extlink&oid=126954810&loc=d3e3000-108585",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r217": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "24",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "https://asc.fasb.org/extlink&oid=126954810&loc=d3e3521-108585",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r218": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "25",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(e)",
   "Topic": "230",
   "URI": "https://asc.fasb.org/extlink&oid=126954810&loc=d3e3536-108585",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r219": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "https://asc.fasb.org/extlink&oid=126999549&loc=d3e4297-108586",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r22": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-03(10))",
   "Topic": "220",
   "URI": "https://asc.fasb.org/extlink&oid=126953954&loc=SL114868664-224227",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r220": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.4-08(g)(1)(ii))",
   "Topic": "235",
   "URI": "https://asc.fasb.org/extlink&oid=120395691&loc=d3e23780-122690",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r221": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.4-08(h))",
   "Topic": "235",
   "URI": "https://asc.fasb.org/extlink&oid=120395691&loc=d3e23780-122690",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r222": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "23",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "250",
   "URI": "https://asc.fasb.org/extlink&oid=124436220&loc=d3e21914-107793",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r223": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "24",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "250",
   "URI": "https://asc.fasb.org/extlink&oid=124436220&loc=d3e21930-107793",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r224": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "250",
   "URI": "https://asc.fasb.org/extlink&oid=124436220&loc=d3e21711-107793",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r225": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "250",
   "URI": "https://asc.fasb.org/extlink&oid=124436220&loc=d3e21728-107793",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r226": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "250",
   "URI": "https://asc.fasb.org/extlink&oid=124431687&loc=d3e22499-107794",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r227": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)(1)",
   "Topic": "250",
   "URI": "https://asc.fasb.org/extlink&oid=124431687&loc=d3e22499-107794",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r228": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)(2)",
   "Topic": "250",
   "URI": "https://asc.fasb.org/extlink&oid=124431687&loc=d3e22499-107794",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r229": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)(3)",
   "Topic": "250",
   "URI": "https://asc.fasb.org/extlink&oid=124431687&loc=d3e22499-107794",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r23": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-03(20))",
   "Topic": "220",
   "URI": "https://asc.fasb.org/extlink&oid=126953954&loc=SL114868664-224227",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r230": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)(4)",
   "Topic": "250",
   "URI": "https://asc.fasb.org/extlink&oid=124431687&loc=d3e22499-107794",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r231": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(1)",
   "Topic": "250",
   "URI": "https://asc.fasb.org/extlink&oid=124431687&loc=d3e22499-107794",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r232": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "11",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "250",
   "URI": "https://asc.fasb.org/extlink&oid=124431687&loc=d3e22694-107794",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r233": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "11",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "250",
   "URI": "https://asc.fasb.org/extlink&oid=124431687&loc=d3e22694-107794",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r234": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "250",
   "URI": "https://asc.fasb.org/extlink&oid=124431687&loc=d3e22583-107794",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r235": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "250",
   "URI": "https://asc.fasb.org/extlink&oid=124431687&loc=d3e22595-107794",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r236": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "250",
   "URI": "https://asc.fasb.org/extlink&oid=124431687&loc=d3e22644-107794",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r237": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "250",
   "URI": "https://asc.fasb.org/extlink&oid=124431687&loc=d3e22644-107794",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r238": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "250",
   "URI": "https://asc.fasb.org/extlink&oid=124431687&loc=d3e22658-107794",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r239": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "9",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "250",
   "URI": "https://asc.fasb.org/extlink&oid=124431687&loc=d3e22663-107794",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r24": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-03.3)",
   "Topic": "220",
   "URI": "https://asc.fasb.org/extlink&oid=126953954&loc=SL114868664-224227",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r240": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SAB Topic 11.M.Q2)",
   "Topic": "250",
   "URI": "https://asc.fasb.org/extlink&oid=122038215&loc=d3e31137-122693",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r241": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Topic": "250",
   "URI": "https://asc.fasb.org/extlink&oid=122038215&loc=SL108384541-122693",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r242": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "250",
   "URI": "https://asc.fasb.org/topic&trid=2122394",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r243": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "10",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "260",
   "URI": "https://asc.fasb.org/extlink&oid=126958026&loc=d3e1448-109256",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r244": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "16",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "260",
   "URI": "https://asc.fasb.org/extlink&oid=126958026&loc=d3e1505-109256",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r245": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "260",
   "URI": "https://asc.fasb.org/extlink&oid=126958026&loc=d3e1252-109256",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r246": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "22",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "260",
   "URI": "https://asc.fasb.org/extlink&oid=126958026&loc=d3e1707-109256",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r247": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "23",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "260",
   "URI": "https://asc.fasb.org/extlink&oid=126958026&loc=d3e1757-109256",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r248": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "28A",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "260",
   "URI": "https://asc.fasb.org/extlink&oid=126958026&loc=d3e1500-109256",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r249": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "40",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "260",
   "URI": "https://asc.fasb.org/extlink&oid=126958026&loc=d3e1930-109256",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r25": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-03.4)",
   "Topic": "220",
   "URI": "https://asc.fasb.org/extlink&oid=126953954&loc=SL114868664-224227",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r250": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "42",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "260",
   "URI": "https://asc.fasb.org/extlink&oid=126958026&loc=d3e2029-109256",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r251": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "60B",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "260",
   "URI": "https://asc.fasb.org/extlink&oid=126958026&loc=SL5780133-109256",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r252": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "60B",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "260",
   "URI": "https://asc.fasb.org/extlink&oid=126958026&loc=SL5780133-109256",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r253": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "260",
   "URI": "https://asc.fasb.org/extlink&oid=126958026&loc=d3e1337-109256",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r254": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "260",
   "URI": "https://asc.fasb.org/extlink&oid=124432515&loc=d3e3550-109257",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r255": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "260",
   "URI": "https://asc.fasb.org/extlink&oid=124432515&loc=d3e3550-109257",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r256": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "260",
   "URI": "https://asc.fasb.org/extlink&oid=124432515&loc=d3e3630-109257",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r257": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "260",
   "URI": "https://asc.fasb.org/extlink&oid=109243012&loc=SL65017193-207537",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r258": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "10",
   "Topic": "260",
   "URI": "https://asc.fasb.org/extlink&oid=128363288&loc=d3e3842-109258",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r259": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "260",
   "URI": "https://asc.fasb.org/topic&trid=2144383",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r26": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-03.6)",
   "Topic": "220",
   "URI": "https://asc.fasb.org/extlink&oid=126953954&loc=SL114868664-224227",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r260": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "272",
   "URI": "https://asc.fasb.org/extlink&oid=125520817&loc=d3e70191-108054",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r261": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "22",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "280",
   "URI": "https://asc.fasb.org/extlink&oid=126901519&loc=d3e8736-108599",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r262": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "22",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "280",
   "URI": "https://asc.fasb.org/extlink&oid=126901519&loc=d3e8736-108599",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r263": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "22",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "280",
   "URI": "https://asc.fasb.org/extlink&oid=126901519&loc=d3e8736-108599",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r264": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "22",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(h)",
   "Topic": "280",
   "URI": "https://asc.fasb.org/extlink&oid=126901519&loc=d3e8736-108599",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r265": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "22",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "280",
   "URI": "https://asc.fasb.org/extlink&oid=126901519&loc=d3e8736-108599",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r266": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "30",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "280",
   "URI": "https://asc.fasb.org/extlink&oid=126901519&loc=d3e8906-108599",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r267": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "30",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "280",
   "URI": "https://asc.fasb.org/extlink&oid=126901519&loc=d3e8906-108599",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r268": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "30",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "280",
   "URI": "https://asc.fasb.org/extlink&oid=126901519&loc=d3e8906-108599",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r269": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "32",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "280",
   "URI": "https://asc.fasb.org/extlink&oid=126901519&loc=d3e8933-108599",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r27": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "220",
   "URI": "https://asc.fasb.org/topic&trid=2134417",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r270": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "32",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "280",
   "URI": "https://asc.fasb.org/extlink&oid=126901519&loc=d3e8933-108599",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r271": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "32",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "280",
   "URI": "https://asc.fasb.org/extlink&oid=126901519&loc=d3e8933-108599",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r272": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "32",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "280",
   "URI": "https://asc.fasb.org/extlink&oid=126901519&loc=d3e8933-108599",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r273": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "32",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(f)",
   "Topic": "280",
   "URI": "https://asc.fasb.org/extlink&oid=126901519&loc=d3e8933-108599",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r274": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "40",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "280",
   "URI": "https://asc.fasb.org/extlink&oid=126901519&loc=d3e9031-108599",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r275": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "41",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "280",
   "URI": "https://asc.fasb.org/extlink&oid=126901519&loc=d3e9038-108599",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r276": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "42",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "280",
   "URI": "https://asc.fasb.org/extlink&oid=126901519&loc=d3e9054-108599",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r277": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "310",
   "URI": "https://asc.fasb.org/extlink&oid=124259787&loc=d3e4428-111522",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r278": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "310",
   "URI": "https://asc.fasb.org/extlink&oid=124259787&loc=d3e4437-111522",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r279": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "11",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "310",
   "URI": "https://asc.fasb.org/extlink&oid=123577603&loc=d3e5162-111524",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r28": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "12",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "230",
   "URI": "https://asc.fasb.org/extlink&oid=126954810&loc=d3e3179-108585",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r280": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "310",
   "URI": "https://asc.fasb.org/extlink&oid=123577603&loc=d3e5066-111524",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r281": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "34",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)(2)",
   "Topic": "310",
   "URI": "https://asc.fasb.org/extlink&oid=123577603&loc=SL6953682-111524",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r282": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "310",
   "URI": "https://asc.fasb.org/extlink&oid=123577603&loc=d3e5074-111524",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r283": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "310",
   "URI": "https://asc.fasb.org/extlink&oid=123577603&loc=SL6953401-111524",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r284": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "20",
   "Topic": "310",
   "URI": "https://asc.fasb.org/extlink&oid=6378536&loc=d3e10092-111533",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r285": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "20",
   "Subparagraph": "(a)",
   "Topic": "310",
   "URI": "https://asc.fasb.org/extlink&oid=126986314&loc=SL124402458-218513",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r286": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "20",
   "Subparagraph": "(b)",
   "Topic": "310",
   "URI": "https://asc.fasb.org/extlink&oid=126986314&loc=SL124402458-218513",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r287": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "20",
   "Subparagraph": "(d)(1)",
   "Topic": "310",
   "URI": "https://asc.fasb.org/extlink&oid=126986314&loc=SL124402458-218513",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r288": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "20",
   "Subparagraph": "(d)(2)",
   "Topic": "310",
   "URI": "https://asc.fasb.org/extlink&oid=126986314&loc=SL124402458-218513",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r289": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "320",
   "URI": "https://asc.fasb.org/extlink&oid=124260329&loc=d3e26610-111562",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r29": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "12",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "https://asc.fasb.org/extlink&oid=126954810&loc=d3e3179-108585",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r290": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "320",
   "URI": "https://asc.fasb.org/extlink&oid=126970911&loc=d3e27161-111563",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r291": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "320",
   "URI": "https://asc.fasb.org/extlink&oid=126970911&loc=d3e27198-111563",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r292": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "320",
   "URI": "https://asc.fasb.org/extlink&oid=126970911&loc=d3e27198-111563",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r293": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "320",
   "URI": "https://asc.fasb.org/extlink&oid=126970911&loc=d3e27198-111563",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r294": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "320",
   "URI": "https://asc.fasb.org/extlink&oid=126970911&loc=d3e27198-111563",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r295": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "320",
   "URI": "https://asc.fasb.org/extlink&oid=126970911&loc=d3e27232-111563",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r296": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "320",
   "URI": "https://asc.fasb.org/extlink&oid=126970911&loc=SL120269820-111563",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r297": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "320",
   "URI": "https://asc.fasb.org/extlink&oid=126970911&loc=SL120269820-111563",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r298": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "320",
   "URI": "https://asc.fasb.org/extlink&oid=126970911&loc=d3e27290-111563",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r299": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)(1)",
   "Topic": "320",
   "URI": "https://asc.fasb.org/extlink&oid=126970911&loc=d3e27290-111563",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r3": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(28))",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r30": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "230",
   "URI": "https://asc.fasb.org/extlink&oid=126954810&loc=d3e3213-108585",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r300": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)(2)",
   "Topic": "320",
   "URI": "https://asc.fasb.org/extlink&oid=126970911&loc=d3e27290-111563",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r301": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "320",
   "URI": "https://asc.fasb.org/extlink&oid=126970911&loc=d3e27337-111563",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r302": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "9",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "320",
   "URI": "https://asc.fasb.org/extlink&oid=126970911&loc=d3e27357-111563",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r303": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "9",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "320",
   "URI": "https://asc.fasb.org/extlink&oid=126970911&loc=d3e27357-111563",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r304": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "323",
   "URI": "https://asc.fasb.org/extlink&oid=114001798&loc=d3e33918-111571",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r305": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "326",
   "URI": "https://asc.fasb.org/extlink&oid=122640432&loc=SL121648383-210437",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r306": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "326",
   "URI": "https://asc.fasb.org/extlink&oid=122640432&loc=SL121648383-210437",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r307": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "326",
   "URI": "https://asc.fasb.org/extlink&oid=122640432&loc=SL121648383-210437",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r308": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "326",
   "URI": "https://asc.fasb.org/extlink&oid=122640432&loc=SL121648383-210437",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r309": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(e)(1)",
   "Topic": "326",
   "URI": "https://asc.fasb.org/extlink&oid=122640432&loc=SL121648383-210437",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r31": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "https://asc.fasb.org/extlink&oid=126954810&loc=d3e3213-108585",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r310": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(e)(2)",
   "Topic": "326",
   "URI": "https://asc.fasb.org/extlink&oid=122640432&loc=SL121648383-210437",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r311": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(e)(3)",
   "Topic": "326",
   "URI": "https://asc.fasb.org/extlink&oid=122640432&loc=SL121648383-210437",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r312": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(e)(4)",
   "Topic": "326",
   "URI": "https://asc.fasb.org/extlink&oid=122640432&loc=SL121648383-210437",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r313": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "20",
   "Topic": "326",
   "URI": "https://asc.fasb.org/extlink&oid=124255206&loc=SL82919202-210446",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r314": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "11",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "326",
   "URI": "https://asc.fasb.org/extlink&oid=124255953&loc=SL82919244-210447",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r315": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)",
   "Topic": "326",
   "URI": "https://asc.fasb.org/extlink&oid=124255953&loc=SL82919249-210447",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r316": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(d)",
   "Topic": "326",
   "URI": "https://asc.fasb.org/extlink&oid=124255953&loc=SL82919249-210447",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r317": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(e)",
   "Topic": "326",
   "URI": "https://asc.fasb.org/extlink&oid=124255953&loc=SL82919249-210447",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r318": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "326",
   "URI": "https://asc.fasb.org/extlink&oid=124255953&loc=SL82919249-210447",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r319": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "14",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "326",
   "URI": "https://asc.fasb.org/extlink&oid=124255953&loc=SL82919253-210447",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r32": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "14",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "230",
   "URI": "https://asc.fasb.org/extlink&oid=126954810&loc=d3e3255-108585",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r320": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "16",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(a)",
   "Topic": "326",
   "URI": "https://asc.fasb.org/extlink&oid=124255953&loc=SL82919258-210447",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r321": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "16",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)",
   "Topic": "326",
   "URI": "https://asc.fasb.org/extlink&oid=124255953&loc=SL82919258-210447",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r322": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "16",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(c)",
   "Topic": "326",
   "URI": "https://asc.fasb.org/extlink&oid=124255953&loc=SL82919258-210447",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r323": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "16",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(d)",
   "Topic": "326",
   "URI": "https://asc.fasb.org/extlink&oid=124255953&loc=SL82919258-210447",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r324": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "16",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "326",
   "URI": "https://asc.fasb.org/extlink&oid=124255953&loc=SL82919258-210447",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r325": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "326",
   "URI": "https://asc.fasb.org/extlink&oid=124255953&loc=SL120267963-210447",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r326": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)",
   "Topic": "326",
   "URI": "https://asc.fasb.org/extlink&oid=124255953&loc=SL82919230-210447",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r327": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "326",
   "URI": "https://asc.fasb.org/extlink&oid=124255953&loc=SL82919230-210447",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r328": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "326",
   "URI": "https://asc.fasb.org/extlink&oid=124255953&loc=SL82919232-210447",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r329": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "326",
   "URI": "https://asc.fasb.org/extlink&oid=124255953&loc=SL120270059-210447",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r33": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "230",
   "URI": "https://asc.fasb.org/extlink&oid=126954810&loc=d3e3291-108585",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r330": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "30",
   "Topic": "326",
   "URI": "https://asc.fasb.org/extlink&oid=124258926&loc=SL82898722-210454",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r331": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Subparagraph": "(a)(1)",
   "Topic": "326",
   "URI": "https://asc.fasb.org/extlink&oid=124269663&loc=SL82922888-210455",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r332": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Subparagraph": "(a)(2)",
   "Topic": "326",
   "URI": "https://asc.fasb.org/extlink&oid=124269663&loc=SL82922888-210455",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r333": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Topic": "326",
   "URI": "https://asc.fasb.org/extlink&oid=124269663&loc=SL82922888-210455",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r334": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Topic": "326",
   "URI": "https://asc.fasb.org/extlink&oid=124269663&loc=SL82922890-210455",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r335": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Topic": "326",
   "URI": "https://asc.fasb.org/extlink&oid=124269663&loc=SL82922895-210455",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r336": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "9",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Topic": "326",
   "URI": "https://asc.fasb.org/extlink&oid=124269663&loc=SL82922900-210455",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r337": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "20",
   "Topic": "350",
   "URI": "https://asc.fasb.org/extlink&oid=99380562&loc=d3e13770-109266",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r338": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)",
   "Topic": "450",
   "URI": "https://asc.fasb.org/extlink&oid=121557415&loc=d3e14435-108349",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r339": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "9",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)",
   "Topic": "450",
   "URI": "https://asc.fasb.org/extlink&oid=121557415&loc=d3e14557-108349",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r34": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "21C",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "https://asc.fasb.org/extlink&oid=126954810&loc=SL94080552-108585",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r340": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "20",
   "Subparagraph": "(SAB Topic 5.Y.Q2)",
   "Topic": "450",
   "URI": "https://asc.fasb.org/extlink&oid=27011672&loc=d3e149879-122751",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r341": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "20",
   "Subparagraph": "(SAB Topic 5.Y.Q4)",
   "Topic": "450",
   "URI": "https://asc.fasb.org/extlink&oid=27011672&loc=d3e149879-122751",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r342": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "460",
   "URI": "https://asc.fasb.org/extlink&oid=121611286&loc=d3e11927-110247",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r343": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "460",
   "URI": "https://asc.fasb.org/extlink&oid=124440162&loc=d3e12021-110248",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r344": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.13-01(a)(4)(i))",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=126975872&loc=SL124442526-122756",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r345": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.13-01(a)(4)(iii)(A))",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=126975872&loc=SL124442526-122756",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r346": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.13-01(a)(4)(iv))",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=126975872&loc=SL124442526-122756",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r347": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.13-01(a)(5))",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=126975872&loc=SL124442526-122756",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r348": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.13-02(a)(4)(i))",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=126975872&loc=SL124442552-122756",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r349": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.13-02(a)(4)(iii)(A))",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=126975872&loc=SL124442552-122756",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r35": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "24",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "https://asc.fasb.org/extlink&oid=126954810&loc=d3e3521-108585",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r350": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.13-02(a)(4)(iii)(B))",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=126975872&loc=SL124442552-122756",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r351": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.13-02(a)(4)(iv))",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=126975872&loc=SL124442552-122756",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r352": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.13-02(a)(5))",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=126975872&loc=SL124442552-122756",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r353": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1D",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(c)",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123466505&loc=SL123495340-112611",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r354": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1I",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(c)",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123466505&loc=SL123495371-112611",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r355": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "505",
   "URI": "https://asc.fasb.org/extlink&oid=126973232&loc=SL123496158-112644",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r356": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "18",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "505",
   "URI": "https://asc.fasb.org/extlink&oid=126973232&loc=SL123496189-112644",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r357": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.3-04)",
   "Topic": "505",
   "URI": "https://asc.fasb.org/extlink&oid=120397183&loc=d3e187085-122770",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r358": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "606",
   "URI": "https://asc.fasb.org/extlink&oid=126920106&loc=SL49130543-203045",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r359": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "606",
   "URI": "https://asc.fasb.org/extlink&oid=126920106&loc=SL49130545-203045",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r36": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "25",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(f)",
   "Topic": "230",
   "URI": "https://asc.fasb.org/extlink&oid=126954810&loc=d3e3536-108585",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r360": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3A",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "20",
   "Subparagraph": "(b)",
   "Topic": "715",
   "URI": "https://asc.fasb.org/extlink&oid=123453770&loc=SL108413299-114919",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r361": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(a)(2)",
   "Topic": "715",
   "URI": "https://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r362": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)(3)",
   "Topic": "715",
   "URI": "https://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r363": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(d)(i)",
   "Topic": "715",
   "URI": "https://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r364": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(d)(iii)",
   "Topic": "715",
   "URI": "https://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r365": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(d)(iv)(01)",
   "Topic": "715",
   "URI": "https://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r366": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(d)(iv)(02)",
   "Topic": "715",
   "URI": "https://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r367": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(d)(iv)(02)(A)",
   "Topic": "715",
   "URI": "https://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r368": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(d)(iv)(02)(B)",
   "Topic": "715",
   "URI": "https://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r369": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(d)(iv)(02)(C)",
   "Topic": "715",
   "URI": "https://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r37": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "25",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "https://asc.fasb.org/extlink&oid=126954810&loc=d3e3536-108585",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r370": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(d)(iv)(03)",
   "Topic": "715",
   "URI": "https://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r371": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(h)",
   "Topic": "715",
   "URI": "https://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r372": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(h)(2)",
   "Topic": "715",
   "URI": "https://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r373": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(h)(3)",
   "Topic": "715",
   "URI": "https://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r374": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(h)(4)",
   "Topic": "715",
   "URI": "https://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r375": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(l)",
   "Topic": "715",
   "URI": "https://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r376": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(o)",
   "Topic": "715",
   "URI": "https://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r377": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(p)",
   "Topic": "715",
   "URI": "https://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r378": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(q)",
   "Topic": "715",
   "URI": "https://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r379": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(r)(1)",
   "Topic": "715",
   "URI": "https://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r38": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "28",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "230",
   "URI": "https://asc.fasb.org/extlink&oid=126954810&loc=d3e3602-108585",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r380": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(r)(2)",
   "Topic": "715",
   "URI": "https://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r381": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(a)",
   "Topic": "715",
   "URI": "https://asc.fasb.org/extlink&oid=123447040&loc=d3e2709-114920",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r382": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(a)(2)",
   "Topic": "715",
   "URI": "https://asc.fasb.org/extlink&oid=123447040&loc=d3e2709-114920",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r383": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(a)(3)",
   "Topic": "715",
   "URI": "https://asc.fasb.org/extlink&oid=123447040&loc=d3e2709-114920",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r384": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(a)(4)",
   "Topic": "715",
   "URI": "https://asc.fasb.org/extlink&oid=123447040&loc=d3e2709-114920",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r385": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)",
   "Topic": "715",
   "URI": "https://asc.fasb.org/extlink&oid=123447040&loc=d3e2709-114920",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r386": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "20",
   "Topic": "715",
   "URI": "https://asc.fasb.org/extlink&oid=21916913&loc=d3e273930-122802",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r387": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "60",
   "Subparagraph": "(c)",
   "Topic": "715",
   "URI": "https://asc.fasb.org/extlink&oid=6414203&loc=d3e39689-114964",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r388": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "70",
   "Topic": "715",
   "URI": "https://asc.fasb.org/extlink&oid=49170846&loc=d3e28014-114942",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r389": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "80",
   "Subparagraph": "(d)",
   "Topic": "715",
   "URI": "https://asc.fasb.org/extlink&oid=65877416&loc=SL14450657-114947",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r39": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "28",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "230",
   "URI": "https://asc.fasb.org/extlink&oid=126954810&loc=d3e3602-108585",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r390": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "715",
   "URI": "https://asc.fasb.org/topic&trid=2235017",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r391": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1D",
   "Publisher": "FASB",
   "Section": "35",
   "SubTopic": "10",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=126961718&loc=SL116886442-113899",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r392": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "35",
   "SubTopic": "10",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=126961718&loc=d3e4549-113899",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r393": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=126962052&loc=d3e4991-113900",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r394": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r395": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)(1)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r396": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)(2)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r397": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)(3)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r398": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(1)(i)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r399": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(1)(ii)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r4": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(29))",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r40": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "28",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "https://asc.fasb.org/extlink&oid=126954810&loc=d3e3602-108585",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r400": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(1)(iii)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r401": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(1)(iv)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r402": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(1)(iv)(01)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r403": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(1)(iv)(02)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r404": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(1)(iv)(03)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r405": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(1)(iv)(04)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r406": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(2)(i)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r407": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(2)(ii)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r408": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(2)(iii)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r409": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(2)(iii)(01)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r41": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "https://asc.fasb.org/extlink&oid=126954810&loc=d3e3044-108585",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r410": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(2)(iii)(02)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r411": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(2)(iii)(03)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r412": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)(1)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r413": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)(2)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r414": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(e)(1)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r415": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(e)(2)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r416": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(f)(2)(i)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r417": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(f)(2)(ii)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r418": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(f)(2)(iii)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r419": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(f)(2)(iv)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r42": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "https://asc.fasb.org/extlink&oid=126954810&loc=d3e3095-108585",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r420": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(f)(2)(v)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r421": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(h)(1)(i)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r422": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(h)(2)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r423": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(h)(2)(i)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r424": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(i)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r425": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(l)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r426": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(e)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128097895&loc=SL121327923-165333",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r427": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(f)(1)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128097895&loc=SL121327923-165333",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r428": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(f)(2)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128097895&loc=SL121327923-165333",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r429": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "718",
   "URI": "https://asc.fasb.org/topic&trid=2228938",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r43": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "9",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "230",
   "URI": "https://asc.fasb.org/extlink&oid=126954810&loc=d3e3098-108585",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r430": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=123427490&loc=d3e31917-109318",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r431": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=123427490&loc=d3e31931-109318",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r432": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "10",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=121826272&loc=d3e32672-109319",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r433": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(d)(2)",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=126983759&loc=SL121830611-158277",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r434": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(d)(3)",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=126983759&loc=SL121830611-158277",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r435": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(e)(1)",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=126983759&loc=SL121830611-158277",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r436": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(e)(2)",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=126983759&loc=SL121830611-158277",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r437": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(e)(3)",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=126983759&loc=SL121830611-158277",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r438": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SAB TOPIC 6.I.7)",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=122134291&loc=d3e330036-122817",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r439": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "20",
   "Subparagraph": "(a)",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=123586238&loc=d3e38679-109324",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r44": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "https://asc.fasb.org/extlink&oid=126999549&loc=d3e4297-108586",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r440": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "20",
   "Subparagraph": "(a)",
   "Topic": "805",
   "URI": "https://asc.fasb.org/extlink&oid=128092918&loc=SL128093175-196984",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r441": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "20",
   "Subparagraph": "(b)",
   "Topic": "805",
   "URI": "https://asc.fasb.org/extlink&oid=128092918&loc=SL128093175-196984",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r442": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "20",
   "Subparagraph": "(d)",
   "Topic": "805",
   "URI": "https://asc.fasb.org/extlink&oid=128092918&loc=SL128093175-196984",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r443": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "19",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "810",
   "URI": "https://asc.fasb.org/extlink&oid=126929396&loc=SL4569616-111683",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r444": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "25",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "810",
   "URI": "https://asc.fasb.org/extlink&oid=116870748&loc=SL6758485-165988",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r445": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "25",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "810",
   "URI": "https://asc.fasb.org/extlink&oid=116870748&loc=SL6758485-165988",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r446": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)(1)",
   "Topic": "810",
   "URI": "https://asc.fasb.org/extlink&oid=109239629&loc=SL4573702-111684",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r447": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(1)",
   "Topic": "810",
   "URI": "https://asc.fasb.org/extlink&oid=109239629&loc=SL4573702-111684",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r448": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(bb)",
   "Topic": "810",
   "URI": "https://asc.fasb.org/extlink&oid=123419778&loc=d3e5710-111685",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r449": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "810",
   "URI": "https://asc.fasb.org/extlink&oid=123419778&loc=d3e5710-111685",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r45": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "https://asc.fasb.org/extlink&oid=126999549&loc=SL98516268-108586",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r450": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4K",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)(4)",
   "Topic": "815",
   "URI": "https://asc.fasb.org/extlink&oid=125515794&loc=SL5708775-113959",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r451": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "40",
   "Subparagraph": "(f)",
   "Topic": "815",
   "URI": "https://asc.fasb.org/extlink&oid=126731327&loc=d3e90205-114008",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r452": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(a)(1)",
   "Topic": "815",
   "URI": "https://asc.fasb.org/extlink&oid=126732423&loc=SL123482106-238011",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r453": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(a)(2)",
   "Topic": "815",
   "URI": "https://asc.fasb.org/extlink&oid=126732423&loc=SL123482106-238011",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r454": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(a)(3)",
   "Topic": "815",
   "URI": "https://asc.fasb.org/extlink&oid=126732423&loc=SL123482106-238011",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r455": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(b)(1)",
   "Topic": "815",
   "URI": "https://asc.fasb.org/extlink&oid=126732423&loc=SL123482106-238011",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r456": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(b)(2)",
   "Topic": "815",
   "URI": "https://asc.fasb.org/extlink&oid=126732423&loc=SL123482106-238011",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r457": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(c)",
   "Topic": "815",
   "URI": "https://asc.fasb.org/extlink&oid=126732423&loc=SL123482106-238011",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r458": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(d)",
   "Topic": "815",
   "URI": "https://asc.fasb.org/extlink&oid=126732423&loc=SL123482106-238011",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r459": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(e)(1)",
   "Topic": "815",
   "URI": "https://asc.fasb.org/extlink&oid=126732423&loc=SL123482106-238011",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r46": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "250",
   "URI": "https://asc.fasb.org/extlink&oid=124431687&loc=d3e22499-107794",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r460": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(e)(2)",
   "Topic": "815",
   "URI": "https://asc.fasb.org/extlink&oid=126732423&loc=SL123482106-238011",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r461": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(e)(3)",
   "Topic": "815",
   "URI": "https://asc.fasb.org/extlink&oid=126732423&loc=SL123482106-238011",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r462": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(e)(4)",
   "Topic": "815",
   "URI": "https://asc.fasb.org/extlink&oid=126732423&loc=SL123482106-238011",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r463": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(f)",
   "Topic": "815",
   "URI": "https://asc.fasb.org/extlink&oid=126732423&loc=SL123482106-238011",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r464": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(a)",
   "Topic": "815",
   "URI": "https://asc.fasb.org/extlink&oid=126732423&loc=SL126732908-238011",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r465": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(c)(1)",
   "Topic": "815",
   "URI": "https://asc.fasb.org/extlink&oid=126732423&loc=SL126732908-238011",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r466": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(c)(2)",
   "Topic": "815",
   "URI": "https://asc.fasb.org/extlink&oid=126732423&loc=SL126732908-238011",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r467": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(c)(3)",
   "Topic": "815",
   "URI": "https://asc.fasb.org/extlink&oid=126732423&loc=SL126732908-238011",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r468": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "820",
   "URI": "https://asc.fasb.org/extlink&oid=126976982&loc=d3e19207-110258",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r469": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "820",
   "URI": "https://asc.fasb.org/extlink&oid=126976982&loc=d3e19207-110258",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r47": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "250",
   "URI": "https://asc.fasb.org/extlink&oid=124431687&loc=d3e22583-107794",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r470": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(bbb)",
   "Topic": "820",
   "URI": "https://asc.fasb.org/extlink&oid=126976982&loc=d3e19207-110258",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r471": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(bbb)(1)",
   "Topic": "820",
   "URI": "https://asc.fasb.org/extlink&oid=126976982&loc=d3e19207-110258",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r472": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(bbb)(2)",
   "Topic": "820",
   "URI": "https://asc.fasb.org/extlink&oid=126976982&loc=d3e19207-110258",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r473": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(h)",
   "Topic": "820",
   "URI": "https://asc.fasb.org/extlink&oid=126976982&loc=d3e19207-110258",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r474": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "820",
   "URI": "https://asc.fasb.org/extlink&oid=126976982&loc=d3e19207-110258",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r475": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "820",
   "URI": "https://asc.fasb.org/extlink&oid=126976982&loc=d3e19279-110258",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r476": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "820",
   "URI": "https://asc.fasb.org/extlink&oid=126976982&loc=SL6742756-110258",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r477": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "825",
   "URI": "https://asc.fasb.org/extlink&oid=123594786&loc=SL75136599-209740",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r478": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "825",
   "URI": "https://asc.fasb.org/extlink&oid=123594809&loc=d3e13220-108610",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r479": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "10",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "825",
   "URI": "https://asc.fasb.org/extlink&oid=123594938&loc=d3e13433-108611",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r48": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "10",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "260",
   "URI": "https://asc.fasb.org/extlink&oid=126958026&loc=d3e1448-109256",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r480": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "28",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(f)",
   "Topic": "825",
   "URI": "https://asc.fasb.org/extlink&oid=123596393&loc=d3e14064-108612",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r481": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "825",
   "URI": "https://asc.fasb.org/extlink&oid=126983955&loc=SL120254526-165497",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r482": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "825",
   "URI": "https://asc.fasb.org/extlink&oid=126983955&loc=SL120254526-165497",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r483": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "825",
   "URI": "https://asc.fasb.org/extlink&oid=126983955&loc=SL121967933-165497",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r484": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "825",
   "URI": "https://asc.fasb.org/extlink&oid=126983955&loc=SL121967933-165497",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r485": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(c)(1)",
   "Topic": "825",
   "URI": "https://asc.fasb.org/extlink&oid=126983955&loc=SL121967933-165497",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r486": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(c)(2)",
   "Topic": "825",
   "URI": "https://asc.fasb.org/extlink&oid=126983955&loc=SL121967933-165497",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r487": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(e)(1)",
   "Topic": "825",
   "URI": "https://asc.fasb.org/extlink&oid=126983955&loc=SL121967933-165497",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r488": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(e)(2)",
   "Topic": "825",
   "URI": "https://asc.fasb.org/extlink&oid=126983955&loc=SL121967933-165497",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r489": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(e)(3)",
   "Topic": "825",
   "URI": "https://asc.fasb.org/extlink&oid=126983955&loc=SL121967933-165497",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r49": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "260",
   "URI": "https://asc.fasb.org/extlink&oid=126958026&loc=d3e2646-109256",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r490": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "825",
   "URI": "https://asc.fasb.org/extlink&oid=126983955&loc=SL122642865-165497",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r491": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "825",
   "URI": "https://asc.fasb.org/extlink&oid=126983955&loc=SL122642865-165497",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r492": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "17",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "30",
   "Topic": "830",
   "URI": "https://asc.fasb.org/extlink&oid=118261656&loc=d3e32136-110900",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r493": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "20",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "30",
   "Subparagraph": "(a)",
   "Topic": "830",
   "URI": "https://asc.fasb.org/extlink&oid=118261656&loc=d3e32211-110900",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r494": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "20",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "30",
   "Subparagraph": "(b)",
   "Topic": "830",
   "URI": "https://asc.fasb.org/extlink&oid=118261656&loc=d3e32211-110900",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r495": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "20",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "30",
   "Subparagraph": "(c)",
   "Topic": "830",
   "URI": "https://asc.fasb.org/extlink&oid=118261656&loc=d3e32211-110900",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r496": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "20",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "30",
   "Subparagraph": "(d)",
   "Topic": "830",
   "URI": "https://asc.fasb.org/extlink&oid=118261656&loc=d3e32211-110900",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r497": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "20",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "30",
   "Topic": "830",
   "URI": "https://asc.fasb.org/extlink&oid=118261656&loc=d3e32211-110900",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r498": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Topic": "830",
   "URI": "https://asc.fasb.org/extlink&oid=6450520&loc=d3e32583-110901",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r499": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "832",
   "URI": "https://asc.fasb.org/extlink&oid=128342835&loc=SL128342857-244232",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r5": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(30)(a)(1))",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r50": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "260",
   "URI": "https://asc.fasb.org/extlink&oid=124432515&loc=d3e3550-109257",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r500": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "832",
   "URI": "https://asc.fasb.org/extlink&oid=128342835&loc=SL128342857-244232",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r501": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(a)",
   "Topic": "835",
   "URI": "https://asc.fasb.org/extlink&oid=6450988&loc=d3e26243-108391",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r502": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "842",
   "URI": "https://asc.fasb.org/extlink&oid=128293352&loc=SL126838806-209984",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r503": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "842",
   "URI": "https://asc.fasb.org/extlink&oid=128293352&loc=SL126838806-209984",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r504": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "842",
   "URI": "https://asc.fasb.org/extlink&oid=128293352&loc=SL126838806-209984",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r505": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(f)(1)",
   "Topic": "842",
   "URI": "https://asc.fasb.org/extlink&oid=128293352&loc=SL126838806-209984",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r506": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(f)(3)",
   "Topic": "842",
   "URI": "https://asc.fasb.org/extlink&oid=128293352&loc=SL126838806-209984",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r507": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "20",
   "Subparagraph": "(a)",
   "Topic": "842",
   "URI": "https://asc.fasb.org/extlink&oid=123391704&loc=SL77918627-209977",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r508": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "20",
   "Subparagraph": "(b)",
   "Topic": "842",
   "URI": "https://asc.fasb.org/extlink&oid=123391704&loc=SL77918627-209977",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r509": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "20",
   "Subparagraph": "(a)",
   "Topic": "842",
   "URI": "https://asc.fasb.org/extlink&oid=123391704&loc=SL77918643-209977",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r51": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "12",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "270",
   "URI": "https://asc.fasb.org/extlink&oid=126900757&loc=d3e725-108305",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r510": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(g)(1)",
   "Topic": "842",
   "URI": "https://asc.fasb.org/extlink&oid=128292326&loc=SL77918686-209980",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r511": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "848",
   "URI": "https://asc.fasb.org/extlink&oid=125980421&loc=SL122150809-237846",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r512": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(e)(1)",
   "Topic": "848",
   "URI": "https://asc.fasb.org/extlink&oid=125980421&loc=SL122150809-237846",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r513": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "848",
   "URI": "https://asc.fasb.org/extlink&oid=125980421&loc=SL125981372-237846",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r514": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(a)(1)",
   "Topic": "848",
   "URI": "https://asc.fasb.org/extlink&oid=125980421&loc=SL125981372-237846",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r515": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(a)(2)",
   "Topic": "848",
   "URI": "https://asc.fasb.org/extlink&oid=125980421&loc=SL125981372-237846",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r516": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(a)(3)(iii)(01)",
   "Topic": "848",
   "URI": "https://asc.fasb.org/extlink&oid=125980421&loc=SL125981372-237846",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r517": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(a)(3)(iii)(03)",
   "Topic": "848",
   "URI": "https://asc.fasb.org/extlink&oid=125980421&loc=SL125981372-237846",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r518": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "848",
   "URI": "https://asc.fasb.org/extlink&oid=125980421&loc=SL125981372-237846",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r519": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)(2)(i)",
   "Topic": "860",
   "URI": "https://asc.fasb.org/extlink&oid=121570589&loc=d3e107207-111719",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r52": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "270",
   "URI": "https://asc.fasb.org/extlink&oid=126900757&loc=d3e765-108305",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r520": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)(2)(ii)",
   "Topic": "860",
   "URI": "https://asc.fasb.org/extlink&oid=121570589&loc=d3e107207-111719",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r521": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)(3)",
   "Topic": "860",
   "URI": "https://asc.fasb.org/extlink&oid=121570589&loc=d3e107207-111719",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r522": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(bb)(1)",
   "Topic": "860",
   "URI": "https://asc.fasb.org/extlink&oid=121570589&loc=d3e107207-111719",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r523": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(bb)(2)",
   "Topic": "860",
   "URI": "https://asc.fasb.org/extlink&oid=121570589&loc=d3e107207-111719",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r524": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(bb)(3)",
   "Topic": "860",
   "URI": "https://asc.fasb.org/extlink&oid=121570589&loc=d3e107207-111719",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r525": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(c)(1)",
   "Topic": "860",
   "URI": "https://asc.fasb.org/extlink&oid=121570589&loc=d3e107207-111719",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r526": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(c)(2)",
   "Topic": "860",
   "URI": "https://asc.fasb.org/extlink&oid=121570589&loc=d3e107207-111719",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r527": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(c)(3)",
   "Topic": "860",
   "URI": "https://asc.fasb.org/extlink&oid=121570589&loc=d3e107207-111719",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r528": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)(1)",
   "Topic": "860",
   "URI": "https://asc.fasb.org/extlink&oid=121570589&loc=d3e107314-111719",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r529": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)(2)",
   "Topic": "860",
   "URI": "https://asc.fasb.org/extlink&oid=121570589&loc=d3e107314-111719",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r53": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "16",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "275",
   "URI": "https://asc.fasb.org/extlink&oid=99393423&loc=d3e6327-108592",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r530": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)(3)",
   "Topic": "860",
   "URI": "https://asc.fasb.org/extlink&oid=121570589&loc=d3e107314-111719",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r531": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(c)",
   "Topic": "860",
   "URI": "https://asc.fasb.org/extlink&oid=121570589&loc=d3e107314-111719",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r532": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "30",
   "Topic": "860",
   "URI": "https://asc.fasb.org/extlink&oid=66007379&loc=d3e113888-111728",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r533": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Subparagraph": "(b)(1)(i)",
   "Topic": "860",
   "URI": "https://asc.fasb.org/extlink&oid=109249958&loc=SL6224234-111729",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r534": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Subparagraph": "(a)",
   "Topic": "860",
   "URI": "https://asc.fasb.org/extlink&oid=109249958&loc=SL34722452-111729",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r535": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "50",
   "Subparagraph": "(a)(1)",
   "Topic": "860",
   "URI": "https://asc.fasb.org/extlink&oid=128311188&loc=d3e122625-111746",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r536": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "50",
   "Subparagraph": "(a)(2)",
   "Topic": "860",
   "URI": "https://asc.fasb.org/extlink&oid=128311188&loc=d3e122625-111746",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r537": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "50",
   "Subparagraph": "(a)(3)",
   "Topic": "860",
   "URI": "https://asc.fasb.org/extlink&oid=128311188&loc=d3e122625-111746",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r538": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "50",
   "Subparagraph": "(a)(4)(i)",
   "Topic": "860",
   "URI": "https://asc.fasb.org/extlink&oid=128311188&loc=d3e122625-111746",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r539": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "50",
   "Subparagraph": "(a)(1)",
   "Topic": "860",
   "URI": "https://asc.fasb.org/extlink&oid=128311188&loc=d3e122739-111746",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r54": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "18",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "275",
   "URI": "https://asc.fasb.org/extlink&oid=99393423&loc=d3e6351-108592",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r540": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "50",
   "Subparagraph": "(a)(2)",
   "Topic": "860",
   "URI": "https://asc.fasb.org/extlink&oid=128311188&loc=d3e122739-111746",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r541": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "50",
   "Subparagraph": "(a)(3)",
   "Topic": "860",
   "URI": "https://asc.fasb.org/extlink&oid=128311188&loc=d3e122739-111746",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r542": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "50",
   "Subparagraph": "(a)(4)",
   "Topic": "860",
   "URI": "https://asc.fasb.org/extlink&oid=128311188&loc=d3e122739-111746",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r543": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "50",
   "Subparagraph": "(a)(5)",
   "Topic": "860",
   "URI": "https://asc.fasb.org/extlink&oid=128311188&loc=d3e122739-111746",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r544": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "50",
   "Subparagraph": "(a)(6)",
   "Topic": "860",
   "URI": "https://asc.fasb.org/extlink&oid=128311188&loc=d3e122739-111746",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r545": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "50",
   "Subparagraph": "(a)(7)",
   "Topic": "860",
   "URI": "https://asc.fasb.org/extlink&oid=128311188&loc=d3e122739-111746",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r546": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "50",
   "Subparagraph": "(b)",
   "Topic": "860",
   "URI": "https://asc.fasb.org/extlink&oid=128311188&loc=d3e122739-111746",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r547": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "50",
   "Subparagraph": "(e)(1)",
   "Topic": "860",
   "URI": "https://asc.fasb.org/extlink&oid=128311188&loc=d3e122739-111746",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r548": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "50",
   "Subparagraph": "(e)(2)",
   "Topic": "860",
   "URI": "https://asc.fasb.org/extlink&oid=128311188&loc=d3e122739-111746",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r549": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "50",
   "Subparagraph": "(e)(3)",
   "Topic": "860",
   "URI": "https://asc.fasb.org/extlink&oid=128311188&loc=d3e122739-111746",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r55": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "18",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "275",
   "URI": "https://asc.fasb.org/extlink&oid=99393423&loc=d3e6351-108592",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r550": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "910",
   "URI": "https://asc.fasb.org/extlink&oid=126937589&loc=SL119991595-234733",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r551": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SAB Topic 11.L)",
   "Topic": "924",
   "URI": "https://asc.fasb.org/extlink&oid=6472922&loc=d3e499488-122856",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r552": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "20",
   "Subparagraph": "(f)(1)",
   "Topic": "926",
   "URI": "https://asc.fasb.org/extlink&oid=120154821&loc=SL120154904-197079",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r553": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "20",
   "Subparagraph": "(f)(2)",
   "Topic": "926",
   "URI": "https://asc.fasb.org/extlink&oid=120154821&loc=SL120154904-197079",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r554": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "20",
   "Subparagraph": "(f)(3)",
   "Topic": "926",
   "URI": "https://asc.fasb.org/extlink&oid=120154821&loc=SL120154904-197079",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r555": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.9-03(10)(1))",
   "Topic": "942",
   "URI": "https://asc.fasb.org/extlink&oid=126897435&loc=d3e534808-122878",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r556": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.9-03(6))",
   "Topic": "942",
   "URI": "https://asc.fasb.org/extlink&oid=126897435&loc=d3e534808-122878",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r557": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.9-03(7))",
   "Topic": "942",
   "URI": "https://asc.fasb.org/extlink&oid=126897435&loc=d3e534808-122878",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r558": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.9-04(23))",
   "Topic": "942",
   "URI": "https://asc.fasb.org/extlink&oid=120399700&loc=SL114874048-224260",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r559": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.9-04(26))",
   "Topic": "942",
   "URI": "https://asc.fasb.org/extlink&oid=120399700&loc=SL114874048-224260",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r56": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "20",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "275",
   "URI": "https://asc.fasb.org/extlink&oid=99393423&loc=d3e6404-108592",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r560": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.9-04(27))",
   "Topic": "942",
   "URI": "https://asc.fasb.org/extlink&oid=120399700&loc=SL114874048-224260",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r561": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "235",
   "Subparagraph": "(SX 210.9-05(b)(2))",
   "Topic": "942",
   "URI": "https://asc.fasb.org/extlink&oid=120399901&loc=d3e537907-122884",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r562": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "320",
   "Subparagraph": "(b)",
   "Topic": "942",
   "URI": "https://asc.fasb.org/extlink&oid=126980459&loc=d3e62557-112803",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r563": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "320",
   "Subparagraph": "(a)",
   "Topic": "942",
   "URI": "https://asc.fasb.org/extlink&oid=126980459&loc=SL120269850-112803",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r564": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "320",
   "Subparagraph": "(b)",
   "Topic": "942",
   "URI": "https://asc.fasb.org/extlink&oid=126980459&loc=SL120269850-112803",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r565": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "320",
   "Subparagraph": "(c)",
   "Topic": "942",
   "URI": "https://asc.fasb.org/extlink&oid=126980459&loc=SL120269850-112803",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r566": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "320",
   "Subparagraph": "(d)",
   "Topic": "942",
   "URI": "https://asc.fasb.org/extlink&oid=126980459&loc=SL120269850-112803",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r567": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.7-04(19))",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=120400993&loc=SL114874131-224263",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r568": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.7-04(22))",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=120400993&loc=SL114874131-224263",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r569": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.7-04(23))",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=120400993&loc=SL114874131-224263",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r57": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "21",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "275",
   "URI": "https://asc.fasb.org/extlink&oid=99393423&loc=d3e6442-108592",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r570": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.7-04(3)(d))",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=120400993&loc=SL114874131-224263",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r571": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.7-04(9))",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=120400993&loc=SL114874131-224263",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r572": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "310",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=123605502&loc=d3e21286-158488",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r573": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "310",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=123605502&loc=d3e21310-158488",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r574": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "310",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=123605549&loc=d3e21493-158490",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r575": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "40",
   "Subparagraph": "(d)",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=124506351&loc=SL117782755-158439",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r576": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(a)",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=124501264&loc=SL117420844-207641",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r577": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(b)",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=124501264&loc=SL117420844-207641",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r578": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(e)",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=124501264&loc=SL117420844-207641",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r579": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(f)(1)",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=124501264&loc=SL117420844-207641",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r58": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "11B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(2)",
   "Topic": "310",
   "URI": "https://asc.fasb.org/extlink&oid=123577603&loc=SL6953423-111524",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r580": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(f)(2)",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=124501264&loc=SL117420844-207641",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r581": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(g)(1)",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=124501264&loc=SL117420844-207641",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r582": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(g)(2)(i)",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=124501264&loc=SL117420844-207641",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r583": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(g)(2)(ii)",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=124501264&loc=SL117420844-207641",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r584": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(g)(2)(iii)",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=124501264&loc=SL117420844-207641",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r585": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(g)(2)(iv)",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=124501264&loc=SL117420844-207641",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r586": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(h)(1)",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=124501264&loc=SL117420844-207641",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r587": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(h)(2)",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=124501264&loc=SL117420844-207641",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r588": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "825",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=123600520&loc=SL75241803-196195",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r589": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-12B)",
   "Topic": "946",
   "URI": "https://asc.fasb.org/extlink&oid=122147990&loc=d3e611197-123010",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r59": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "11B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(3)",
   "Topic": "310",
   "URI": "https://asc.fasb.org/extlink&oid=123577603&loc=SL6953423-111524",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r590": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "310",
   "Topic": "948",
   "URI": "https://asc.fasb.org/extlink&oid=124265262&loc=d3e48678-111004",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r591": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "210",
   "Topic": "954",
   "URI": "https://asc.fasb.org/extlink&oid=120413173&loc=SL6242262-115580",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r592": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "210",
   "Topic": "954",
   "URI": "https://asc.fasb.org/extlink&oid=127002003&loc=SL6242269-115581",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r593": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "310",
   "Topic": "954",
   "URI": "https://asc.fasb.org/extlink&oid=126942805&loc=d3e3115-115594",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r594": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "310",
   "Subparagraph": "(c)",
   "Topic": "976",
   "URI": "https://asc.fasb.org/extlink&oid=6497875&loc=d3e22274-108663",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r595": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "310",
   "Subparagraph": "(b)",
   "Topic": "978",
   "URI": "https://asc.fasb.org/extlink&oid=126945304&loc=d3e27327-108691",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r596": {
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Paragraph": "(a)",
   "Publisher": "SEC",
   "Section": "1402",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r597": {
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Paragraph": "(b)",
   "Publisher": "SEC",
   "Section": "1402",
   "Subparagraph": "(1)",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r598": {
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Paragraph": "(b)",
   "Publisher": "SEC",
   "Section": "1403",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r599": {
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Paragraph": "(a)",
   "Publisher": "SEC",
   "Section": "1404",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r6": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(30)(a)(3))",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r60": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "11B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(g)",
   "Topic": "310",
   "URI": "https://asc.fasb.org/extlink&oid=123577603&loc=SL6953423-111524",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r600": {
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Paragraph": "(b)",
   "Publisher": "SEC",
   "Section": "1404",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r601": {
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Paragraph": "(a)",
   "Publisher": "SEC",
   "Section": "1405",
   "Subparagraph": "(4)",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r602": {
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Paragraph": "(c)",
   "Publisher": "SEC",
   "Section": "1405",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r603": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=124098289&loc=d3e6676-107765",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r604": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(f)",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=124098289&loc=d3e6676-107765",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r605": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "21",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "https://asc.fasb.org/extlink&oid=126954810&loc=d3e3461-108585",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r606": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "235",
   "URI": "https://asc.fasb.org/extlink&oid=126899994&loc=d3e18823-107790",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r607": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "52",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "10",
   "Topic": "260",
   "URI": "https://asc.fasb.org/extlink&oid=128363288&loc=d3e4984-109258",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r608": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "30",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "280",
   "URI": "https://asc.fasb.org/extlink&oid=126901519&loc=d3e8906-108599",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r609": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "31",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "280",
   "URI": "https://asc.fasb.org/extlink&oid=126901519&loc=d3e8924-108599",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r61": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "11B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(h)",
   "Topic": "310",
   "URI": "https://asc.fasb.org/extlink&oid=123577603&loc=SL6953423-111524",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r610": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "10",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "20",
   "Topic": "326",
   "URI": "https://asc.fasb.org/extlink&oid=124267575&loc=SL82921830-210448",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r611": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "11",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "20",
   "Topic": "326",
   "URI": "https://asc.fasb.org/extlink&oid=124267575&loc=SL82921833-210448",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r612": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "12",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "20",
   "Subparagraph": "(b)",
   "Topic": "326",
   "URI": "https://asc.fasb.org/extlink&oid=124267575&loc=SL82921835-210448",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r613": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "12",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "20",
   "Subparagraph": "(d)",
   "Topic": "326",
   "URI": "https://asc.fasb.org/extlink&oid=124267575&loc=SL82921835-210448",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r614": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "12",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "20",
   "Subparagraph": "(d)(2)",
   "Topic": "326",
   "URI": "https://asc.fasb.org/extlink&oid=124267575&loc=SL82921835-210448",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r615": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "12",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "20",
   "Subparagraph": "(d)(3)",
   "Topic": "326",
   "URI": "https://asc.fasb.org/extlink&oid=124267575&loc=SL82921835-210448",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r616": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "12",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "20",
   "Subparagraph": "(d)(4)",
   "Topic": "326",
   "URI": "https://asc.fasb.org/extlink&oid=124267575&loc=SL82921835-210448",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r617": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "20",
   "Subparagraph": "(c)",
   "Topic": "326",
   "URI": "https://asc.fasb.org/extlink&oid=124267575&loc=SL82921842-210448",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r618": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "79",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "20",
   "Topic": "326",
   "URI": "https://asc.fasb.org/extlink&oid=124267575&loc=SL82922352-210448",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r619": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "80",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "20",
   "Topic": "326",
   "URI": "https://asc.fasb.org/extlink&oid=124267575&loc=SL82922355-210448",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r62": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "11B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "310",
   "URI": "https://asc.fasb.org/extlink&oid=123577603&loc=SL6953423-111524",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r620": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "30",
   "Topic": "326",
   "URI": "https://asc.fasb.org/extlink&oid=121590138&loc=SL82922954-210456",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r621": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "24",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "20",
   "Topic": "350",
   "URI": "https://asc.fasb.org/extlink&oid=122137925&loc=d3e14258-109268",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r622": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)(4)",
   "Topic": "460",
   "URI": "https://asc.fasb.org/extlink&oid=124440162&loc=d3e12069-110248",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r623": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "69B",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "20",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123466577&loc=SL123495735-112612",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r624": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "69C",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "20",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123466577&loc=SL123495737-112612",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r625": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "505",
   "URI": "https://asc.fasb.org/extlink&oid=126973232&loc=SL123496158-112644",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r626": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "91",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "606",
   "URI": "https://asc.fasb.org/extlink&oid=126920602&loc=SL49130690-203046-203046",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r627": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(d)(ii)",
   "Topic": "715",
   "URI": "https://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r628": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(d)(iv)(01)",
   "Topic": "715",
   "URI": "https://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r629": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "17",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "20",
   "Topic": "715",
   "URI": "https://asc.fasb.org/extlink&oid=123450688&loc=d3e4179-114921",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r63": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "14A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "310",
   "URI": "https://asc.fasb.org/extlink&oid=123577603&loc=SL6953550-111524",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r630": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "18",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "20",
   "Topic": "715",
   "URI": "https://asc.fasb.org/extlink&oid=123450688&loc=d3e4587-114921",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r631": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "80",
   "Topic": "715",
   "URI": "https://asc.fasb.org/extlink&oid=35742348&loc=SL14450788-114948",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r632": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)(1)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r633": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)(2)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r634": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)(3)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r635": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4J",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "10",
   "Topic": "810",
   "URI": "https://asc.fasb.org/extlink&oid=120409616&loc=SL4591551-111686",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r636": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4K",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "10",
   "Topic": "810",
   "URI": "https://asc.fasb.org/extlink&oid=120409616&loc=SL4591552-111686",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r637": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "10",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "10",
   "Topic": "852",
   "URI": "https://asc.fasb.org/extlink&oid=84165509&loc=d3e56426-112766",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r638": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13H",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "40",
   "Subparagraph": "(a)",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=126561865&loc=SL117783719-158441",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r639": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "29F",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "40",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=126561865&loc=SL117819544-158441",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r64": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)(3)",
   "Topic": "310",
   "URI": "https://asc.fasb.org/extlink&oid=123577603&loc=d3e5212-111524",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r640": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "310",
   "Subparagraph": "(SX 210.12-29(Footnote 4))",
   "Topic": "948",
   "URI": "https://asc.fasb.org/extlink&oid=120402547&loc=d3e617274-123014",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r641": {
   "Name": "Exchange Act",
   "Number": "240",
   "Publisher": "SEC",
   "Section": "12",
   "Subsection": "b",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r642": {
   "Name": "Exchange Act",
   "Number": "240",
   "Publisher": "SEC",
   "Section": "12",
   "Subsection": "b-2",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r643": {
   "Name": "Exchange Act",
   "Number": "240",
   "Publisher": "SEC",
   "Section": "12",
   "Subsection": "d1-1",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r644": {
   "Name": "Form 10-Q",
   "Number": "240",
   "Publisher": "SEC",
   "Section": "308",
   "Subsection": "a",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r645": {
   "Name": "Forms 10-K, 10-Q, 20-F",
   "Number": "240",
   "Publisher": "SEC",
   "Section": "13",
   "Subsection": "a-1",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r646": {
   "Name": "Regulation S-T",
   "Number": "232",
   "Publisher": "SEC",
   "Section": "405",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r647": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "310",
   "URI": "https://asc.fasb.org/extlink&oid=84159169&loc=d3e10152-111534",
   "role": "http://www.xbrl.org/2003/role/recommendedDisclosureRef"
  },
  "r648": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "105",
   "URI": "https://asc.fasb.org/extlink&oid=126987489&loc=SL124442142-165695",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r649": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(18))",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r65": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)(4)",
   "Topic": "310",
   "URI": "https://asc.fasb.org/extlink&oid=123577603&loc=d3e5212-111524",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r650": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(3)(a)(4))",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r651": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "14",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "220",
   "URI": "https://asc.fasb.org/extlink&oid=126968391&loc=d3e681-108580",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r652": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "220",
   "URI": "https://asc.fasb.org/extlink&oid=124431353&loc=SL124442407-227067",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r653": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "220",
   "URI": "https://asc.fasb.org/extlink&oid=124431353&loc=SL124442411-227067",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r654": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "220",
   "URI": "https://asc.fasb.org/extlink&oid=124431353&loc=SL124452729-227067",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r655": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-03(b)(4))",
   "Topic": "220",
   "URI": "https://asc.fasb.org/extlink&oid=126953954&loc=SL114868664-224227",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r656": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "230",
   "URI": "https://asc.fasb.org/extlink&oid=126954810&loc=d3e3213-108585",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r657": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "14",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "230",
   "URI": "https://asc.fasb.org/extlink&oid=126954810&loc=d3e3255-108585",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r658": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "230",
   "URI": "https://asc.fasb.org/extlink&oid=126954810&loc=d3e3291-108585",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r659": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "16",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "230",
   "URI": "https://asc.fasb.org/extlink&oid=126954810&loc=d3e3337-108585",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r66": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(1)",
   "Topic": "310",
   "URI": "https://asc.fasb.org/extlink&oid=123577603&loc=d3e5212-111524",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r660": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "21",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "https://asc.fasb.org/extlink&oid=126954810&loc=d3e3461-108585",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r661": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "25",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(g)",
   "Topic": "230",
   "URI": "https://asc.fasb.org/extlink&oid=126954810&loc=d3e3536-108585",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r662": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.4-08(g)(1)(ii))",
   "Topic": "235",
   "URI": "https://asc.fasb.org/extlink&oid=120395691&loc=d3e23780-122690",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r663": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "23",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "250",
   "URI": "https://asc.fasb.org/extlink&oid=124436220&loc=d3e21914-107793",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r664": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "24",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "250",
   "URI": "https://asc.fasb.org/extlink&oid=124436220&loc=d3e21930-107793",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r665": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "250",
   "URI": "https://asc.fasb.org/extlink&oid=124436220&loc=d3e21711-107793",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r666": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "250",
   "URI": "https://asc.fasb.org/extlink&oid=124436220&loc=d3e21728-107793",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r667": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(2)",
   "Topic": "250",
   "URI": "https://asc.fasb.org/extlink&oid=124431687&loc=d3e22499-107794",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r668": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "250",
   "URI": "https://asc.fasb.org/extlink&oid=124431687&loc=d3e22583-107794",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r669": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "33",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "310",
   "URI": "https://asc.fasb.org/extlink&oid=123577603&loc=SL6953676-111524",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r67": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(2)",
   "Topic": "310",
   "URI": "https://asc.fasb.org/extlink&oid=123577603&loc=d3e5212-111524",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r670": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "34",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "310",
   "URI": "https://asc.fasb.org/extlink&oid=123577603&loc=SL6953682-111524",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r671": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "SubTopic": "10",
   "Topic": "310",
   "URI": "https://asc.fasb.org/subtopic&trid=2196772",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r672": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "20",
   "Topic": "310",
   "URI": "https://asc.fasb.org/extlink&oid=6378536&loc=d3e10095-111533",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r673": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "320",
   "URI": "https://asc.fasb.org/extlink&oid=126970911&loc=d3e27290-111563",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r674": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "9",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "320",
   "URI": "https://asc.fasb.org/extlink&oid=126970911&loc=d3e27357-111563",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r675": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "321",
   "URI": "https://asc.fasb.org/extlink&oid=126980263&loc=SL75117539-209714",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r676": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "321",
   "URI": "https://asc.fasb.org/extlink&oid=126980263&loc=SL75117539-209714",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r677": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "321",
   "URI": "https://asc.fasb.org/extlink&oid=126980263&loc=SL75117539-209714",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r678": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "321",
   "URI": "https://asc.fasb.org/extlink&oid=126980263&loc=SL75117546-209714",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r679": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "323",
   "URI": "https://asc.fasb.org/extlink&oid=114001798&loc=d3e33918-111571",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r68": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(3)",
   "Topic": "310",
   "URI": "https://asc.fasb.org/extlink&oid=123577603&loc=d3e5212-111524",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r680": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "326",
   "URI": "https://asc.fasb.org/extlink&oid=122640432&loc=SL121648383-210437",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r681": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "20",
   "Topic": "326",
   "URI": "https://asc.fasb.org/extlink&oid=124255206&loc=SL82895884-210446",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r682": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "326",
   "URI": "https://asc.fasb.org/extlink&oid=124255953&loc=SL82919249-210447",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r683": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "14",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "326",
   "URI": "https://asc.fasb.org/extlink&oid=124255953&loc=SL82919253-210447",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r684": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "326",
   "URI": "https://asc.fasb.org/extlink&oid=124255953&loc=SL82919230-210447",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r685": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Subparagraph": "(a)",
   "Topic": "326",
   "URI": "https://asc.fasb.org/extlink&oid=124269663&loc=SL82922888-210455",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r686": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Subparagraph": "(b)(3)",
   "Topic": "326",
   "URI": "https://asc.fasb.org/extlink&oid=124269663&loc=SL82922888-210455",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r687": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Topic": "326",
   "URI": "https://asc.fasb.org/extlink&oid=124269663&loc=SL82922888-210455",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r688": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(a)",
   "Topic": "350",
   "URI": "https://asc.fasb.org/extlink&oid=121556970&loc=d3e13816-109267",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r689": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(h)",
   "Topic": "350",
   "URI": "https://asc.fasb.org/extlink&oid=121556970&loc=d3e13816-109267",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r69": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "310",
   "URI": "https://asc.fasb.org/extlink&oid=123577603&loc=d3e5212-111524",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r690": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "360",
   "URI": "https://asc.fasb.org/extlink&oid=6391035&loc=d3e2868-110229",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r691": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "10",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Subparagraph": "(c)",
   "Topic": "410",
   "URI": "https://asc.fasb.org/extlink&oid=6393242&loc=d3e13237-110859",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r692": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "9",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)",
   "Topic": "450",
   "URI": "https://asc.fasb.org/extlink&oid=121557415&loc=d3e14557-108349",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r693": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "20",
   "Subparagraph": "(SAB Topic 5.Y.Q2)",
   "Topic": "450",
   "URI": "https://asc.fasb.org/extlink&oid=27011672&loc=d3e149879-122751",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r694": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.13-01(a)(4)(ii))",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=126975872&loc=SL124442526-122756",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r695": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.13-01(a)(4)(iii))",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=126975872&loc=SL124442526-122756",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r696": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(d)",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123466505&loc=SL123495323-112611",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r697": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "606",
   "URI": "https://asc.fasb.org/extlink&oid=126920106&loc=SL49130545-203045",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r698": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "91",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "606",
   "URI": "https://asc.fasb.org/extlink&oid=126920602&loc=SL49130690-203046-203046",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r699": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(d)(ii)",
   "Topic": "715",
   "URI": "https://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r7": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(32))",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r70": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "17",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "310",
   "URI": "https://asc.fasb.org/extlink&oid=123577603&loc=d3e5258-111524",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r700": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(i)",
   "Topic": "715",
   "URI": "https://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r701": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(j)",
   "Topic": "715",
   "URI": "https://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r702": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)(1)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r703": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)(2)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r704": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)(3)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r705": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(1)(i)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r706": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(1)(ii)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r707": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(1)(iii)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r708": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(1)(iv)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r709": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(1)(iv)(01)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r71": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "29",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "310",
   "URI": "https://asc.fasb.org/extlink&oid=123577603&loc=SL6953659-111524",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r710": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(1)(iv)(02)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r711": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(1)(iv)(03)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r712": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(1)(iv)(04)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r713": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(2)(i)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r714": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(2)(ii)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r715": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(2)(iii)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r716": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(2)(iii)(01)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r717": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(2)(iii)(02)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r718": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(2)(iii)(03)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r719": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)(1)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r72": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "35",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "310",
   "URI": "https://asc.fasb.org/extlink&oid=123577603&loc=SL49126937-111524",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r720": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)(2)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r721": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(e)(1)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r722": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(e)(2)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r723": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(f)(2)(i)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r724": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(f)(2)(ii)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r725": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(f)(2)(iii)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r726": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(f)(2)(iv)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r727": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(f)(2)(v)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r728": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(e)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128097895&loc=SL121327923-165333",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r729": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(f)(1)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128097895&loc=SL121327923-165333",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r73": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "310",
   "URI": "https://asc.fasb.org/extlink&oid=123577603&loc=d3e5111-111524",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r730": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(f)(2)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128097895&loc=SL121327923-165333",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r731": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(d)(2)",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=126983759&loc=SL121830611-158277",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r732": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(d)(3)",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=126983759&loc=SL121830611-158277",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r733": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "25",
   "SubTopic": "50",
   "Topic": "805",
   "URI": "https://asc.fasb.org/extlink&oid=127000608&loc=d3e9135-128495",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r734": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "30",
   "SubTopic": "50",
   "Topic": "805",
   "URI": "https://asc.fasb.org/extlink&oid=126928898&loc=d3e9212-128498",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r735": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "30",
   "SubTopic": "50",
   "Topic": "805",
   "URI": "https://asc.fasb.org/extlink&oid=126928898&loc=d3e9215-128498",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r736": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(b)(1)",
   "Topic": "815",
   "URI": "https://asc.fasb.org/extlink&oid=126732423&loc=SL123482106-238011",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r737": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(e)(3)",
   "Topic": "815",
   "URI": "https://asc.fasb.org/extlink&oid=126732423&loc=SL123482106-238011",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r738": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(e)(4)",
   "Topic": "815",
   "URI": "https://asc.fasb.org/extlink&oid=126732423&loc=SL123482106-238011",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r739": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(bbb)",
   "Topic": "820",
   "URI": "https://asc.fasb.org/extlink&oid=126976982&loc=d3e19207-110258",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r74": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "310",
   "URI": "https://asc.fasb.org/extlink&oid=123577603&loc=SL6953401-111524",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r740": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "820",
   "URI": "https://asc.fasb.org/extlink&oid=126976982&loc=d3e19207-110258",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r741": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "28",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(f)",
   "Topic": "825",
   "URI": "https://asc.fasb.org/extlink&oid=123596393&loc=d3e14064-108612",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r742": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "20",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "30",
   "Topic": "830",
   "URI": "https://asc.fasb.org/extlink&oid=118261656&loc=d3e32211-110900",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r743": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Topic": "830",
   "URI": "https://asc.fasb.org/extlink&oid=6450520&loc=d3e32583-110901",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r744": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(a)",
   "Topic": "842",
   "URI": "https://asc.fasb.org/extlink&oid=128292326&loc=SL77918686-209980",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r745": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(a)(2)",
   "Topic": "848",
   "URI": "https://asc.fasb.org/extlink&oid=125980421&loc=SL125981372-237846",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r746": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "852",
   "URI": "https://asc.fasb.org/extlink&oid=124433192&loc=SL2890621-112765",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r747": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "852",
   "URI": "https://asc.fasb.org/extlink&oid=124433192&loc=SL2890621-112765",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r748": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(c)(1)",
   "Topic": "860",
   "URI": "https://asc.fasb.org/extlink&oid=121570589&loc=d3e107207-111719",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r749": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(c)(2)",
   "Topic": "860",
   "URI": "https://asc.fasb.org/extlink&oid=121570589&loc=d3e107207-111719",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r75": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "SubTopic": "10",
   "Topic": "310",
   "URI": "https://asc.fasb.org/subtopic&trid=2196772",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r750": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(c)(3)",
   "Topic": "860",
   "URI": "https://asc.fasb.org/extlink&oid=121570589&loc=d3e107207-111719",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r751": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)(1)",
   "Topic": "860",
   "URI": "https://asc.fasb.org/extlink&oid=121570589&loc=d3e107314-111719",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r752": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)(2)",
   "Topic": "860",
   "URI": "https://asc.fasb.org/extlink&oid=121570589&loc=d3e107314-111719",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r753": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)(3)",
   "Topic": "860",
   "URI": "https://asc.fasb.org/extlink&oid=121570589&loc=d3e107314-111719",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r754": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.9-03(10))",
   "Topic": "942",
   "URI": "https://asc.fasb.org/extlink&oid=126897435&loc=d3e534808-122878",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r755": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4H",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "40",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=116884468&loc=SL65671331-158438",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r756": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "80",
   "Subparagraph": "(e)",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=124508989&loc=d3e19393-158473",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r757": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "825",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=123600520&loc=SL75241803-196195",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r758": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5D",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-13D)",
   "Topic": "946",
   "URI": "https://asc.fasb.org/extlink&oid=122147990&loc=SL120429264-123010",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r759": {
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Paragraph": "(a)",
   "Publisher": "SEC",
   "Section": "1402",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r76": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "40",
   "Topic": "310",
   "URI": "https://asc.fasb.org/extlink&oid=121585226&loc=d3e18845-111554",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r760": {
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Paragraph": "(b)",
   "Publisher": "SEC",
   "Section": "1402",
   "Subparagraph": "(1)",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r761": {
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Paragraph": "(b)",
   "Publisher": "SEC",
   "Section": "1402",
   "Subparagraph": "(2)",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r762": {
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Paragraph": "(b)",
   "Publisher": "SEC",
   "Section": "1402",
   "Subparagraph": "(3)",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r763": {
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Paragraph": "(c)",
   "Publisher": "SEC",
   "Section": "1402",
   "Subparagraph": "(2)(i)",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r764": {
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Paragraph": "(c)",
   "Publisher": "SEC",
   "Section": "1402",
   "Subparagraph": "(2)(ii)",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r765": {
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Paragraph": "(c)",
   "Publisher": "SEC",
   "Section": "1402",
   "Subparagraph": "(2)(iii)",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r766": {
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Paragraph": "(a)",
   "Publisher": "SEC",
   "Section": "1405",
   "Subparagraph": "(1)",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r767": {
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Paragraph": "(a)",
   "Publisher": "SEC",
   "Section": "1405",
   "Subparagraph": "(2)",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r768": {
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Paragraph": "(a)",
   "Publisher": "SEC",
   "Section": "1405",
   "Subparagraph": "(3)",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r77": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "11",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "320",
   "URI": "https://asc.fasb.org/extlink&oid=124260329&loc=d3e26853-111562",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r78": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(aa)",
   "Topic": "320",
   "URI": "https://asc.fasb.org/extlink&oid=126970911&loc=d3e27161-111563",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r79": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "320",
   "URI": "https://asc.fasb.org/extlink&oid=126970911&loc=d3e27161-111563",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r8": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.19-26)",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r80": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "320",
   "URI": "https://asc.fasb.org/extlink&oid=126970911&loc=d3e27161-111563",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r81": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "320",
   "URI": "https://asc.fasb.org/extlink&oid=126970911&loc=d3e27161-111563",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r82": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "320",
   "URI": "https://asc.fasb.org/extlink&oid=126970911&loc=d3e27198-111563",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r83": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "320",
   "URI": "https://asc.fasb.org/extlink&oid=126970911&loc=d3e27198-111563",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r84": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "320",
   "URI": "https://asc.fasb.org/extlink&oid=126970911&loc=d3e27198-111563",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r85": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "320",
   "URI": "https://asc.fasb.org/extlink&oid=126970911&loc=d3e27198-111563",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r86": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(aa)",
   "Topic": "320",
   "URI": "https://asc.fasb.org/extlink&oid=126970911&loc=d3e27232-111563",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r87": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "9",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "320",
   "URI": "https://asc.fasb.org/extlink&oid=126970911&loc=d3e27357-111563",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r88": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "320",
   "URI": "https://asc.fasb.org/topic&trid=2196928",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r89": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "30",
   "Topic": "350",
   "URI": "https://asc.fasb.org/extlink&oid=6388964&loc=d3e16212-109274",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r9": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.29-31)",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r90": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "30",
   "Topic": "350",
   "URI": "https://asc.fasb.org/extlink&oid=6388964&loc=d3e16225-109274",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r91": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Subparagraph": "((a)(1),(b))",
   "Topic": "350",
   "URI": "https://asc.fasb.org/extlink&oid=66006027&loc=d3e16323-109275",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r92": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Subparagraph": "(a)(2)",
   "Topic": "350",
   "URI": "https://asc.fasb.org/extlink&oid=66006027&loc=d3e16323-109275",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r93": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "360",
   "URI": "https://asc.fasb.org/extlink&oid=126905981&loc=d3e2611-110228",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r94": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "360",
   "URI": "https://asc.fasb.org/extlink&oid=6391035&loc=d3e2868-110229",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r95": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "460",
   "URI": "https://asc.fasb.org/extlink&oid=126907907&loc=d3e12803-110250",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r96": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "505",
   "URI": "https://asc.fasb.org/extlink&oid=126973232&loc=d3e21463-112644",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r97": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.3-04)",
   "Topic": "505",
   "URI": "https://asc.fasb.org/extlink&oid=120397183&loc=d3e187085-122770",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r98": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "30",
   "Topic": "505",
   "URI": "https://asc.fasb.org/extlink&oid=6405813&loc=d3e23239-112655",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r99": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Topic": "505",
   "URI": "https://asc.fasb.org/extlink&oid=6405834&loc=d3e23315-112656",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  }
 },
 "version": "2.2"
}