XML 138 R114.htm IDEA: XBRL DOCUMENT
v3.25.0.1

Income Taxes - Narrative (Details) - USD ($) $ in Thousands | 12 Months Ended |
--- | --- | ---
Dec. 31, 2024 | Dec. 31, 2023 | Dec. 31, 2022 | Dec. 31, 2020 | Dec. 31, 2018 | Dec. 31, 2017 | Dec. 31, 2021
Income Taxes [Line Items] |  |  |  |  |  |  |
Net operating loss carryforwards | $ 2,400 |  |  |  |  |  |
Effective income tax rate reconciliation at federal federal tax benefit | 12,607 | $ 9,388 | $ 14,143 |  |  |  |
Charitable contribution carryforwards | 0 | 0 | 43 |  |  |  |
Unrecognized tax benefits that would affect the effective income tax rate if recognized | 0 |  |  |  |  |  |
Income tax examination, penalties and interest expense | 0 | 0 | 0 |  |  |  |
Income tax examination, penalties and interest accrued | $ 0 | $ 0 |  |  |  |  |
CARES Act |  |  |  |  |  |  |
Income Taxes [Line Items] |  |  |  |  |  |  |
Income tax impacts of the components of other comprehensive income (as percent) |  |  |  |  | 21.00% | 34.00% |
Effective income tax rate reconciliation at federal federal tax benefit |  |  |  | $ 318 |  |  |
Scottdale Bank and Trust Company | CARES Act |  |  |  |  |  |  |
Income Taxes [Line Items] |  |  |  |  |  |  |
Net operating loss carryforwards |  |  |  |  | $ 1,200 |  |
First Priority Financial Corporation |  |  |  |  |  |  |
Income Taxes [Line Items] |  |  |  |  |  |  |
Acquired Section 1231 losses |  |  | 314 |  |  |  |
Taxable income related to acquisition |  |  | 1,900 |  |  |  |
First Priority Financial Corporation | CARES Act |  |  |  |  |  |  |
Income Taxes [Line Items] |  |  |  |  |  |  |
Net operating loss carryforwards |  |  |  |  | $ 1,200 |  | $ 119
Riverview Acquisition |  |  |  |  |  |  |
Income Taxes [Line Items] |  |  |  |  |  |  |
Taxable income related to acquisition |  |  | $ 2,000 |  |  |  |

X
- Definition Income tax reconciliation deductible loss. + References No definition available. + Details
Name: | mpb_IncomeTaxReconciliationDeductibleLoss
Namespace Prefix: | mpb_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Income Taxes. + References No definition available. + Details
Name: | mpb_IncomeTaxesLineItems
Namespace Prefix: | mpb_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Taxable income related to acquisition. + References No definition available. + Details
Name: | mpb_TaxableIncomeRelatedToAcquisition
Namespace Prefix: | mpb_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount before allocation of valuation allowances of deferred tax asset attributable to deductible charitable contribution carryforwards. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 740 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 6 -Publisher FASB -URI https://asc.fasb.org/1943274/2147482685/740-10-50-6 + Details
Name: | us-gaap_DeferredTaxAssetsCharitableContributionCarryforwards
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Percentage of domestic federal statutory tax rate applicable to pretax income (loss). + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 740 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 12 -Publisher FASB -URI https://asc.fasb.org/1943274/2147482685/740-10-50-12 Reference 2: http://www.xbrl.org/2003/role/exampleRef -Topic 740 -SubTopic 10 -Name Accounting Standards Codification -Section 55 -Paragraph 231 -Publisher FASB -URI https://asc.fasb.org/1943274/2147482663/740-10-55-231 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Topic 740 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SAB Topic 6.I.1.Q1) -Publisher FASB -URI https://asc.fasb.org/1943274/2147479360/740-10-S99-1 Reference 4: http://www.xbrl.org/2003/role/disclosureRef -Topic 235 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.4-08(h)(2)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480678/235-10-S99-1 + Details
Name: | us-gaap_EffectiveIncomeTaxRateReconciliationAtFederalStatutoryIncomeTaxRate
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition The amount of estimated penalties and interest accrued as of the balance sheet date arising from income tax examinations. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 740 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 15 -Subparagraph (c) -Publisher FASB -URI https://asc.fasb.org/1943274/2147482685/740-10-50-15 + Details
Name: | us-gaap_IncomeTaxExaminationPenaltiesAndInterestAccrued
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition The sum of the amounts of estimated penalties and interest recognized in the period arising from income tax examinations. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 740 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 15 -Subparagraph (c) -Publisher FASB -URI https://asc.fasb.org/1943274/2147482685/740-10-50-15 + Details
Name: | us-gaap_IncomeTaxExaminationPenaltiesAndInterestExpense
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition The amount of income tax expense or benefit for the period computed by applying the domestic federal statutory tax rates to pretax income from continuing operations. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 740 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 12 -Publisher FASB -URI https://asc.fasb.org/1943274/2147482685/740-10-50-12 Reference 2: http://www.xbrl.org/2003/role/exampleRef -Topic 740 -SubTopic 10 -Name Accounting Standards Codification -Section 55 -Paragraph 231 -Publisher FASB -URI https://asc.fasb.org/1943274/2147482663/740-10-55-231 + Details
Name: | us-gaap_IncomeTaxReconciliationIncomeTaxExpenseBenefitAtFederalStatutoryIncomeTaxRate
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Amount of operating loss carryforward, before tax effects, available to reduce future taxable income under enacted tax laws. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 740 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 3 -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org/1943274/2147482685/740-10-50-3 + Details
Name: | us-gaap_OperatingLossCarryforwards
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition The total amount of unrecognized tax benefits that, if recognized, would affect the effective tax rate. + References Reference 1: http://www.xbrl.org/2003/role/exampleRef -Topic 740 -SubTopic 10 -Name Accounting Standards Codification -Section 55 -Paragraph 217 -Publisher FASB -URI https://asc.fasb.org/1943274/2147482663/740-10-55-217 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 740 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 15A -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org/1943274/2147482685/740-10-50-15A + Details
Name: | us-gaap_UnrecognizedTaxBenefitsThatWouldImpactEffectiveTaxRate
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Details
Name: | us-gaap_UnusualRiskOrUncertaintyByNatureAxis=mpb_CARESActMember
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: | us-gaap_BusinessAcquisitionAxis=mpb_FirstPriorityFinancialCorporationMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

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