XML 73 R64.htm IDEA: XBRL DOCUMENT
v3.22.2

Guarantees, Commitments, and Contingencies (Narrative) (Details) |  | 6 Months Ended | 9 Months Ended | 12 Months Ended | 30 Months Ended
--- | --- | --- | --- | --- | ---
Nov. 30, 2021 USD ($) Apartment Building Shop | Jun. 30, 2022 USD ($) Apartment | Jun. 30, 2021 USD ($) Apartment | Dec. 31, 2021 USD ($) | Dec. 31, 2021 USD ($) | Dec. 31, 2020 USD ($) | Jun. 30, 2022 USD ($)
Commitments, Contingencies and Guarantees [Line Items] |  |  |  |  |  |  |
Number of apartments under the project | Apartment |  | 37 |  |  |  |  |
Limited partner capital contribution |  | $ 7,506,000 |  |  |  |  | $ 7,506,000
Total LIHTCs amount awarded for the project |  |  |  |  | $ 8,530,000 |  |
Project investment amortization period |  | 10 years |  |  |  |  |
Limited partner capital contribution commitment |  | $ 7,506,000 |  |  |  |  | 7,506,000
Total LIHTCs amount awarded for the project |  |  |  |  | 8,530,000 |  |
PPP Loans [Member] | Small Business Administration [Member] |  |  |  |  |  |  |
Commitments, Contingencies and Guarantees [Line Items] |  |  |  |  |  |  |
Nonrefundable loan processing fees received |  | 3,640,000 |  | $ 17,997,000 | 17,997,000 | $ 20,883,000 | $ 42,520,000
Cumberland County, Pennsylvania |  |  |  |  |  |  |
Commitments, Contingencies and Guarantees [Line Items] |  |  |  |  |  |  |
Number of apartments under the project | Apartment |  |  | 39 |  |  |  |
Limited partner capital contribution |  |  | $ 10,805,000 |  |  |  |
Total LIHTCs amount awarded for the project |  |  | 1,205,000 |  |  |  |
Total anticipated LIHTCs amount under the housing project |  |  | $ 12,046,000 |  |  |  |
Project investment amortization period |  |  | 10 years |  |  |  |
Limited partner capital contribution commitment |  |  | $ 10,805,000 |  |  |  |
Total LIHTCs amount awarded for the project |  |  | $ 1,205,000 |  |  |  |
Riverview [Member] |  |  |  |  |  |  |
Commitments, Contingencies and Guarantees [Line Items] |  |  |  |  |  |  |
Number of apartments under the project | Apartment | 17 |  |  |  |  |  |
Limited partner capital contribution | $ 4,356,000 |  |  |  |  |  |
Total LIHTCs amount awarded for the project | 484,000 |  |  |  |  |  |
Total anticipated LIHTCs amount under the housing project | $ 4,840,000 |  |  |  |  |  |
Project investment amortization period | 10 years |  |  |  |  |  |
Number Of Buildings | Building | 3 |  |  |  |  |  |
Number of shops under the project | Shop | 2 |  |  |  |  |  |
Limited partner capital contribution commitment | $ 4,356,000 |  |  |  |  |  |
Total LIHTCs amount awarded for the project | 484,000 |  |  |  |  |  |
Principal amount of construction loan | $ 3,500,000 |  |  |  |  |  |
Interest percentage | 5.50% |  |  |  |  |  |
Term of construction loan | 24 months |  |  |  |  |  |
Financial Standby Letters of Credit [Member] |  |  |  |  |  |  |
Commitments, Contingencies and Guarantees [Line Items] |  |  |  |  |  |  |
Commitments to extend credit |  | $ 54,179,000 |  |  | $ 55,609,000 |  |

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

X
- Definition Commitments, contingencies and guarantees. + References No definition available. + Details
Name: | mpb_CommitmentsContingenciesAndGuaranteesLineItems
Namespace Prefix: | mpb_
Data Type: | xbrli:stringItemType
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 buildings. + References No definition available. + Details
Name: | mpb_NumberOfBuildings
Namespace Prefix: | mpb_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | instant

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 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 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 https://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 Carrying value as of the balance sheet date of the sum of the obligations to contract holders to provide to them an agreed upon rate of return pursuant to the terms of the underlying contract. These contracts represent lending by the contract holders to the entity in return for a guaranteed (primarily fixed) interest rate until maturity, unless called earlier if the contracts provide that option to the contract holders (usually institutions). There is little or no insurance risk for the entity. + References Reference 1: 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.14) -URI https://asc.fasb.org/extlink&oid=126734703&loc=d3e572229-122910 + Details
Name: | us-gaap_BorrowingsUnderGuaranteedInvestmentAgreements
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Maximum amount of loss due to credit risk that, based on the gross fair value of the financial instrument, the entity would incur if parties to the financial instruments that make up the concentration failed completely to perform according to the terms of the contracts and the collateral or other security, if any, for the amount due proved to be of no value to the entity. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 825 -SubTopic 10 -Section 50 -Paragraph 21 -Subparagraph (b) -URI https://asc.fasb.org/extlink&oid=123594938&loc=d3e13537-108611 + Details
Name: | us-gaap_ConcentrationRiskCreditRiskFinancialInstrumentMaximumExposure
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Contractual interest rate for funds borrowed, under the debt agreement. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 470 -SubTopic 20 -Section 50 -Paragraph 1B -Subparagraph (b) -URI https://asc.fasb.org/extlink&oid=123466505&loc=SL123495323-112611 Reference 2: 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.22(a)(1)) -URI https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682 + Details
Name: | us-gaap_DebtInstrumentInterestRateStatedPercentage
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:percentItemType
Balance Type: | na
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 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 https://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
- Details
Name: | us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis=mpb_PaycheckProtectionProgramLoansMember
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: | srt_StatementGeographicalAxis=mpb_CumberlandCountyPennsylvaniaMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

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

X
- Details
Name: | us-gaap_CreditFacilityAxis=us-gaap_StandbyLettersOfCreditMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |