XML 134 R110.htm IDEA: XBRL DOCUMENT
v3.24.1

Income Taxes - Narrative (Details) - USD ($) | 12 Months Ended
--- | ---
Dec. 31, 2023 | Dec. 31, 2022 | Dec. 31, 2021 | Dec. 31, 2020 | Dec. 31, 2018 | Dec. 31, 2017
Income Taxes [Line Items] |  |  |  |  |  |
Net operating loss carryforwards | $ 2,800,000 |  |  |  |  |
Effective income tax rate reconciliation at federal federal tax benefit | 9,388,000 | $ 14,143,000 | $ 7,571,000 |  |  |
Charitable contribution carryforwards | 0 | 43,000 |  |  |  |
Riverview AMT credits | 696,000 | 771,000 |  |  |  |
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 |  |  |  |  | 21.00% | 34.00%
Effective income tax rate reconciliation at federal federal tax benefit |  |  |  | $ 318,000 |  |
Tax credit carryforwards alternative minimum tax refundable percent |  |  |  |  | 100.00% |
Scottdale Bank and Trust Company | CARES Act |  |  |  |  |  |
Income Taxes [Line Items] |  |  |  |  |  |
Net operating loss carryforwards |  |  |  |  | $ 1,200,000 |
First Priority Financial Corporation |  |  |  |  |  |
Income Taxes [Line Items] |  |  |  |  |  |
Acquired Section 1231 losses |  | 314,000 |  |  |  |
Taxable income related to acquisition |  | 1,900,000 |  |  |  |
First Priority Financial Corporation | CARES Act |  |  |  |  |  |
Income Taxes [Line Items] |  |  |  |  |  |
Net operating loss carryforwards |  |  | 119,000 |  | $ 1,200,000 |
Riverview Acquisition |  |  |  |  |  |
Income Taxes [Line Items] |  |  |  |  |  |
Riverview AMT credits |  |  | $ 696,000 |  |  |
Taxable income related to acquisition |  | $ 2,000,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 Tax credit carryforwards alternative minimum tax refundable percent. + References No definition available. + Details
Name: | mpb_TaxCreditCarryforwardsAlternativeMinimumTaxRefundablePercent
Namespace Prefix: | mpb_
Data Type: | dtr-types1:percentItemType
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 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Topic 740 -SubTopic 10 -Section 50 -Paragraph 8 -Publisher FASB -URI https://asc.fasb.org//1943274/2147482685/740-10-50-8 + Details
Name: | us-gaap_DeferredTaxAssetsCharitableContributionCarryforwards
Namespace Prefix: | us-gaap_
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 alternative minimum tax credit 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 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Topic 740 -SubTopic 10 -Section 50 -Paragraph 8 -Publisher FASB -URI https://asc.fasb.org//1943274/2147482685/740-10-50-8 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Topic 740 -SubTopic 10 -Section 50 -Paragraph 3 -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org//1943274/2147482685/740-10-50-3 + Details
Name: | us-gaap_DeferredTaxAssetsTaxCreditCarryforwardsAlternativeMinimumTax
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 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 Reference 2: 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 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.Fact.4) -Publisher FASB -URI https://asc.fasb.org//1943274/2147479360/740-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 + 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://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Topic 740 -SubTopic 10 -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/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: |