XML 85 R61.htm IDEA: XBRL DOCUMENT
v3.25.0.1

Summary of Significant Accounting Policies - Narrative (Details) $ in Thousands | 12 Months Ended | 15 Months Ended |
--- | --- | --- | ---
Dec. 31, 2024 USD ($) segment apartment shop property unit | Dec. 31, 2023 USD ($) | Dec. 31, 2022 USD ($) | Mar. 31, 2021 | Dec. 31, 2021 USD ($)
Number of reportable segments | segment |  | 1 |  |  |  |
Cash reserve balances |  | $ 0 | $ 0 |  |  |
Accrued interest, after allowance for credit loss |  | 1,200 |  |  |  |
Held to maturity, at amortized cost |  | 382,447 | 399,128 |  |  |
Held-to-maturity, accrued Interest, after allowance for credit loss |  | $ 1,800 |  |  |  |
Investment Program, Proportional Amortization Method, Elected, Income Tax Credit and Other Income Tax Benefit, before Amortization, Statement of Cash Flows [Extensible Enumeration] |  | Payments for (Proceeds from) Investment in Tax Credits and Other Partnerships |  |  |  |
Investment Program, Proportional Amortization Method, Elected, Income Tax Credit and Other Income Tax Benefit, before Amortization, Statement of Income or Comprehensive Income [Extensible Enumeration] |  | Other |  |  |  |
Net loans |  | $ 0 | $ 324,500 |  |  |
Disposal group, not discontinued operation, gain (loss) on disposal, statement of income, extensible list, not disclosed flag |  | current operations | current operations |  |  |
Bank premises and equipment held for sale |  | $ 702 | $ 974 |  |  |
Proceeds from sale of buildings |  | $ 272 |  |  |  |
Number of property available for sale | property |  | 1 |  |  |  |
Number of reporting units | unit |  | 1 |  |  |  |
Trust assets and income earned |  | $ 473,500 |  |  |  |
Goodwill and intangible asset impairment |  | $ 0 | $ 0 | $ 0 |  |
Finance Lease, Liability, Statement of Financial Position [Extensible List] |  | Long-term debt | Long-term debt |  |  |
Decrease in retained earnings |  | $ (655,018) | $ (542,350) | (512,099) |  | $ (490,076)
Deferred income taxes |  | 22,747 | 24,146 |  |  |
Off-balance-sheet credit exposure |  | 2,939 | 3,567 | 85 |  |
Retained Earnings |  |  |  |  |  |
Decrease in retained earnings |  | (181,597) | (145,982) | (133,114) |  | $ (91,043)
Cumulative Effect, Period of Adoption, Adjustment |  |  |  |  |  |
Allowance for loan losses |  |  |  | 15,000 |  |
Decrease in retained earnings | [1] |  |  | 11,548 |  |
Deferred income taxes |  |  |  | 3,100 |  |
Off-balance-sheet credit exposure |  |  |  | 3,100 |  |
Cumulative Effect, Period of Adoption, Adjustment | Retained Earnings |  |  |  |  |  |
Decrease in retained earnings | [1] |  |  | 11,548 |  |
Enola, Pennsylvania |  |  |  |  |  |
Carrying value of investment in limited partnership |  | $ 0 | 15 |  |  |
Dauphin County, Pennsylvania |  |  |  |  |  |
Number of apartments under the project | apartment |  | 37 |  |  |  |
Carrying value of investment in limited partnership |  | $ 3,700 | 4,500 |  |  |
Limited partner capital contribution commitment |  | $ 7,600 |  |  |  |
Commitment funding term (in years) |  |  |  |  | 3 years |
Project investment amortization period (in years) |  | 10 years |  |  |  |
LIHTCs amount awarded for the project |  | $ 8,500 |  |  |  |
Low income housing tax credit |  | 2,200 | 1,300 | 853 |  |
Mechanicsburg, Pennsylvania |  |  |  |  |  |
Carrying value of investment in limited partnership |  | $ 9,700 | 8,900 |  |  |
Project investment amortization period (in years) |  | 10 years |  |  |  |
LIHTCs amount awarded for the project |  | $ 12,000 |  |  |  |
Low income housing tax credit |  | $ 1,100 | 0 |  |  |
Schuylkill County, Pennsylvania |  |  |  |  |  |
Number of apartments under the project | apartment |  | 17 |  |  |  |
Number of shops under the project | shop |  | 2 |  |  |  |
Carrying value of investment in limited partnership |  | $ 3,100 | 3,300 |  |  |
Limited partner capital contribution commitment |  | $ 4,400 |  |  |  |
Project investment amortization period (in years) |  | 10 years |  |  |  |
LIHTCs amount awarded for the project |  | $ 4,800 |  |  |  |
Low income housing tax credit |  | 484 | 484 |  |  |
Federal Home Loan Bank of Pittsburgh |  |  |  |  |  |
Other interest and dividend income |  | 1,300 | 864 | 289 |  |
Equity securities |  |  |  |  |  |
Equity securities, fair value |  | 428 | 438 |  |  |
Equity securities sold |  | $ 0 | $ 0 | $ 0 |  |
Maximum | Core Deposit Intangible |  |  |  |  |  |
Core deposit intangible, amortization period (in years) |  | 10 years |  |  |  |
Maximum | Customer Lists Intangible |  |  |  |  |  |
Core deposit intangible, amortization period (in years) |  | 20 years |  |  |  |
Maximum | Building Assets |  |  |  |  |  |
Property, plant and equipment, useful life (in years) |  | 50 years |  |  |  |
Maximum | Furniture, fixtures, and equipment |  |  |  |  |  |
Property, plant and equipment, useful life (in years) |  | 10 years |  |  |  |
Maximum | Land Improvements |  |  |  |  |  |
Property, plant and equipment, useful life (in years) |  | 20 years |  |  |  |
Maximum | Leasehold improvements |  |  |  |  |  |
Property, plant and equipment, useful life (in years) |  | 15 years |  |  |  |
Minimum | Customer Lists Intangible |  |  |  |  |  |
Core deposit intangible, amortization period (in years) |  | 10 years |  |  |  |
Minimum | Building Assets |  |  |  |  |  |
Property, plant and equipment, useful life (in years) |  | 5 years |  |  |  |
Minimum | Furniture, fixtures, and equipment |  |  |  |  |  |
Property, plant and equipment, useful life (in years) |  | 3 years |  |  |  |
Minimum | Land Improvements |  |  |  |  |  |
Property, plant and equipment, useful life (in years) |  | 10 years |  |  |  |
Minimum | Leasehold improvements |  |  |  |  |  |
Property, plant and equipment, useful life (in years) |  | 10 years |  |  |  |
[1] | The Corporation adopted ASC 326, Financial Instruments - Credit Losses, effective January 1, 2023. See "Note 1 - Summary of Significant Accounting Policies" for further details.

X
- Definition Allowance For Credit Loss, Excluding Accrued Interest + References No definition available. + Details
Name: | mpb_AllowanceForCreditLossExcludingAccruedInterest
Namespace Prefix: | mpb_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Disposal Group, Including Discontinued Operation, Number Of Property Available For Sale + References No definition available. + Details
Name: | mpb_DisposalGroupIncludingDiscontinuedOperationNumberOfPropertyAvailableForSale
Namespace Prefix: | mpb_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | instant

X
- Definition Disposal Group, Not Discontinued Operation, Gain Loss On Disposal, Statement Of Income, Extensible List, Not Disclosed Flag + References No definition available. + Details
Name: | mpb_DisposalGroupNotDiscontinuedOperationGainLossOnDisposalStatementOfIncomeExtensibleListNotDisclosedFlag
Namespace Prefix: | mpb_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Equity securities available for sale securities. + References No definition available. + Details
Name: | mpb_EquitySecuritiesAvailableForSaleSecurities
Namespace Prefix: | mpb_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Low income housing tax credit. + References No definition available. + Details
Name: | mpb_LowIncomeHousingTaxCredit
Namespace Prefix: | mpb_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

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

X
- Definition Number of shops, + References No definition available. + Details
Name: | mpb_NumberOfShops
Namespace Prefix: | mpb_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | duration

X
- Definition Proceeds from sale of available for sale debt securities equity. + References No definition available. + Details
Name: | mpb_ProceedsFromSaleOfAvailableForSaleDebtSecuritiesEquity
Namespace Prefix: | mpb_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Qualified affordable housing project investments amortization period. + References No definition available. + Details
Name: | mpb_QualifiedAffordableHousingProjectInvestmentsAmortizationPeriod
Namespace Prefix: | mpb_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition Qualified Affordable Housing Project Investments, Commitment Funding Term + References No definition available. + Details
Name: | mpb_QualifiedAffordableHousingProjectInvestmentsCommitmentFundingTerm
Namespace Prefix: | mpb_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount, before amortization expense, of income tax credit and other tax benefit generated by investment under tax credit program elected to be accounted for using proportional amortization method. Includes, but is not limited to, investment under tax credit program not meeting condition for accounting under proportional amortization method. + References Reference 1: http://fasb.org/us-gaap/role/ref/otherTransitionRef -Topic 323 -SubTopic 740 -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org/1943274/2147478156/323-740-50-2 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 740 -SubTopic 323 -Name Accounting Standards Codification -Section 50 -Paragraph 1A -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org/1943274/2147478156/740-323-50-1A + Details
Name: | us-gaap_AffordableHousingTaxCreditsAndOtherTaxBenefitsAmount
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition The carrying amount of assets an investment adviser manages on behalf of investors. + References No definition available. + Details
Name: | us-gaap_AssetsUnderManagementCarryingAmount
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Cash deposited in a special reserve account for the exclusive benefit of customers pursuant to SEC Regulations. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Name Accounting Standards Codification -Section 50 -Paragraph 1 -SubTopic 210 -Topic 942 -Publisher FASB -URI https://asc.fasb.org/1943274/2147478482/942-210-50-1 + Details
Name: | us-gaap_CashReserveDepositRequiredAndMade
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount, after allowance for credit loss, of accrued interest on investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale). + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 320 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 2A -Publisher FASB -URI https://asc.fasb.org/1943274/2147481800/320-10-50-2A Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 326 -SubTopic 30 -Name Accounting Standards Codification -Section 45 -Paragraph 1 -Publisher FASB -URI https://asc.fasb.org/1943274/2147479130/326-30-45-1 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Topic 326 -SubTopic 30 -Name Accounting Standards Codification -Section 50 -Paragraph 3A -Publisher FASB -URI https://asc.fasb.org/1943274/2147479106/326-30-50-3A Reference 4: http://www.xbrl.org/2003/role/disclosureRef -Topic 326 -SubTopic 30 -Name Accounting Standards Codification -Section 50 -Paragraph 3B -Publisher FASB -URI https://asc.fasb.org/1943274/2147479106/326-30-50-3B + Details
Name: | us-gaap_DebtSecuritiesAvailableForSaleAccruedInterestAfterAllowanceForCreditLoss
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount, after allowance for credit loss, of accrued interest on investment in debt security measured at amortized cost (held-to-maturity). + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 320 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 5C -Publisher FASB -URI https://asc.fasb.org/1943274/2147481800/320-10-50-5C Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 326 -SubTopic 20 -Name Accounting Standards Codification -Section 45 -Paragraph 5 -Publisher FASB -URI https://asc.fasb.org/1943274/2147479344/326-20-45-5 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Topic 326 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 3A -Publisher FASB -URI https://asc.fasb.org/1943274/2147479319/326-20-50-3A + Details
Name: | us-gaap_DebtSecuritiesHeldToMaturityAccruedInterestAfterAllowanceForCreditLoss
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount excluding accrued interest, before allowance for credit loss, of investment in debt security measured at amortized cost (held-to-maturity). + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 326 -SubTopic 20 -Name Accounting Standards Codification -Section 45 -Paragraph 1 -Publisher FASB -URI https://asc.fasb.org/1943274/2147479344/326-20-45-1 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 326 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 3B -Publisher FASB -URI https://asc.fasb.org/1943274/2147479319/326-20-50-3B Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Topic 326 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 5 -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org/1943274/2147479319/326-20-50-5 + Details
Name: | us-gaap_DebtSecuritiesHeldToMaturityExcludingAccruedInterestBeforeAllowanceForCreditLoss
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount, after allocation of valuation allowances and deferred tax liability, of deferred tax asset attributable to deductible differences and carryforwards, with jurisdictional netting. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 740 -SubTopic 10 -Name Accounting Standards Codification -Section 45 -Paragraph 4 -Publisher FASB -URI https://asc.fasb.org/1943274/2147482525/740-10-45-4 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 740 -SubTopic 10 -Name Accounting Standards Codification -Section 45 -Paragraph 6 -Publisher FASB -URI https://asc.fasb.org/1943274/2147482525/740-10-45-6 + Details
Name: | us-gaap_DeferredIncomeTaxAssetsNet
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount classified as property, plant and equipment attributable to disposal group held for sale or disposed of. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Section 45 -Paragraph 10 -SubTopic 20 -Topic 205 -Publisher FASB -URI https://asc.fasb.org/1943274/2147483475/205-20-45-10 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 205 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 5B -Subparagraph (e) -Publisher FASB -URI https://asc.fasb.org/1943274/2147483499/205-20-50-5B Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 360 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 3 -Subparagraph (e) -Publisher FASB -URI https://asc.fasb.org/1943274/2147482099/360-10-50-3 Reference 4: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 205 -SubTopic 20 -Name Accounting Standards Codification -Section 45 -Paragraph 11 -Publisher FASB -URI https://asc.fasb.org/1943274/2147483475/205-20-45-11 + Details
Name: | us-gaap_DisposalGroupIncludingDiscontinuedOperationPropertyPlantAndEquipment
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Indicates line item in statement of financial position that includes finance lease liability. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 842 -SubTopic 20 -Name Accounting Standards Codification -Section 45 -Paragraph 2 -Publisher FASB -URI https://asc.fasb.org/1943274/2147479041/842-20-45-2 + Details
Name: | us-gaap_FinanceLeaseLiabilityStatementOfFinancialPositionExtensibleList
Namespace Prefix: | us-gaap_
Data Type: | enum2:enumerationSetItemType
Balance Type: | na
Period Type: | instant

X
- Definition Useful life of finite-lived intangible assets, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents the reported fact of one year, five months, and thirteen days. + References No definition available. + Details
Name: | us-gaap_FiniteLivedIntangibleAssetUsefulLife
Namespace Prefix: | us-gaap_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | instant

X
- Definition Total loss recognized during the period from the impairment of goodwill plus the loss recognized in the period resulting from the impairment of the carrying amount of intangible assets, other than goodwill. + References No definition available. + Details
Name: | us-gaap_GoodwillAndIntangibleAssetImpairment
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Indicates line item in statement of cash flows that includes income tax credit and other income tax benefit, before amortization expense, generated by investment under tax credit program elected to be accounted for using proportional amortization method. Includes, but is not limited to, investment under tax credit program not meeting condition for accounting under proportional amortization method. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 740 -SubTopic 323 -Name Accounting Standards Codification -Section 50 -Paragraph 1A -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org/1943274/2147478156/740-323-50-1A + Details
Name: | us-gaap_InvestmentProgramProportionalAmortizationMethodElectedIncomeTaxCreditAndOtherIncomeTaxBenefitBeforeAmortizationStatementOfCashFlowsExtensibleEnumeration
Namespace Prefix: | us-gaap_
Data Type: | enum2:enumerationSetItemType
Balance Type: | na
Period Type: | duration

X
- Definition Indicates line item in statement of income or comprehensive income that includes income tax credit and other income tax benefit, before amortization expense, generated by investment under tax credit program elected to be accounted for using proportional amortization method. Includes, but is not limited to, investment under tax credit program not meeting condition for accounting under proportional amortization method. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 740 -SubTopic 323 -Name Accounting Standards Codification -Section 50 -Paragraph 1A -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org/1943274/2147478156/740-323-50-1A + Details
Name: | us-gaap_InvestmentProgramProportionalAmortizationMethodElectedIncomeTaxCreditAndOtherIncomeTaxBenefitBeforeAmortizationStatementOfIncomeOrComprehensiveIncomeExtensibleEnumeration
Namespace Prefix: | us-gaap_
Data Type: | enum2:enumerationSetItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount of investment in equity method investee and investment in and advance to affiliate. + 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(18)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480566/210-10-S99-1 + Details
Name: | us-gaap_InvestmentsInAffiliatesSubsidiariesAssociatesAndJointVentures
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition 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. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 825 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 10 -Publisher FASB -URI https://asc.fasb.org/1943274/2147482907/825-10-50-10 + Details
Name: | us-gaap_LoansReceivableFairValueDisclosure
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Number of segments reported by the entity. A reportable segment is a component of an entity for which there is an accounting requirement to report separate financial information on that component in the entity's financial statements. + References Reference 1: http://www.xbrl.org/2003/role/exampleRef -Topic 280 -SubTopic 10 -Name Accounting Standards Codification -Section 55 -Paragraph 47 -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org/1943274/2147482785/280-10-55-47 Reference 2: http://www.xbrl.org/2003/role/exampleRef -Topic 280 -SubTopic 10 -Name Accounting Standards Codification -Section 55 -Paragraph 54 -Subparagraph (e) -Publisher FASB -URI https://asc.fasb.org/1943274/2147482785/280-10-55-54 Reference 3: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 280 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 18 -Publisher FASB -URI https://asc.fasb.org/1943274/2147482810/280-10-50-18 + Details
Name: | us-gaap_NumberOfReportableSegments
Namespace Prefix: | us-gaap_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | duration

X
- Definition Number of reporting units tested for impairment of goodwill. A reporting unit is an operating segment or one level below an operating segment. + References No definition available. + Details
Name: | us-gaap_NumberOfReportingUnits
Namespace Prefix: | us-gaap_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | duration

X
- Definition 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. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 326 -SubTopic 20 -Name Accounting Standards Codification -Section 45 -Paragraph 2 -Publisher FASB -URI https://asc.fasb.org/1943274/2147479344/326-20-45-2 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 460 -SubTopic 10 -Name Accounting Standards Codification -Section 45 -Paragraph 1 -Publisher FASB -URI https://asc.fasb.org/1943274/2147482454/460-10-45-1 + Details
Name: | us-gaap_OffBalanceSheetCreditLossLiability
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount, after discount, accretion and premium amortization, of interest income and dividend income classified as other. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 942 -SubTopic 220 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.9-04(4)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147478524/942-220-S99-1 + Details
Name: | us-gaap_OtherInterestAndDividendIncome
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition The cash inflow from sale of buildings. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 230 -SubTopic 10 -Name Accounting Standards Codification -Section 45 -Paragraph 12 -Subparagraph (c) -Publisher FASB -URI https://asc.fasb.org/1943274/2147482740/230-10-45-12 + Details
Name: | us-gaap_ProceedsFromSaleOfBuildings
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Useful life of long lived, physical assets used in the normal conduct of business and not intended for resale, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents the reported fact of one year, five months, and thirteen days. Examples include, but not limited to, land, buildings, machinery and equipment, office equipment, furniture and fixtures, and computer equipment. + References No definition available. + Details
Name: | us-gaap_PropertyPlantAndEquipmentUsefulLife
Namespace Prefix: | us-gaap_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | instant

X
- Definition Amount of commitment and contingent commitment, including amount of delayed equity contribution, for investment that generates income tax credit and other income tax benefit under tax credit program elected to be accounted for using proportional amortization method. Includes, but is not limited to, commitment and contingent commitment related to investment under tax credit program not meeting condition for accounting under proportional amortization method. + References Reference 1: http://www.xbrl.org/2003/role/recommendedDisclosureRef -Topic 740 -SubTopic 323 -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Subparagraph (e) -Publisher FASB -URI https://asc.fasb.org/1943274/2147478156/740-323-50-2 + Details
Name: | us-gaap_QualifiedAffordableHousingProjectInvestmentsCommitment
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount of equity (deficit) attributable to parent. Excludes temporary equity and equity attributable to noncontrolling interest. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 210 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(29)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480566/210-10-S99-1 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 210 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(30)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480566/210-10-S99-1 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 210 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(31)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480566/210-10-S99-1 Reference 4: http://www.xbrl.org/2003/role/exampleRef -Topic 852 -SubTopic 10 -Name Accounting Standards Codification -Section 55 -Paragraph 10 -Publisher FASB -URI https://asc.fasb.org/1943274/2147481372/852-10-55-10 Reference 5: http://www.xbrl.org/2003/role/exampleRef -Topic 946 -SubTopic 830 -Name Accounting Standards Codification -Section 55 -Paragraph 12 -Publisher FASB -URI https://asc.fasb.org/1943274/2147479168/946-830-55-12 Reference 6: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 210 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.6-04(19)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147479170/946-210-S99-1 Reference 7: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 210 -Name Accounting Standards Codification -Section S99 -Paragraph 2 -Subparagraph (SX 210.6-05(4)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147479170/946-210-S99-2 Reference 8: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 946 -SubTopic 220 -Name Accounting Standards Codification -Section S99 -Paragraph 3 -Subparagraph (SX 210.6-09(4)(b)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147479134/946-220-S99-3 Reference 9: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 220 -Name Accounting Standards Codification -Section S99 -Paragraph 3 -Subparagraph (SX 210.6-09(6)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147479134/946-220-S99-3 Reference 10: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 220 -Name Accounting Standards Codification -Section S99 -Paragraph 3 -Subparagraph (SX 210.6-09(7)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147479134/946-220-S99-3 Reference 11: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 235 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.4-08(g)(1)(ii)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480678/235-10-S99-1 Reference 12: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 323 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 3 -Subparagraph (c) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481687/323-10-50-3 Reference 13: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 825 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 28 -Subparagraph (f) -Publisher FASB -URI https://asc.fasb.org/1943274/2147482907/825-10-50-28 Reference 14: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 310 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 2 -Subparagraph (SAB Topic 4.E) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480418/310-10-S99-2 + Details
Name: | us-gaap_StockholdersEquity
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Details
Name: | us-gaap_StatementEquityComponentsAxis=us-gaap_RetainedEarningsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_CumulativeEffectPeriodOfAdoptionAxis=srt_CumulativeEffectPeriodOfAdoptionAdjustmentMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_StatementGeographicalAxis=mpb_EnolaPennsylvaniaMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_StatementGeographicalAxis=mpb_DauphinCountyPennsylvaniaMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_StatementGeographicalAxis=mpb_MechanicsburgPennsylvaniaMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_StatementGeographicalAxis=mpb_SchuylkillCountyPennsylvaniaMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_FederalHomeLoanBankAdvancesBranchOfFHLBBankAxis=srt_FederalHomeLoanBankOfPittsburghMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FinancialInstrumentAxis=us-gaap_EquitySecuritiesMember
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_FiniteLivedIntangibleAssetsByMajorClassAxis=us-gaap_CoreDepositsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis=us-gaap_CustomerListsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_PropertyPlantAndEquipmentByTypeAxis=us-gaap_BuildingAndBuildingImprovementsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_PropertyPlantAndEquipmentByTypeAxis=us-gaap_FurnitureAndFixturesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_PropertyPlantAndEquipmentByTypeAxis=us-gaap_LandImprovementsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_PropertyPlantAndEquipmentByTypeAxis=us-gaap_LeaseholdImprovementsMember
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: |