XML 92 R79.htm IDEA: XBRL DOCUMENT
v3.22.0.1

Loans and Allowance for Loan and Lease Losses (Troubled Debt Restructurings) (Details) | 12 Months Ended
--- | ---
Dec. 31, 2021 USD ($) Loan contract | Dec. 31, 2020 USD ($) Loan contract | Dec. 31, 2019 USD ($) contract
Financing Receivable, Modifications [Line Items] |  |  |
Financing Receivable, Modifications, Pre-Modification Recorded Investment | $ 1,909,000 | $ 2,582,000 |
Financing Receivable, Modifications, Post-Modification Recorded Investment | 1,808,000 | 2,480,000 |
Financing Receivable, Modifications, Recorded Investment | $ 819,000 | $ 1,480,000 |
Financing Receivable, Modifications, Number of Contracts | Loan | 0 | 0 |
Entity Loan Modification Program [Member] |  |  |
Financing Receivable, Modifications [Line Items] |  |  |
Financing Receivable, Modifications, Pre-Modification Recorded Investment |  | $ 644,000 | $ 43,000
Financing Receivable, Modifications, Post-Modification Recorded Investment |  | 644,000 | 43,000
Financing Receivable, Modifications, Recorded Investment |  | $ 582,000 | $ 43,000
Financing Receivable, Modifications, Number of Contracts | contract | 0 | 3 | 2
Commercial Portfolio [Member] | Commercial and Industrial [Member] |  |  |
Financing Receivable, Modifications [Line Items] |  |  |
Financing Receivable, Modifications, Pre-Modification Recorded Investment | $ 8,000 | $ 8,000 |
Financing Receivable, Modifications, Post-Modification Recorded Investment | 8,000 | 8,000 |
Financing Receivable, Modifications, Recorded Investment | 5,000 | 6,000 |
Commercial Portfolio [Member] | Commercial and Industrial [Member] | Entity Loan Modification Program [Member] |  |  |
Financing Receivable, Modifications [Line Items] |  |  |
Financing Receivable, Modifications, Pre-Modification Recorded Investment |  |  | $ 3,000
Financing Receivable, Modifications, Post-Modification Recorded Investment |  |  | 3,000
Financing Receivable, Modifications, Recorded Investment |  |  | $ 3,000
Financing Receivable, Modifications, Number of Contracts | contract |  |  | 1
Commercial Portfolio [Member] | Commercial Real Estate [Member] |  |  |
Financing Receivable, Modifications [Line Items] |  |  |
Financing Receivable, Modifications, Pre-Modification Recorded Investment | 1,214,000 | 1,806,000 |
Financing Receivable, Modifications, Post-Modification Recorded Investment | 1,115,000 | 1,707,000 |
Financing Receivable, Modifications, Recorded Investment | 320,000 | 933,000 |
Commercial Portfolio [Member] | Commercial Real Estate [Member] | Entity Loan Modification Program [Member] |  |  |
Financing Receivable, Modifications [Line Items] |  |  |
Financing Receivable, Modifications, Pre-Modification Recorded Investment |  | 593,000 |
Financing Receivable, Modifications, Post-Modification Recorded Investment |  | 593,000 |
Financing Receivable, Modifications, Recorded Investment |  | $ 535,000 |
Financing Receivable, Modifications, Number of Contracts | contract |  | 1 |
Commercial Portfolio [Member] | Commercial Real Estate - Construction [Member] |  |  |
Financing Receivable, Modifications [Line Items] |  |  |
Financing Receivable, Modifications, Pre-Modification Recorded Investment | 40,000 | $ 40,000 |
Financing Receivable, Modifications, Post-Modification Recorded Investment | 40,000 | 40,000 |
Financing Receivable, Modifications, Recorded Investment | 22,000 | 31,000 |
Commercial Portfolio [Member] | Commercial Real Estate - Construction [Member] | Entity Loan Modification Program [Member] |  |  |
Financing Receivable, Modifications [Line Items] |  |  |
Financing Receivable, Modifications, Pre-Modification Recorded Investment |  |  | $ 40,000
Financing Receivable, Modifications, Post-Modification Recorded Investment |  |  | 40,000
Financing Receivable, Modifications, Recorded Investment |  |  | $ 40,000
Financing Receivable, Modifications, Number of Contracts | contract |  |  | 1
Residential Portfolio [Member] | Residential Mortgage [Member] |  |  |
Financing Receivable, Modifications [Line Items] |  |  |
Financing Receivable, Modifications, Pre-Modification Recorded Investment | 647,000 | 728,000 |
Financing Receivable, Modifications, Post-Modification Recorded Investment | 645,000 | 725,000 |
Financing Receivable, Modifications, Recorded Investment | $ 472,000 | 510,000 |
Residential Portfolio [Member] | Residential Mortgage [Member] | Entity Loan Modification Program [Member] |  |  |
Financing Receivable, Modifications [Line Items] |  |  |
Financing Receivable, Modifications, Pre-Modification Recorded Investment |  | 51,000 |
Financing Receivable, Modifications, Post-Modification Recorded Investment |  | 51,000 |
Financing Receivable, Modifications, Recorded Investment |  | $ 47,000 |
Financing Receivable, Modifications, Number of Contracts | contract |  | 2 |

X
- Definition Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table. + References No definition available. + Details
Name: | us-gaap_FinancingReceivableModificationsLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Number of financing receivables that have been modified by troubled debt restructurings. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 310 -SubTopic 10 -Section 50 -Paragraph 33 -URI http://asc.fasb.org/extlink&oid=123577603&loc=SL6953676-111524 + Details
Name: | us-gaap_FinancingReceivableModificationsNumberOfContracts2
Namespace Prefix: | us-gaap_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount, after troubled debt restructuring, of modified financing receivable. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 310 -SubTopic 10 -Section 50 -Paragraph 33 -URI http://asc.fasb.org/extlink&oid=123577603&loc=SL6953676-111524 + Details
Name: | us-gaap_FinancingReceivableModificationsPostModificationRecordedInvestment2
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Amount, before troubled debt restructuring, of financing receivable to be modified. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 310 -SubTopic 10 -Section 50 -Paragraph 33 -URI http://asc.fasb.org/extlink&oid=123577603&loc=SL6953676-111524 + Details
Name: | us-gaap_FinancingReceivableModificationsPreModificationRecordedInvestment2
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Amount of financing receivable modified as troubled debt restructuring. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 310 -SubTopic 10 -Section 50 -Paragraph 33 -URI http://asc.fasb.org/extlink&oid=123577603&loc=SL6953676-111524 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 310 -SubTopic 40 -Section 50 -Paragraph 4 -URI http://asc.fasb.org/extlink&oid=121585226&loc=d3e18845-111554 + Details
Name: | us-gaap_FinancingReceivableModificationsRecordedInvestment
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Details
Name: | us-gaap_LoanRestructuringModificationNameAxis=us-gaap_EntityLoanModificationProgramMember
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_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis=mpb_CommercialAndIndustrialLoansMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis=us-gaap_RealEstateLoanMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis=us-gaap_ConstructionLoansMember
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_FinancialInstrumentAxis=us-gaap_ResidentialMortgageMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |