XML 126 R102.htm IDEA: XBRL DOCUMENT
v3.25.0.1

Postretirement Benefit Plans - Narrative (Details) - USD ($) $ in Thousands |  | 12 Months Ended
--- | --- | ---
Jan. 01, 2008 | Dec. 31, 2024 | Dec. 31, 2023
Defined Benefit Plan Disclosure [Line Items] |  |  |
Defined Benefit Plan, Net Periodic Benefit (Cost) Credit, Immediate Recognition of Actuarial Gain (Loss), Statement of Income or Comprehensive Income [Extensible Enumeration] |  | Other |
Postretirement Life Insurance |  |  |
Defined Benefit Plan Disclosure [Line Items] |  |  |
Defined benefit plan, minimum service period requirement (in years) | 10 years | 20 years |
Life insurance coverage amount until age 65 |  | $ 50 |
Decrease in coverage amount after age 65 |  | 5 |
Life insurance coverage amount |  | $ 5 |
Defined Benefit Postretirement Health and Life Benefit Plan |  |  |
Defined Benefit Plan Disclosure [Line Items] |  |  |
Defined benefit plan, minimum service period requirement (in years) | 10 years | 20 years |
Defined benefit plan, coverage period (in years) |  | 5 years |
Percentage increase in postretirement benefit health insurance reimbursable premium |  | 36.79% |
Defined Benefit Postretirement Health and Life Benefit Plan | Maximum |  |  |
Defined Benefit Plan Disclosure [Line Items] |  |  |
Postretirement benefit health insurance reimbursable premium |  | $ 5 |
Post-Retirement Health Benefit Plan |  |  |
Defined Benefit Plan Disclosure [Line Items] |  |  |
Defined benefit plan, minimum service period requirement (in years) |  | 20 years |
Defined benefit plan, coverage period (in years) |  | 5 years |
Post-Retirement Health Benefit Plan | Maximum |  |  |
Defined Benefit Plan Disclosure [Line Items] |  |  |
Postretirement benefit health insurance reimbursable premium |  | $ 5 |
Defined Benefit Postretirement Health And Life Coverage |  |  |
Defined Benefit Plan Disclosure [Line Items] |  |  |
Defined benefit plan, accumulated benefit obligation |  | 226 | $ 271
Director's Retirement Plan |  |  |
Defined Benefit Plan Disclosure [Line Items] |  |  |
Defined benefit plan, accumulated benefit obligation |  | 0 | 1,300
Cash surrender value of bank owned life insurance |  | 4,300 | 4,200
Scottdale Defined Benefit Pension Plan |  |  |
Defined Benefit Plan Disclosure [Line Items] |  |  |
Defined benefit plan, accumulated benefit obligation |  | 2,500 | 2,700
Settlement gains recognized |  | 0 | (4)
Scottdale Defined Benefit Pension Plan | Scottdale Bank and Trust Company |  |  |
Defined Benefit Plan Disclosure [Line Items] |  |  |
Settlement gains recognized |  | $ 0 | 322
Scottdale Defined Benefit Pension Plan | Minimum | Scottdale Bank and Trust Company | Fixed Income Securities |  |  |
Defined Benefit Plan Disclosure [Line Items] |  |  |
Percentage of target portfolio allocation |  | 30.00% |
Scottdale Defined Benefit Pension Plan | Minimum | Scottdale Bank and Trust Company | Equity Securities |  |  |
Defined Benefit Plan Disclosure [Line Items] |  |  |
Percentage of target portfolio allocation |  | 40.00% |
Scottdale Defined Benefit Pension Plan | Maximum | Scottdale Bank and Trust Company | Cash |  |  |
Defined Benefit Plan Disclosure [Line Items] |  |  |
Percentage of target portfolio allocation |  | 20.00% |
Scottdale Defined Benefit Pension Plan | Maximum | Scottdale Bank and Trust Company | Fixed Income Securities |  |  |
Defined Benefit Plan Disclosure [Line Items] |  |  |
Percentage of target portfolio allocation |  | 50.00% |
Scottdale Defined Benefit Pension Plan | Maximum | Scottdale Bank and Trust Company | Equity Securities |  |  |
Defined Benefit Plan Disclosure [Line Items] |  |  |
Percentage of target portfolio allocation |  | 60.00% |
Riverview Defined Benefit Plan |  |  |
Defined Benefit Plan Disclosure [Line Items] |  |  |
Defined benefit plan, accumulated benefit obligation |  | $ 5,700 | $ 6,400

X
- Definition Decrease in coverage amount after age sixty five. + References No definition available. + Details
Name: | mpb_DecreaseInCoverageAmountAfterAgeSixtyFive
Namespace Prefix: | mpb_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Coverage period over which the employee will be afforded benefits paid for by the employer (PnYnMnD format). + References No definition available. + Details
Name: | mpb_DefinedBenefitPlanCoveragePeriod
Namespace Prefix: | mpb_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition Defined Benefit Plan, Minimum Service Period Requirement (PnYnMnD format) + References No definition available. + Details
Name: | mpb_DefinedBenefitPlanMinimumServicePeriodRequirement
Namespace Prefix: | mpb_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition Life insurance coverage amount. + References No definition available. + Details
Name: | mpb_LifeInsuranceCoverageAmount
Namespace Prefix: | mpb_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Life insurance coverage amount until age sixty five. + References No definition available. + Details
Name: | mpb_LifeInsuranceCoverageAmountUntilAgeSixtyFive
Namespace Prefix: | mpb_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Percentage increase in postretirement benefit health insurance reimbursable premium. + References No definition available. + Details
Name: | mpb_PercentageIncreaseInPostretirementBenefitHealthInsuranceReimbursablePremium
Namespace Prefix: | mpb_
Data Type: | dtr-types1:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Postretirement benefit health insurance reimbursable premium. + References No definition available. + Details
Name: | mpb_PostretirementBenefitHealthInsuranceReimbursablePremium
Namespace Prefix: | mpb_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Carrying amount as of the balance sheet date of amounts which could be received based on the terms of the insurance contract upon surrendering life policies owned by the entity. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 210 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(17)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480566/210-10-S99-1 + Details
Name: | us-gaap_CashSurrenderValueOfLifeInsurance
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount of actuarial present value of benefits attributed to employee service rendered, excluding assumptions about future compensation level. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 715 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1 -Subparagraph (e) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480506/715-20-50-1 + Details
Name: | us-gaap_DefinedBenefitPlanAccumulatedBenefitObligation
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table. + References No definition available. + Details
Name: | us-gaap_DefinedBenefitPlanDisclosureLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Indicates line item in statement of income or comprehensive income that includes actuarial gain (loss) recognized immediately as component of net periodic benefit (cost) credit for defined benefit plan. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 715 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1 -Subparagraph (h) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480506/715-20-50-1 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 715 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 6 -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480506/715-20-50-6 + Details
Name: | us-gaap_DefinedBenefitPlanNetPeriodicBenefitCostCreditImmediateRecognitionOfActuarialGainLossStatementOfIncomeOrComprehensiveIncomeExtensibleList
Namespace Prefix: | us-gaap_
Data Type: | enum2:enumerationSetItemType
Balance Type: | na
Period Type: | duration

X
- Definition Percentage of target investment allocation to total plan assets. Includes, but is not limited to, percentage on weighted-average basis if more than one plan. + References Reference 1: http://www.xbrl.org/2003/role/exampleRef -Topic 715 -SubTopic 20 -Name Accounting Standards Codification -Section 55 -Paragraph 17 -Publisher FASB -URI https://asc.fasb.org/1943274/2147480482/715-20-55-17 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 715 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1 -Subparagraph (d)(i) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480506/715-20-50-1 + Details
Name: | us-gaap_DefinedBenefitPlanPlanAssetsTargetAllocationPercentage
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | instant

X
- Definition Amount of gain (loss) recognized in net periodic benefit (cost) credit from irrevocable action relieving primary responsibility for benefit obligation and eliminating risk related to obligation and assets used to effect settlement. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 715 -SubTopic 20 -Name Accounting Standards Codification -Section 45 -Paragraph 3A -Publisher FASB -URI https://asc.fasb.org/1943274/2147480535/715-20-45-3A Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 715 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1 -Subparagraph (h)(7) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480506/715-20-50-1 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Topic 715 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 6 -Subparagraph (a)(7) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480506/715-20-50-6 + Details
Name: | us-gaap_DefinedBenefitPlanRecognizedNetGainLossDueToSettlements1
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Details
Name: | us-gaap_RetirementPlanTypeAxis=us-gaap_DefinedBenefitPostretirementLifeInsuranceMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_RetirementPlanTypeAxis=us-gaap_DefinedBenefitPostretirementHealthCoverageMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_RangeAxis=srt_MaximumMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_RetirementPlanTypeAxis=mpb_PostRetirementHealthBenefitPlanMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_RetirementPlanTypeAxis=mpb_DefinedBenefitPostretirementHealthAndLifeCoverageMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_RetirementPlanTypeAxis=mpb_DirectorsRetirementPlanMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_RetirementPlanTypeAxis=us-gaap_PensionPlansDefinedBenefitMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

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

X
- Details
Name: | srt_RangeAxis=srt_MinimumMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DefinedBenefitPlanByPlanAssetCategoriesAxis=us-gaap_FixedIncomeSecuritiesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DefinedBenefitPlanByPlanAssetCategoriesAxis=us-gaap_DefinedBenefitPlanEquitySecuritiesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DefinedBenefitPlanByPlanAssetCategoriesAxis=us-gaap_DefinedBenefitPlanCashMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_RetirementPlanTypeAxis=mpb_RiverviewDefinedBenefitPlanMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |