XML 80 R65.htm IDEA: XBRL DOCUMENT
v3.22.4

Loans and Allowance for Loan Losses - Classes Of The Loan Portfolio Summarized By The Aggregate Risk Rating (Details) - USD ($) $ in Thousands | Dec. 31, 2022 | Dec. 31, 2021
--- | --- | ---
Financing Receivable, Recorded Investment [Line Items] |  |
Deferred fees and costs | $ 3,900 | $ 6,300
Loans, net of unearned interest | 3,514,119 | 3,104,396
Pass |  |
Financing Receivable, Recorded Investment [Line Items] |  |
Loans, net of unearned interest | 3,456,553 | 3,016,161
Special Mention |  |
Financing Receivable, Recorded Investment [Line Items] |  |
Loans, net of unearned interest | 21,897 | 46,657
Substandard |  |
Financing Receivable, Recorded Investment [Line Items] |  |
Loans, net of unearned interest | 35,669 | 41,578
Commercial Portfolio | Commercial and industrial |  |
Financing Receivable, Recorded Investment [Line Items] |  |
Loans, net of unearned interest | 596,042 | 619,562
Commercial Portfolio | Commercial real estate |  |
Financing Receivable, Recorded Investment [Line Items] |  |
Loans, net of unearned interest | 2,052,934 | 1,668,142
Commercial Portfolio | Commercial real estate - construction |  |
Financing Receivable, Recorded Investment [Line Items] |  |
Loans, net of unearned interest | 441,246 | 372,734
Commercial Portfolio | Pass | Commercial and industrial |  |
Financing Receivable, Recorded Investment [Line Items] |  |
Loans, net of unearned interest | 582,540 | 606,484
Commercial Portfolio | Pass | Commercial real estate |  |
Financing Receivable, Recorded Investment [Line Items] |  |
Loans, net of unearned interest | 2,018,088 | 1,601,196
Commercial Portfolio | Pass | Commercial real estate - construction |  |
Financing Receivable, Recorded Investment [Line Items] |  |
Loans, net of unearned interest | 438,990 | 371,337
Commercial Portfolio | Special Mention | Commercial and industrial |  |
Financing Receivable, Recorded Investment [Line Items] |  |
Loans, net of unearned interest | 4,212 | 10,321
Commercial Portfolio | Special Mention | Commercial real estate |  |
Financing Receivable, Recorded Investment [Line Items] |  |
Loans, net of unearned interest | 12,325 | 35,508
Commercial Portfolio | Special Mention | Commercial real estate - construction |  |
Financing Receivable, Recorded Investment [Line Items] |  |
Loans, net of unearned interest | 2,256 | 0
Commercial Portfolio | Substandard | Commercial and industrial |  |
Financing Receivable, Recorded Investment [Line Items] |  |
Loans, net of unearned interest | 9,290 | 2,757
Commercial Portfolio | Substandard | Commercial real estate |  |
Financing Receivable, Recorded Investment [Line Items] |  |
Loans, net of unearned interest | 22,521 | 31,438
Commercial Portfolio | Substandard | Commercial real estate - construction |  |
Financing Receivable, Recorded Investment [Line Items] |  |
Loans, net of unearned interest | 0 | 1,397
Consumer Portfolio Segment | Residential mortgage |  |
Financing Receivable, Recorded Investment [Line Items] |  |
Loans, net of unearned interest | 305,386 | 323,223
Consumer Portfolio Segment | Home equity |  |
Financing Receivable, Recorded Investment [Line Items] |  |
Loans, net of unearned interest | 110,835 | 110,306
Consumer Portfolio Segment | Consumer |  |
Financing Receivable, Recorded Investment [Line Items] |  |
Loans, net of unearned interest | 7,676 | 10,429
Consumer Portfolio Segment | Pass | Residential mortgage |  |
Financing Receivable, Recorded Investment [Line Items] |  |
Loans, net of unearned interest | 299,288 | 319,862
Consumer Portfolio Segment | Pass | Home equity |  |
Financing Receivable, Recorded Investment [Line Items] |  |
Loans, net of unearned interest | 109,971 | 106,853
Consumer Portfolio Segment | Pass | Consumer |  |
Financing Receivable, Recorded Investment [Line Items] |  |
Loans, net of unearned interest | 7,676 | 10,429
Consumer Portfolio Segment | Special Mention | Residential mortgage |  |
Financing Receivable, Recorded Investment [Line Items] |  |
Loans, net of unearned interest | 3,104 | 294
Consumer Portfolio Segment | Special Mention | Home equity |  |
Financing Receivable, Recorded Investment [Line Items] |  |
Loans, net of unearned interest | 0 | 534
Consumer Portfolio Segment | Special Mention | Consumer |  |
Financing Receivable, Recorded Investment [Line Items] |  |
Loans, net of unearned interest | 0 | 0
Consumer Portfolio Segment | Substandard | Residential mortgage |  |
Financing Receivable, Recorded Investment [Line Items] |  |
Loans, net of unearned interest | 2,994 | 3,067
Consumer Portfolio Segment | Substandard | Home equity |  |
Financing Receivable, Recorded Investment [Line Items] |  |
Loans, net of unearned interest | 864 | 2,919
Consumer Portfolio Segment | Substandard | Consumer |  |
Financing Receivable, Recorded Investment [Line Items] |  |
Loans, net of unearned interest | $ 0 | $ 0

X
- Definition Amortized cost excluding accrued interest, before allowance for credit loss, of financing receivable. Excludes net investment in lease. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 326 -SubTopic 20 -Section 50 -Paragraph 5 -Subparagraph (b) -URI https://asc.fasb.org/extlink&oid=124255953&loc=SL82919230-210447 Reference 2: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 326 -SubTopic 20 -Section 45 -Paragraph 1 -URI https://asc.fasb.org/extlink&oid=124255206&loc=SL82895884-210446 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 326 -SubTopic 20 -Section 50 -Paragraph 3B -URI https://asc.fasb.org/extlink&oid=124255953&loc=SL120267963-210447 + Details
Name: | us-gaap_FinancingReceivableExcludingAccruedInterestBeforeAllowanceForCreditLoss
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

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_FinancingReceivableRecordedInvestmentLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount of unamortized loan commitment, origination, and other costs (fees) and purchase premium (discount) on financing receivable recognized as adjustment to yield. Excludes financing receivable covered under loss sharing agreement. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 310 -SubTopic 10 -Section 50 -Paragraph 4 -URI https://asc.fasb.org/extlink&oid=123577603&loc=d3e5074-111524 Reference 2: http://www.xbrl.org/2003/role/recommendedDisclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 310 -SubTopic 20 -Section 50 -Paragraph 3 -URI https://asc.fasb.org/extlink&oid=84159169&loc=d3e10152-111534 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 310 -SubTopic 20 -Section 45 -Paragraph 1 -URI https://asc.fasb.org/extlink&oid=6378536&loc=d3e10092-111533 + Details
Name: | us-gaap_FinancingReceivableUnamortizedLoanCommitmentOriginationFeeAndPremiumDiscount
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Details
Name: | us-gaap_InternalCreditAssessmentAxis=us-gaap_PassMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_InternalCreditAssessmentAxis=us-gaap_SpecialMentionMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_InternalCreditAssessmentAxis=us-gaap_SubstandardMember
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_ConsumerPortfolioSegmentMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

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

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

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