XML 131 R107.htm IDEA: XBRL DOCUMENT
v3.24.1

Other Benefit Plans - Narrative (Details) |  | 12 Months Ended |
--- | --- | --- | ---
Sep. 06, 2022 Year Employee | Dec. 31, 2023 USD ($) | Dec. 31, 2022 USD ($) | Dec. 31, 2021 USD ($) | Nov. 30, 2021 USD ($)
Director's Retirement Plan |  |  |  |  |
Defined Benefit Plan Disclosure [Line Items] |  |  |  |  |
Deferred compensation arrangement with individual, recorded liability |  | $ 2,400,000 | $ 1,900,000 |  |
Split Dollar Life Insurance Arrangements |  |  |  |  |
Defined Benefit Plan Disclosure [Line Items] |  |  |  |  |
Cash surrender value of bank owned life insurance |  | 1,400,000 | 1,400,000 |  |
Rabbi Trust | Cash |  |  |  |  |
Defined Benefit Plan Disclosure [Line Items] |  |  |  |  |
Estimated Fair Value |  | 2,900,000 | 4,900,000 |  |
Phoenix Bancorp Incorporated | Split Dollar Life Insurance Arrangements |  |  |  |  |
Defined Benefit Plan Disclosure [Line Items] |  |  |  |  |
Cash surrender value of bank owned life insurance |  | 4,400,000 | 4,300,000 |  |
First Priority Financial Corporation | Split Dollar Life Insurance Arrangements |  |  |  |  |
Defined Benefit Plan Disclosure [Line Items] |  |  |  |  |
Cash surrender value of bank owned life insurance |  | 3,700,000 | 3,700,000 |  |
Riverview Financial Corporation | Split Dollar Life Insurance Arrangements |  |  |  |  |
Defined Benefit Plan Disclosure [Line Items] |  |  |  |  |
Cash surrender value of bank owned life insurance |  | 2,000,000 | 2,000,000 |  |
Riverview | Rabbi Trust |  |  |  |  |
Defined Benefit Plan Disclosure [Line Items] |  |  |  |  |
Benefit plan liabilities related to compensation arrangements |  |  |  |  | $ 7,700,000
Other Expense | Director's Retirement Plan |  |  |  |  |
Defined Benefit Plan Disclosure [Line Items] |  |  |  |  |
Deferred compensation arrangement with individual, compensation expense |  | 127,000 | 64,000 | $ 35,000 |
401(k) Plan | Salaries and Benefits Expense |  |  |  |  |
Defined Benefit Plan Disclosure [Line Items] |  |  |  |  |
Defined contribution plan, associated expense |  | 1,700,000 | 1,400,000 | 1,000,000 |
Scottdale Defined Benefit Pension Plan |  |  |  |  |
Defined Benefit Plan Disclosure [Line Items] |  |  |  |  |
Defined contribution plan, associated expense |  | 0 | 0 | 0 |
Benefit plan liabilities related to compensation arrangements |  | 2,659,000 | 3,805,000 | 4,844,000 |
Estimated Fair Value |  | 3,468,000 | 4,722,000 | 5,302,000 |
Supplemental Executive Retirement Plan |  |  |  |  |
Defined Benefit Plan Disclosure [Line Items] |  |  |  |  |
Number of executive officers covered | Employee | 6 |  |  |  |
Number of other members covered | Employee | 3 |  |  |  |
Normal retirement age | Year | 70 |  |  |  |
Monthly fixed cash benefit | 15 years |  |  |  |
Accrued benefit liability |  | 2,500,000 | 1,800,000 |  |
Supplemental Executive Retirement Plan | Minimum |  |  |  |  |
Defined Benefit Plan Disclosure [Line Items] |  |  |  |  |
Annual vesting term | 4 years |  |  |  |
Supplemental Executive Retirement Plan | Maximum |  |  |  |  |
Defined Benefit Plan Disclosure [Line Items] |  |  |  |  |
Annual vesting term | 10 years |  |  |  |
Supplemental Executive Retirement Plan | Salaries and Benefits Expense |  |  |  |  |
Defined Benefit Plan Disclosure [Line Items] |  |  |  |  |
Deferred compensation arrangement with individual, compensation expense |  | $ 792,000 | $ 609,000 | $ 625,000 |

X
- Definition Defined Benefit Plan, Annual Vesting Term + References No definition available. + Details
Name: | mpb_DefinedBenefitPlanAnnualVestingTerm
Namespace Prefix: | mpb_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition Defined Benefit Plan, Monthly Fixed Cash Benefit + References No definition available. + Details
Name: | mpb_DefinedBenefitPlanMonthlyFixedCashBenefit
Namespace Prefix: | mpb_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition Normal retirement age. + References No definition available. + Details
Name: | mpb_NormalRetirementAge
Namespace Prefix: | mpb_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | instant

X
- Definition Number of executive officers covered. + References No definition available. + Details
Name: | mpb_NumberOfExecutiveOfficersCovered
Namespace Prefix: | mpb_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | duration

X
- Definition Number of Other Members Covered + References No definition available. + Details
Name: | mpb_NumberOfOtherMembersCovered
Namespace Prefix: | mpb_
Data Type: | xbrli:integerItemType
Balance Type: | na
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 The compensation expense recognized during the period pertaining to the deferred compensation arrangement. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 710 -SubTopic 10 -Name Accounting Standards Codification -Section 30 -Paragraph 1 -Publisher FASB -URI https://asc.fasb.org//1943274/2147483043/710-10-30-1 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Topic 718 -SubTopic 10 -Section 50 -Paragraph 1 -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org//1943274/2147480429/718-10-50-1 + Details
Name: | us-gaap_DeferredCompensationArrangementWithIndividualCompensationExpense
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition The carrying amount of the liability as of the balance sheet date to an individual under a deferred compensation arrangement. This amount may be the result of periodic accruals made over the period of active employment, or reflect termination benefits resulting contractual terms or a death benefit. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 710 -SubTopic 10 -Name Accounting Standards Codification -Section 30 -Paragraph 1 -Publisher FASB -URI https://asc.fasb.org//1943274/2147483043/710-10-30-1 + Details
Name: | us-gaap_DeferredCompensationArrangementWithIndividualRecordedLiability
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount of actuarial present value of benefits attributed to service rendered by employee 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 (a) -Publisher FASB -URI https://asc.fasb.org//1943274/2147480506/715-20-50-1 + Details
Name: | us-gaap_DefinedBenefitPlanBenefitObligation
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 Amount of asset segregated and restricted to provide benefit under defined benefit plan. Asset includes, but is not limited to, stock, bond, other investment, earning from investment, and contribution by employer and employee. + 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)(iv)(02) -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 1 -Subparagraph (d)(ii) -Publisher FASB -URI https://asc.fasb.org//1943274/2147480506/715-20-50-1 Reference 4: http://www.xbrl.org/2003/role/disclosureRef -Topic 715 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1 -Subparagraph (d)(iv)(01) -Publisher FASB -URI https://asc.fasb.org//1943274/2147480506/715-20-50-1 Reference 5: http://www.xbrl.org/2003/role/disclosureRef -Topic 715 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1 -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org//1943274/2147480506/715-20-50-1 Reference 6: http://www.xbrl.org/2003/role/exampleRef -Topic 715 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1 -Subparagraph (d)(ii) -Publisher FASB -URI https://asc.fasb.org//1943274/2147480506/715-20-50-1 Reference 7: http://www.xbrl.org/2003/role/exampleRef -Topic 715 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1 -Subparagraph (d)(iv)(01) -Publisher FASB -URI https://asc.fasb.org//1943274/2147480506/715-20-50-1 + Details
Name: | us-gaap_DefinedBenefitPlanFairValueOfPlanAssets
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount of cost for defined contribution plan. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 715 -SubTopic 70 -Name Accounting Standards Codification -Section 50 -Paragraph 1 -Publisher FASB -URI https://asc.fasb.org//1943274/2147480794/715-70-50-1 + Details
Name: | us-gaap_DefinedContributionPlanCostRecognized
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Amount of liability, recognized in statement of financial position, for defined benefit pension and other postretirement plans. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 942 -SubTopic 210 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.9-03(15)) -Publisher FASB -URI https://asc.fasb.org//1943274/2147479853/942-210-S99-1 Reference 2: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 944 -SubTopic 210 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.7-03(a)(15)(a)) -Publisher FASB -URI https://asc.fasb.org//1943274/2147479440/944-210-S99-1 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Topic 715 -SubTopic 20 -Name Accounting Standards Codification -Section 45 -Paragraph 3 -Publisher FASB -URI https://asc.fasb.org//1943274/2147480535/715-20-45-3 Reference 4: http://www.xbrl.org/2003/role/disclosureRef -Topic 715 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1 -Subparagraph (c) -Publisher FASB -URI https://asc.fasb.org//1943274/2147480506/715-20-50-1 + Details
Name: | us-gaap_PensionAndOtherPostretirementDefinedBenefitPlansLiabilitiesCurrentAndNoncurrent
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

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

X
- Details
Name: | us-gaap_RetirementPlanNameAxis=mpb_SplitDollarLifeInsuranceArrangementsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_RetirementPlanNameAxis=mpb_RabbiTrustMember
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_BusinessAcquisitionAxis=mpb_PhoenixBancorpIncorporatedMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

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

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

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

X
- Details
Name: | us-gaap_IncomeStatementLocationAxis=us-gaap_OtherExpenseMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

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

X
- Details
Name: | us-gaap_IncomeStatementLocationAxis=mpb_SalariesAndBenefitsExpenseMember
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_RetirementPlanTypeAxis=us-gaap_SupplementalEmployeeRetirementPlanDefinedBenefitMember
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: | srt_RangeAxis=srt_MaximumMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |