XML 48 R38.htm IDEA: XBRL DOCUMENT
v3.25.2

Business Combination - Schedule of Estimated Fair Value of Assets Acquired (Details) - USD ($) $ in Thousands | Apr. 30, 2025 | Jun. 30, 2025 | Dec. 31, 2024
--- | --- | --- | ---
Deposits: |  |  |
Goodwill |  | $ 135,473 | $ 128,160
William Penn Acquisition |  |  |
Assets acquired: |  |  |
Cash and cash equivalents | $ 41,404 |  |
Federal funds sold | 553 |  |
Investment securities | 186,564 |  |
Loans | 405,271 |  |
Core deposit intangible | 9,002 |  |
Premises and equipment | 6,858 |  |
Operating lease right of use asset | 6,340 |  |
Cash surrender value of life insurance | 42,928 |  |
Deferred income taxes | 15,399 |  |
Accrued interest receivable | 2,271 |  |
Other assets | 11,094 |  |
Total assets acquired | 727,684 |  |
Deposits: |  |  |
Noninterest-bearing demand | 61,677 |  |
Interest-bearing demand | 121,521 |  |
Money Market | 178,285 |  |
Savings | 76,983 |  |
Time | 181,293 |  |
Operating lease liability | 6,340 |  |
Accrued interest payable | 29 |  |
Other liabilities | 4,052 |  |
Total liabilities assumed | 630,181 |  |
Consideration transferred | 103,213 |  |
Fair value of common stock issued | 103,206 |  |
Cash paid in lieu of fractional shares | 7 |  |
Net assets acquired | 97,503 |  |
Goodwill | $ 5,710 |  |

X
- Definition Business Combination, Recognized Identifiable Assets Acquired and Liabilities Assumed, Assets Acquired Including Goodwill + References No definition available. + Details
Name: | mpb_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedAssetsAcquiredIncludingGoodwill
Namespace Prefix: | mpb_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Business Combination, Recognized Identifiable Assets Acquired and Liabilities Assumed, Cash Surrender Value of Life Insurance + References No definition available. + Details
Name: | mpb_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCashSurrenderValueOfLifeInsurance
Namespace Prefix: | mpb_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Business Combination, Recognized Identifiable Assets Acquired and Liabilities Assumed, Federal Funds Sold + References No definition available. + Details
Name: | mpb_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedFederalFundsSold
Namespace Prefix: | mpb_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Business combination recognized identifiable assets acquired and liabilities assumed interest bearing demand deposit liabilities. + References No definition available. + Details
Name: | mpb_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedInterestBearingDemandDepositLiabilities
Namespace Prefix: | mpb_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Business combination recognized identifiable assets acquired and liabilities assumed money market deposit liabilities. + References No definition available. + Details
Name: | mpb_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedMoneyMarketDepositLiabilities
Namespace Prefix: | mpb_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Business combination recognized identifiable assets acquired and liabilities assumed non interest bearing demand deposit liabilities. + References No definition available. + Details
Name: | mpb_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNonInterestBearingDemandDepositLiabilities
Namespace Prefix: | mpb_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Business Combination, Recognized Identifiable Assets Acquired And Liabilities Assumed, Operating Lease Right Of Use Asset + References No definition available. + Details
Name: | mpb_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedOperatingLeaseRightOfUseAsset
Namespace Prefix: | mpb_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Business combination recognized identifiable assets acquired and liabilities assumed savings deposit liabilities. + References No definition available. + Details
Name: | mpb_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedSavingsDepositLiabilities
Namespace Prefix: | mpb_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Business combination recognized identifiable assets acquired and liabilities assumed time deposit liabilities. + References No definition available. + Details
Name: | mpb_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedTimeDepositLiabilities
Namespace Prefix: | mpb_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount of consideration transferred, consisting of acquisition-date fair value of assets transferred by the acquirer, liabilities incurred by the acquirer, and equity interest issued by the acquirer. + References Reference 1: http://www.xbrl.org/2003/role/exampleRef -Topic 805 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 8 -Publisher FASB -URI https://asc.fasb.org/1943274/2147479328/805-10-50-8 Reference 2: http://www.xbrl.org/2003/role/exampleRef -Topic 805 -SubTopic 10 -Name Accounting Standards Codification -Section 55 -Paragraph 41 -Publisher FASB -URI https://asc.fasb.org/1943274/2147479303/805-10-55-41 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Topic 805 -SubTopic 30 -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Publisher FASB -URI https://asc.fasb.org/1943274/2147479581/805-30-50-2 Reference 4: http://www.xbrl.org/2003/role/disclosureRef -Topic 805 -SubTopic 30 -Name Accounting Standards Codification -Section 50 -Paragraph 1 -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org/1943274/2147479581/805-30-50-1 + Details
Name: | us-gaap_BusinessCombinationConsiderationTransferred1
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Amount of equity interests of the acquirer, including instruments or interests issued or issuable in consideration for the business combination. + References Reference 1: http://www.xbrl.org/2003/role/exampleRef -Topic 805 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 8 -Publisher FASB -URI https://asc.fasb.org/1943274/2147479328/805-10-50-8 Reference 2: http://www.xbrl.org/2003/role/exampleRef -Topic 805 -SubTopic 10 -Name Accounting Standards Codification -Section 55 -Paragraph 41 -Publisher FASB -URI https://asc.fasb.org/1943274/2147479303/805-10-55-41 Reference 3: http://www.xbrl.org/2003/role/exampleRef -Topic 805 -SubTopic 30 -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Publisher FASB -URI https://asc.fasb.org/1943274/2147479581/805-30-50-2 Reference 4: http://www.xbrl.org/2003/role/exampleRef -Topic 805 -SubTopic 30 -Name Accounting Standards Codification -Section 50 -Paragraph 1 -Subparagraph (b)(4) -Publisher FASB -URI https://asc.fasb.org/1943274/2147479581/805-30-50-1 Reference 5: http://www.xbrl.org/2003/role/exampleRef -Topic 805 -SubTopic 10 -Name Accounting Standards Codification -Section 55 -Paragraph 42 -Publisher FASB -URI https://asc.fasb.org/1943274/2147479303/805-10-55-42 + Details
Name: | us-gaap_BusinessCombinationConsiderationTransferredEquityInterestsIssuedAndIssuable
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- References No definition available. + Details
Name: | us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedAssetsAbstract
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount of lease obligation assumed in business combination and recognized at acquisition date. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 805 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Publisher FASB -URI https://asc.fasb.org/1943274/2147479907/805-20-50-2 Reference 2: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 805 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1 -Subparagraph (c) -Publisher FASB -URI https://asc.fasb.org/1943274/2147479907/805-20-50-1 + Details
Name: | us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCapitalLeaseObligation
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount of cash and cash equivalent acquired in business combination and recognized at acquisition date. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 805 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Publisher FASB -URI https://asc.fasb.org/1943274/2147479907/805-20-50-2 Reference 2: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 805 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1 -Subparagraph (c) -Publisher FASB -URI https://asc.fasb.org/1943274/2147479907/805-20-50-1 + Details
Name: | us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCashAndEquivalents
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount of investment in debt and equity securities acquired in business combination and recognized at acquisition date, classified as current. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 805 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Publisher FASB -URI https://asc.fasb.org/1943274/2147479907/805-20-50-2 Reference 2: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 805 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1 -Subparagraph (c) -Publisher FASB -URI https://asc.fasb.org/1943274/2147479907/805-20-50-1 + Details
Name: | us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssetsMarketableSecurities
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount of receivable acquired in business combination and recognized at acquisition date, classified as current. Includes, but is not limited to, receivable from customer for product and service. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 805 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Publisher FASB -URI https://asc.fasb.org/1943274/2147479907/805-20-50-2 Reference 2: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 805 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1 -Subparagraph (c) -Publisher FASB -URI https://asc.fasb.org/1943274/2147479907/805-20-50-1 + Details
Name: | us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssetsReceivables
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount of accounts payable assumed in business combination and recognized at acquisition date, classified as current. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 805 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Publisher FASB -URI https://asc.fasb.org/1943274/2147479907/805-20-50-2 Reference 2: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 805 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1 -Subparagraph (c) -Publisher FASB -URI https://asc.fasb.org/1943274/2147479907/805-20-50-1 + Details
Name: | us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentLiabilitiesAccountsPayable
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount of deferred tax asset acquired in business combination and recognized at acquisition date. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 805 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Publisher FASB -URI https://asc.fasb.org/1943274/2147479907/805-20-50-2 Reference 2: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 805 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1 -Subparagraph (c) -Publisher FASB -URI https://asc.fasb.org/1943274/2147479907/805-20-50-1 + Details
Name: | us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedDeferredTaxAssets
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount of financial asset acquired in business combination and recognized at acquisition date. + References Reference 1: http://www.xbrl.org/2003/role/exampleRef -Topic 805 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 8 -Publisher FASB -URI https://asc.fasb.org/1943274/2147479328/805-10-50-8 Reference 2: http://www.xbrl.org/2003/role/exampleRef -Topic 805 -SubTopic 10 -Name Accounting Standards Codification -Section 55 -Paragraph 41 -Publisher FASB -URI https://asc.fasb.org/1943274/2147479303/805-10-55-41 Reference 3: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 805 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Publisher FASB -URI https://asc.fasb.org/1943274/2147479907/805-20-50-2 Reference 4: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 805 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1 -Subparagraph (c) -Publisher FASB -URI https://asc.fasb.org/1943274/2147479907/805-20-50-1 + Details
Name: | us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedFinancialAssets
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount of identifiable finite-lived intangible asset acquired in business combination and recognized at acquisition date. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 805 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Publisher FASB -URI https://asc.fasb.org/1943274/2147479907/805-20-50-2 Reference 2: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 805 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1 -Subparagraph (c) -Publisher FASB -URI https://asc.fasb.org/1943274/2147479907/805-20-50-1 + Details
Name: | us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedIntangibles
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount of liability assumed in business combination and recognized at acquisition date. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 805 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Publisher FASB -URI https://asc.fasb.org/1943274/2147479907/805-20-50-2 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 805 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1 -Subparagraph (c) -Publisher FASB -URI https://asc.fasb.org/1943274/2147479907/805-20-50-1 + Details
Name: | us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedLiabilities
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount of asset acquired in excess of (less than) liability assumed in business combination and recognized at acquisition date. Excludes goodwill. + References Reference 1: http://www.xbrl.org/2003/role/exampleRef -Topic 805 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 8 -Publisher FASB -URI https://asc.fasb.org/1943274/2147479328/805-10-50-8 Reference 2: http://www.xbrl.org/2003/role/exampleRef -Topic 805 -SubTopic 10 -Name Accounting Standards Codification -Section 55 -Paragraph 41 -Publisher FASB -URI https://asc.fasb.org/1943274/2147479303/805-10-55-41 Reference 3: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 805 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Publisher FASB -URI https://asc.fasb.org/1943274/2147479907/805-20-50-2 Reference 4: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 805 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1 -Subparagraph (c) -Publisher FASB -URI https://asc.fasb.org/1943274/2147479907/805-20-50-1 + Details
Name: | us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNet
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount of liability assumed in business combination and recognized at acquisition date, classified as other and noncurrent. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 805 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Publisher FASB -URI https://asc.fasb.org/1943274/2147479907/805-20-50-2 Reference 2: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 805 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1 -Subparagraph (c) -Publisher FASB -URI https://asc.fasb.org/1943274/2147479907/805-20-50-1 + Details
Name: | us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNoncurrentLiabilitiesOther
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount of asset acquired in business combination and recognized at acquisition date, classified as other and noncurrent. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 805 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Publisher FASB -URI https://asc.fasb.org/1943274/2147479907/805-20-50-2 Reference 2: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 805 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1 -Subparagraph (c) -Publisher FASB -URI https://asc.fasb.org/1943274/2147479907/805-20-50-1 + Details
Name: | us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedOtherNoncurrentAssets
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount of property, plant, and equipment acquired in business combination and recognized at acquisition date. + References Reference 1: http://www.xbrl.org/2003/role/exampleRef -Topic 805 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 8 -Publisher FASB -URI https://asc.fasb.org/1943274/2147479328/805-10-50-8 Reference 2: http://www.xbrl.org/2003/role/exampleRef -Topic 805 -SubTopic 10 -Name Accounting Standards Codification -Section 55 -Paragraph 41 -Publisher FASB -URI https://asc.fasb.org/1943274/2147479303/805-10-55-41 Reference 3: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 805 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Publisher FASB -URI https://asc.fasb.org/1943274/2147479907/805-20-50-2 Reference 4: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 805 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1 -Subparagraph (c) -Publisher FASB -URI https://asc.fasb.org/1943274/2147479907/805-20-50-1 + Details
Name: | us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedPropertyPlantAndEquipment
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- References No definition available. + Details
Name: | us-gaap_DepositsAbstract
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount, after accumulated impairment loss, of asset representing future economic benefit arising from other asset acquired in business combination or from joint venture formation or both, that is not individually identified and separately recognized. + References Reference 1: http://www.xbrl.org/2003/role/exampleRef -Topic 350 -SubTopic 20 -Name Accounting Standards Codification -Section 55 -Paragraph 24 -Publisher FASB -URI https://asc.fasb.org/1943274/2147482548/350-20-55-24 Reference 2: http://www.xbrl.org/2003/role/exampleRef -Topic 805 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 8 -Publisher FASB -URI https://asc.fasb.org/1943274/2147479328/805-10-50-8 Reference 3: http://www.xbrl.org/2003/role/exampleRef -Topic 805 -SubTopic 10 -Name Accounting Standards Codification -Section 55 -Paragraph 41 -Publisher FASB -URI https://asc.fasb.org/1943274/2147479303/805-10-55-41 Reference 4: http://www.xbrl.org/2003/role/exampleRef -Topic 805 -SubTopic 740 -Name Accounting Standards Codification -Section 55 -Paragraph 13 -Publisher FASB -URI https://asc.fasb.org/1943274/2147478064/805-740-55-13 Reference 5: http://www.xbrl.org/2003/role/exampleRef -Topic 805 -SubTopic 10 -Name Accounting Standards Codification -Section 55 -Paragraph 39 -Publisher FASB -URI https://asc.fasb.org/1943274/2147479303/805-10-55-39 Reference 6: http://www.xbrl.org/2003/role/exampleRef -Topic 280 -SubTopic 10 -Name Accounting Standards Codification -Section 55 -Paragraph 49 -Publisher FASB -URI https://asc.fasb.org/1943274/2147482785/280-10-55-49 Reference 7: http://www.xbrl.org/2003/role/exampleRef -Topic 820 -SubTopic 10 -Name Accounting Standards Codification -Section 55 -Paragraph 100 -Subparagraph (d) -Publisher FASB -URI https://asc.fasb.org/1943274/2147482078/820-10-55-100 Reference 8: 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 9: http://www.xbrl.org/2003/role/disclosureRef -Topic 210 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(15)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480566/210-10-S99-1 Reference 10: http://www.xbrl.org/2003/role/disclosureRef -Topic 350 -SubTopic 20 -Name Accounting Standards Codification -Section 45 -Paragraph 1 -Publisher FASB -URI https://asc.fasb.org/1943274/2147482598/350-20-45-1 Reference 11: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 350 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1 -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org/1943274/2147482573/350-20-50-1 Reference 12: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 350 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1 -Subparagraph (h) -Publisher FASB -URI https://asc.fasb.org/1943274/2147482573/350-20-50-1 Reference 13: http://www.xbrl.org/2003/role/disclosureRef -Topic 942 -SubTopic 210 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.9-03(10)(1)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147478546/942-210-S99-1 Reference 14: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 805 -SubTopic 30 -Name Accounting Standards Codification -Section 50 -Paragraph 4 -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org/1943274/2147479581/805-30-50-4 + Details
Name: | us-gaap_Goodwill
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition The cash outflow associated with the acquisition of business during the period. The cash portion only of the acquisition price. + References Reference 1: http://www.xbrl.org/2003/role/exampleRef -Topic 805 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 8 -Publisher FASB -URI https://asc.fasb.org/1943274/2147479328/805-10-50-8 Reference 2: http://www.xbrl.org/2003/role/exampleRef -Topic 805 -SubTopic 10 -Name Accounting Standards Codification -Section 55 -Paragraph 41 -Publisher FASB -URI https://asc.fasb.org/1943274/2147479303/805-10-55-41 Reference 3: http://www.xbrl.org/2003/role/exampleRef -Topic 805 -SubTopic 30 -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Publisher FASB -URI https://asc.fasb.org/1943274/2147479581/805-30-50-2 Reference 4: http://www.xbrl.org/2003/role/disclosureRef -Topic 805 -SubTopic 30 -Name Accounting Standards Codification -Section 50 -Paragraph 1 -Subparagraph (b)(1) -Publisher FASB -URI https://asc.fasb.org/1943274/2147479581/805-30-50-1 Reference 5: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 13 -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org/1943274/2147482740/230-10-45-13 + Details
Name: | us-gaap_PaymentsToAcquireBusinessesGross
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

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