XML 43 R33.htm IDEA: XBRL DOCUMENT
v3.20.2

Summary of Significant Accounting Policies (Narrative) (Details) | 1 Months Ended | 3 Months Ended | 9 Months Ended | 12 Months Ended |  |
--- | --- | --- | --- | --- | --- | ---
Mar. 31, 2020 USD ($) | Sep. 30, 2020 USD ($) | Sep. 30, 2019 USD ($) | Sep. 30, 2020 USD ($) Apartment shares | Sep. 30, 2019 USD ($) shares | Dec. 31, 2020 USD ($) | Dec. 31, 2019 USD ($) | Jan. 02, 2019 USD ($) | Jan. 01, 2019 USD ($) Branch
Loans and leases receivable, net, carrying amount |  | $ 2,509,657,000 |  | $ 2,509,657,000 |  |  | $ 1,753,241,000 |  |
Loans and leases receivable, gross, carrying amount |  | 2,521,827,000 | $ 1,710,434,000 | 2,521,827,000 | $ 1,710,434,000 |  | 1,762,756,000 |  |
Loans and leases, net of unearned interest |  | 295,290,000 |  | 295,290,000 |  |  | 414,498,000 |  |
Bank premises and equipment held for sale |  | 210,000 |  | $ 210,000 |  |  | 0 |  |
Asset held for sale, description |  |  |  | Bank premises and equipment designated as held for sale are carried at the lower of cost or market value, and, at September 30, 2020, totaled $210,000 related to a full-service retail banking property to be closed and listed for sale on December 31, 2020. The balance of the bank premises held for sale is included in other assets on the Consolidated Balance Sheet as of September 30, 2020. There were no premises and equipment classified as held for sale as of December 31, 2019. |  |  |  |  |
Residential real estate held in other real estate owned |  | 136,000 |  | $ 136,000 |  |  | 78,000 |  |
Foreclosure proceedings in process |  | 89,000 |  | 89,000 |  |  | 84,000 |  |
Operating lease right of use asset |  | 10,173,000 |  | 10,173,000 |  |  | 11,442,000 |  |
Operating lease liability |  | 11,212,000 |  | 11,212,000 |  |  | 12,544,000 |  |
Retained earnings |  | 63,099,000 |  | 63,099,000 |  |  | 50,891,000 |  |
Carrying value of investment in limited partnership |  | 157,000 |  | $ 157,000 |  |  | $ 190,000 |  |
Number of apartments under the project | Apartment |  |  |  | 37 |  |  |  |  |
Limited partner capital contribution commitment |  | 7,579,000 |  | $ 7,579,000 |  |  |  |  |
Project investment amortization period |  |  |  | 10 years |  |  | 10 years |  |
Total LIHTCs amount awarded for the project |  |  |  | $ 861,000 |  |  |  |  |
Amortization expense |  | 317,000 | 355,000 | 966,000 | $ 1,078,000 |  |  |  |
Goodwill |  | 62,840,000 |  | 62,840,000 |  |  | $ 62,840,000 |  |
Goodwill, Impairment Loss | $ 0 |  |  | 0 |  |  |  |  |
Decrease in fair value of plan assets |  |  |  | (721,000) |  |  |  |  |
Accumulated other comprehensive loss, net of related income tax benefit |  |  |  | $ (721,000) |  |  |  |  |
Number of antidilutive shares | shares |  |  |  | 0 | 0 |  |  |  |
First Priority Financial Corp. [Member] |  |  |  |  |  |  |  |  |
Goodwill acquired |  |  |  | $ 39,744,000 |  |  | 39,744,000 |  |
Scottdale Bank and Trust Company [Member] |  |  |  |  |  |  |  |  |
Goodwill acquired |  |  |  | 19,178,000 |  |  | 19,178,000 |  |
Phoenix Bancorp Incorporated [Member] |  |  |  |  |  |  |  |  |
Goodwill acquired |  |  |  | 3,918,000 |  |  | 3,918,000 |  |
Core Deposit Intangible [Member] |  |  |  |  |  |  |  |  |
Intangible assets, net |  | 4,607,000 |  | 4,607,000 |  |  | 5,526,000 |  |
Amortization expense |  | 300,000 | 338,000 | $ 919,000 | $ 1,033,000 |  |  |  |
Core Deposit Intangible, Amortization Period |  |  |  | 10 years |  |  |  |  |
Impairment of core deposit intangible |  |  |  | $ 0 |  |  |  |  |
Intangible assets, growth recognized |  |  |  | $ 544,003,000 |  |  |  |  |
Finite Lived Intangible Assets Growth Percentage |  |  |  | 28.00% |  |  |  |  |
Scenario Forecast [Member] |  |  |  |  |  |  |  |  |
Project investment amortization period |  |  |  |  |  | 10 years |  |  |
Total LIHTCs amount awarded for the project |  |  |  |  |  | $ 8,613,000 |  |  |
Annual LIHTCs amount under the housing project |  |  |  |  |  | $ 861,000 |  |  |
Other Assets [Member] |  |  |  |  |  |  |  |  |
Carrying value of investment in limited partnership |  | 6,872,000 |  | $ 6,872,000 |  |  | 7,249,000 |  |
Non Interest Expense [Member] |  |  |  |  |  |  |  |  |
Asset held for sale, impairment charge |  |  |  | 0 | 105,000 |  |  |  |
Reserve for Off-balance Sheet Activities [Member] |  |  |  |  |  |  |  |  |
Valuation allowances and reserves, balance |  | $ 83,000 |  | $ 83,000 |  |  | 80,000 |  |
Maximum [Member] |  |  |  |  |  |  |  |  |
Non-residential consumer loans charged off on contractual basis in event of bankruptcy, in period |  | 120 days |  | 120 days |  |  |  |  |
Commercial Portfolio [Member] |  |  |  |  |  |  |  |  |
Loan terms |  |  |  | 1 year |  |  |  |  |
Loan to value ratio |  | 80.00% |  | 80.00% |  |  |  |  |
Residential Portfolio [Member] | Maximum [Member] |  |  |  |  |  |  |  |  |
Loan terms |  |  |  | 30 years |  |  |  |  |
Loan to value ratio |  | 100.00% |  | 100.00% |  |  |  |  |
Loan to value ratio, exposure after private mortgage insurance |  |  |  | 85.00% |  |  |  |  |
Small Business Administration [Member] | PPP Loans [Member] |  |  |  |  |  |  |  |  |
Loan guarantee description |  |  |  | The PPP loans, which are 100 percent guaranteed by the Small Business Administration (“SBA”), have up to a five-year term to maturity and carry a low interest rate of 1 percent throughout the loan term. |  |  |  |  |
Nonrefundable loan processing fees received |  |  |  | $ 20,883,000 |  |  |  |  |
Loan processing fees |  | $ 2,583,000 |  | 4,954,000 |  |  |  |  |
Loans and leases receivable, net, carrying amount |  | 613,924,000 |  | 613,924,000 |  |  |  |  |
Loans and leases receivable, gross, carrying amount |  | 629,853,000 |  | 629,853,000 |  |  |  |  |
Deferred loan processing fees |  | 15,929,000 |  | 15,929,000 |  |  |  |  |
Loss reserve |  |  |  | $ 0 |  |  |  |  |
Small Business Administration [Member] | Maximum [Member] | PPP Loans [Member] |  |  |  |  |  |  |  |  |
Loans maturity term |  |  |  | 2 years |  |  |  |  |
Processing fee percentage |  |  |  | 5.00% |  |  |  |  |
Small Business Administration [Member] | Minimum [Member] | PPP Loans [Member] |  |  |  |  |  |  |  |  |
Processing fee percentage |  |  |  | 1.00% |  |  |  |  |
ASU 2016-01 [Member] |  |  |  |  |  |  |  |  |
Preferred stock, fair value |  | 1,006,000 |  | $ 1,006,000 |  |  |  |  |
ASU 842 [Member] |  |  |  |  |  |  |  |  |
Operating lease right of use asset |  |  |  |  |  |  |  |  | $ 11,661,000
Operating lease liability |  |  |  |  |  |  |  |  | $ 12,866,000
Number of retail branch location | Branch |  |  |  |  |  |  |  |  | 2
ASU 842 [Member] | Adjustment [Member] |  |  |  |  |  |  |  |  |
Retained earnings |  |  |  |  |  |  |  | $ 316,000 |
Equity Securities [Member] |  |  |  |  |  |  |  |  |
Equity securities, fair value |  | 1,522,000 |  | 1,522,000 |  |  | 507,000 |  |
Equity Securities [Member] | ASU 2016-01 [Member] |  |  |  |  |  |  |  |  |
Equity securities, fair value |  | 516,000 |  | 516,000 |  |  | $ 507,000 |  |
Equity securities sold |  | $ 0 | $ 0 | $ 0 | $ 0 |  |  |  |
Home equity lines of credit [Member] | Maximum [Member] |  |  |  |  |  |  |  |  |
Loan terms |  |  |  | 20 years |  |  |  |  |
Loan to value ratio |  | 85.00% |  | 85.00% |  |  |  |  |
Home Equity Lines Of Credit [Member] | Maximum [Member] |  |  |  |  |  |  |  |  |
Loan terms |  |  |  | 5 years |  |  |  |  |

X
- Definition Annual affordable housing tax credits and other tax benefits. + References No definition available. + Details
Name: | mpb_AnnualAffordableHousingTaxCreditsAndOtherTaxBenefits
Namespace Prefix: | mpb_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Deferred loan processing fees. + References No definition available. + Details
Name: | mpb_DeferredLoanProcessingFees
Namespace Prefix: | mpb_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Finite lived intangible assets growth percentage. + References No definition available. + Details
Name: | mpb_FiniteLivedIntangibleAssetsGrowthPercentage
Namespace Prefix: | mpb_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Loan guarantee description. + References No definition available. + Details
Name: | mpb_LoanGuaranteeDescription
Namespace Prefix: | mpb_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Loan terms. + References No definition available. + Details
Name: | mpb_LoanTerms
Namespace Prefix: | mpb_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition Loan to value ratio. + References No definition available. + Details
Name: | mpb_LoanToValueRatio
Namespace Prefix: | mpb_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | instant

X
- Definition Loan to value ratio, exposure after private mortgage insurance. + References No definition available. + Details
Name: | mpb_LoanToValueRatioExposureAfterPrivateMortgageInsurance
Namespace Prefix: | mpb_
Data Type: | num:percentItemType
Balance Type: | na
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 retail branches. + References No definition available. + Details
Name: | mpb_NumberOfRetailBranches
Namespace Prefix: | mpb_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | instant

X
- Definition Preferred stock fair value. + References No definition available. + Details
Name: | mpb_PreferredStockFairValue
Namespace Prefix: | mpb_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Proceeds from nonrefundable loan processing fees. + References No definition available. + Details
Name: | mpb_ProceedsFromNonrefundableLoanProcessingFees
Namespace Prefix: | mpb_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Processing fee percentage. + References No definition available. + Details
Name: | mpb_ProcessingFeePercentage
Namespace Prefix: | mpb_
Data Type: | num:percentItemType
Balance Type: | na
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 Amount of affordable housing tax credits and other tax benefits recognized. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 323 -SubTopic 740 -Section 50 -Paragraph 2 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=116633289&loc=SL49122993-202985 + Details
Name: | us-gaap_AffordableHousingTaxCreditsAndOtherTaxBenefitsAmount
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Amount of increase (decrease) of allowance reserve for credit loss. + References No definition available. + Details
Name: | us-gaap_AllowanceForLoanAndLeaseLossesPeriodIncreaseDecrease
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | na
Period Type: | duration

X
- Definition The aggregate expense charged against earnings to allocate the cost of intangible assets (nonphysical assets not used in production) in a systematic and rational manner to the periods expected to benefit from such assets. As a noncash expense, this element is added back to net income when calculating cash provided by or used in operations using the indirect method. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 28 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=121586364&loc=d3e3602-108585 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 350 -SubTopic 30 -Section 50 -Paragraph 2 -Subparagraph (a)(2) -URI http://asc.fasb.org/extlink&oid=66006027&loc=d3e16323-109275 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 350 -SubTopic 30 -Section 45 -Paragraph 2 -URI http://asc.fasb.org/extlink&oid=6388964&loc=d3e16225-109274 + Details
Name: | us-gaap_AmortizationOfIntangibleAssets
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Securities (including those issuable pursuant to contingent stock agreements) that could potentially dilute basic earnings per share (EPS) or earnings per unit (EPU) in the future that were not included in the computation of diluted EPS or EPU because to do so would increase EPS or EPU amounts or decrease loss per share or unit amounts for the period presented. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 260 -SubTopic 10 -Section 50 -Paragraph 1 -Subparagraph (c) -URI http://asc.fasb.org/extlink&oid=6371337&loc=d3e3550-109257 + Details
Name: | us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmount
Namespace Prefix: | us-gaap_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount of equity securities categorized neither as held-to-maturity nor as trading. + References No definition available. + Details
Name: | us-gaap_AvailableForSaleSecuritiesEquitySecurities
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Period of time between issuance and maturity of debt instrument, 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_DebtInstrumentTerm
Namespace Prefix: | us-gaap_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount of increase (decrease) in plan assets of defined benefit plan. + References No definition available. + Details
Name: | us-gaap_DefinedBenefitPlanFairValueOfPlanAssetsPeriodIncreaseDecrease
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | na
Period Type: | duration

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 -Publisher FASB -Name Accounting Standards Codification -Topic 360 -SubTopic 10 -Section 50 -Paragraph 3 -Subparagraph (e) -URI http://asc.fasb.org/extlink&oid=109226691&loc=d3e2941-110230 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 205 -SubTopic 20 -Section 45 -Paragraph 10 -URI http://asc.fasb.org/extlink&oid=109222160&loc=d3e1107-107759 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 205 -SubTopic 20 -Section 45 -Paragraph 11 -URI http://asc.fasb.org/extlink&oid=109222160&loc=SL51721533-107759 Reference 4: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 205 -SubTopic 20 -Section 50 -Paragraph 5B -Subparagraph (e) -URI http://asc.fasb.org/extlink&oid=109222650&loc=SL51721673-107760 + Details
Name: | us-gaap_DisposalGroupIncludingDiscontinuedOperationPropertyPlantAndEquipment
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Threshold period for when financing receivable is considered past due to write off as uncollectible, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents the reported fact of one year, five months, and thirteen days. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 326 -SubTopic 20 -Section 50 -Paragraph 14 -URI http://asc.fasb.org/extlink&oid=121599337&loc=SL82919253-210447 + Details
Name: | us-gaap_FinancingReceivableThresholdPeriodPastDueWriteoff
Namespace Prefix: | us-gaap_
Data Type: | xbrli:durationItemType
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: | duration

X
- Definition Amount after amortization of assets, excluding financial assets and goodwill, lacking physical substance with a finite life. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 926 -SubTopic 20 -Section 50 -Paragraph 5 -URI http://asc.fasb.org/extlink&oid=120154696&loc=d3e54445-107959 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 350 -SubTopic 30 -Section 50 -Paragraph 2 -Subparagraph (a)(1) -URI http://asc.fasb.org/extlink&oid=66006027&loc=d3e16323-109275 + Details
Name: | us-gaap_FiniteLivedIntangibleAssetsNet
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount of increase (decrease) in carrying value of assets, excluding financial assets and goodwill, lacking physical substance with a finite life. + References No definition available. + Details
Name: | us-gaap_FiniteLivedIntangibleAssetsPeriodIncreaseDecrease
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount after accumulated impairment loss of an asset representing future economic benefits arising from other assets acquired in a business combination that are not individually identified and separately recognized. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 942 -SubTopic 210 -Section S99 -Paragraph 1 -Subparagraph (SX 210.9-03(10)(1)) -URI http://asc.fasb.org/extlink&oid=120398452&loc=d3e534808-122878 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 350 -SubTopic 20 -Section 45 -Paragraph 5 -URI http://asc.fasb.org/extlink&oid=120320667&loc=SL49117168-202975 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 350 -SubTopic 20 -Section 45 -Paragraph 1 -URI http://asc.fasb.org/extlink&oid=99380562&loc=d3e13770-109266 + Details
Name: | us-gaap_Goodwill
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount of increase in asset representing future economic benefits arising from other assets acquired in a business combination that are not individually identified and separately recognized resulting from a business combination. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 350 -SubTopic 20 -Section 50 -Paragraph 1 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=121556970&loc=d3e13816-109267 + Details
Name: | us-gaap_GoodwillAcquiredDuringPeriod
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Amount of loss from the write-down of an asset representing the future economic benefits arising from other assets acquired in a business combination that are not individually identified and separately recognized. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 350 -SubTopic 20 -Section 50 -Paragraph 2 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=121556970&loc=d3e13854-109267 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 28 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=121586364&loc=d3e3602-108585 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 350 -SubTopic 20 -Section 50 -Paragraph 1 -Subparagraph (e) -URI http://asc.fasb.org/extlink&oid=121556970&loc=d3e13816-109267 Reference 4: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 350 -SubTopic 20 -Section 45 -Paragraph 2 -URI http://asc.fasb.org/extlink&oid=99380562&loc=d3e13777-109266 + Details
Name: | us-gaap_GoodwillImpairmentLoss
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition The amount of impairment loss recognized in the period resulting from the write-down of the carrying amount of a finite-lived intangible asset to fair value. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 28 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=121586364&loc=d3e3602-108585 Reference 2: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 350 -SubTopic 30 -Section 50 -Paragraph 3 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=66006027&loc=d3e16373-109275 + Details
Name: | us-gaap_ImpairmentOfIntangibleAssetsFinitelived
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition The aggregate amount of write-downs for impairments recognized during the period for long-lived assets held for abandonment, exchange or sale. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 28 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=121586364&loc=d3e3602-108585 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 360 -SubTopic 10 -Section 45 -Paragraph 15 -URI http://asc.fasb.org/extlink&oid=109226348&loc=d3e2611-110228 + Details
Name: | us-gaap_ImpairmentOfLongLivedAssetsToBeDisposedOf
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Amount of investment in equity method investee and investment in and advance to affiliate. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02.12) -URI http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682 + Details
Name: | us-gaap_InvestmentsInAffiliatesSubsidiariesAssociatesAndJointVentures
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Expenses paid for obtaining loans which includes expenses such as application and origination fees. + References No definition available. + Details
Name: | us-gaap_LoanProcessingFee
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Amount before allowance of loans and leases held in portfolio, including but not limited to, commercial and consumer loans. Includes deferred interest and fees, undisbursed portion of loan balance, unamortized costs and premiums and discounts from face amounts. Excludes loans and leases covered under loss sharing agreements. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 310 -SubTopic 10 -Section 45 -Paragraph 2 -URI http://asc.fasb.org/extlink&oid=121593590&loc=d3e4428-111522 + Details
Name: | us-gaap_LoansAndLeasesReceivableGrossCarryingAmount
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount after allowance and deduction of deferred interest and fees, unamortized costs and premiums and discounts from face amounts, of loans and leases held in portfolio, including but not limited to, commercial and consumer loans. Excludes loans and leases covered under loss sharing agreements and loans held for sale. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 310 -SubTopic 10 -Section 45 -Paragraph 2 -URI http://asc.fasb.org/extlink&oid=121593590&loc=d3e4428-111522 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 942 -SubTopic 210 -Section S99 -Paragraph 1 -Subparagraph (SX 210.9-03.7) -URI http://asc.fasb.org/extlink&oid=120398452&loc=d3e534808-122878 + Details
Name: | us-gaap_LoansAndLeasesReceivableNetReportedAmount
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://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 310 -SubTopic 10 -URI http://asc.fasb.org/subtopic&trid=2196772 + Details
Name: | us-gaap_LoansReceivableFairValueDisclosure
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition A description of the assets to be disposed of and the facts and circumstances leading to the expected disposal, and the expected manner and timing of the disposal (generally no more than 12 months from the date of the balance sheet). + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 205 -SubTopic 20 -Section 50 -Paragraph 1 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=109222650&loc=d3e1361-107760 + Details
Name: | us-gaap_LongLivedAssetsHeldForSaleDescription
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Recorded investment of consumer mortgage loan receivables secured by residential real estate properties for which formal foreclosure proceedings are in process. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 310 -SubTopic 10 -Section 50 -Paragraph 35 -URI http://asc.fasb.org/extlink&oid=121611835&loc=SL49126937-111524 + Details
Name: | us-gaap_MortgageLoansInProcessOfForeclosureAmount
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Present value of lessee's discounted obligation for lease payments from operating lease. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 842 -SubTopic 20 -Section 45 -Paragraph 1 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=121603541&loc=SL77918627-209977 + Details
Name: | us-gaap_OperatingLeaseLiability
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount of lessee's right to use underlying asset under operating lease. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 842 -SubTopic 20 -Section 45 -Paragraph 1 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=121603541&loc=SL77918627-209977 + Details
Name: | us-gaap_OperatingLeaseRightOfUseAsset
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount, after tax and reclassification adjustment, of (increase) decrease in accumulated other comprehensive income for defined benefit plan. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 220 -SubTopic 10 -Section 45 -Paragraph 11 -URI http://asc.fasb.org/extlink&oid=121641772&loc=d3e637-108580 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 220 -SubTopic 10 -Section 45 -Paragraph 10A -Subparagraph (i-k) -URI http://asc.fasb.org/extlink&oid=121641772&loc=SL7669646-108580 + Details
Name: | us-gaap_OtherComprehensiveIncomeLossPensionAndOtherPostretirementBenefitPlansAdjustmentNetOfTax
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Carrying amount as of the balance sheet date of other real estate and foreclosed assets. Other real estate may include real estate investments, real estate loans that qualify as investments in real estate, and premises that are no longer used in operations may also be included in real estate owned. Foreclosed assets include all assets obtained in full or partial satisfaction of a debt arrangement through foreclosure proceedings. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 942 -SubTopic 210 -Section S99 -Paragraph 1 -Subparagraph (SX 210.9-03.10(4)) -URI http://asc.fasb.org/extlink&oid=120398452&loc=d3e534808-122878 + Details
Name: | us-gaap_OtherRealEstateAndForeclosedAssets
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition The cash inflow associated with the sale of equity securities classified as available-for-sale securities. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 320 -SubTopic 10 -Section 45 -Paragraph 11 -URI http://asc.fasb.org/extlink&oid=121553693&loc=d3e26853-111562 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 12 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=121586364&loc=d3e3179-108585 + Details
Name: | us-gaap_ProceedsFromSaleOfAvailableForSaleSecuritiesEquity
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Amount of commitment or contingent commitments to qualified affordable housing project investments. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 323 -SubTopic 740 -Section 50 -Paragraph 2 -Subparagraph (e) -URI http://asc.fasb.org/extlink&oid=116633289&loc=SL49122993-202985 + Details
Name: | us-gaap_QualifiedAffordableHousingProjectInvestmentsCommitment
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition The cumulative amount of the reporting entity's undistributed earnings or deficit. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(30)(a)(3)) -URI http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 718 -SubTopic 10 -Section 65 -Paragraph 15 -Subparagraph (g)(2) -URI http://asc.fasb.org/extlink&oid=121322162&loc=SL121327923-165333 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 944 -SubTopic 210 -Section S99 -Paragraph 1 -Subparagraph (SX 210.7-03(a)(23)(a)(4)) -URI http://asc.fasb.org/extlink&oid=120400017&loc=d3e572229-122910 Reference 4: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 944 -SubTopic 40 -Section 65 -Paragraph 2 -Subparagraph (h)(2) -URI http://asc.fasb.org/extlink&oid=121370832&loc=SL117420844-207641 Reference 5: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 505 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.3-04) -URI http://asc.fasb.org/extlink&oid=120397183&loc=d3e187085-122770 Reference 6: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 944 -SubTopic 40 -Section 65 -Paragraph 2 -Subparagraph (g)(2)(i) -URI http://asc.fasb.org/extlink&oid=121370832&loc=SL117420844-207641 + Details
Name: | us-gaap_RetainedEarningsAccumulatedDeficit
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount of valuation and qualifying accounts and reserves. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 235 -SubTopic 10 -Section S99 -Paragraph 4 -Subparagraph (SX 210.12-09(Column B)) -URI http://asc.fasb.org/extlink&oid=120395691&loc=d3e24092-122690 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 235 -SubTopic 10 -Section S99 -Paragraph 4 -Subparagraph (SX 210.12-09(Column E)) -URI http://asc.fasb.org/extlink&oid=120395691&loc=d3e24092-122690 + Details
Name: | us-gaap_ValuationAllowancesAndReservesBalance
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

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

X
- Details
Name: | us-gaap_IndefiniteLivedIntangibleAssetsByMajorClassAxis=us-gaap_CoreDepositsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_StatementScenarioAxis=srt_ScenarioForecastMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_BalanceSheetLocationAxis=us-gaap_OtherAssetsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

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

X
- Details
Name: | us-gaap_ValuationAllowancesAndReservesTypeAxis=us-gaap_ReserveForOffBalanceSheetActivitiesMember
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_FinancingReceivablePortfolioSegmentAxis=us-gaap_CommercialPortfolioSegmentMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FinancingReceivablePortfolioSegmentAxis=us-gaap_ResidentialPortfolioSegmentMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FinancingReceivablePortfolioSegmentAxis=mpb_SmallBusinessAdministrationMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis=mpb_PaycheckProtectionProgramLoansMember
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: | us-gaap_AdjustmentsForNewAccountingPronouncementsAxis=us-gaap_AccountingStandardsUpdate201601Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_AdjustmentsForNewAccountingPronouncementsAxis=us-gaap_AccountingStandardsUpdate201602Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_RestatementAxis=srt_RestatementAdjustmentMember
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: | us-gaap_FinancialInstrumentAxis=us-gaap_HomeEquityMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FinancialInstrumentAxis=mpb_HomeEquityLinesOfCreditMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |