XML 85 R70.htm IDEA: XBRL DOCUMENT
v3.22.4

Loans and Allowance for Loan Losses - Narrative (Details) $ in Thousands | 12 Months Ended
--- | ---
Dec. 31, 2022 USD ($) Loan contract | Dec. 31, 2021 USD ($) Borrower Loan contract | Dec. 31, 2020 USD ($) contract
Financing Receivable, Allowance for Credit Losses [Line Items] |  |  |
Financing receivable, net | $ 3,495,162 | $ 3,089,799 |
Loans to certain executive officers, directors, and their related interests | 30,700 | 14,700 |
Loans to certain executive officers, directors, and their related interests, new loans and advances | 21,200 |  |
Loans to certain executive officers, directors, and their related interests, Repayments | 5,200 |  |
Foreclosure proceedings in process | 122 | 729 |
Loans and leases receivable, impaired, interest lost on nonaccrual loans | $ 280 | $ 177 | $ 638
Number of Contracts | Loan | 0 | 0 |
Loan modifications to number of borrowers affected by Covid | Borrower |  | 1,000 |
Loans, net of unearned interest | $ 3,514,119 | $ 3,104,396 |
CARES Act |  |  |
Financing Receivable, Allowance for Credit Losses [Line Items] |  |  |
Loans, net of unearned interest | $ 0 | $ 3,600 |
CARES Act | Maximum |  |  |
Financing Receivable, Allowance for Credit Losses [Line Items] |  |  |
Qualifying deferment status percentage of loan portfolio |  | 1.00% |
Entity Loan Modification Program |  |  |
Financing Receivable, Allowance for Credit Losses [Line Items] |  |  |
Number of Contracts | contract | 0 | 0 | 3
PPP Loans | Small Business Administration |  |  |
Financing Receivable, Allowance for Credit Losses [Line Items] |  |  |
Financing receivable, net | $ 2,600 | $ 111,300 |

X
- Definition Loan modifications to number of borrowers affected by covid. + References No definition available. + Details
Name: | mpb_LoanModificationsToNumberOfBorrowersAffectedByCovid
Namespace Prefix: | mpb_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | duration

X
- Definition Qualifying deferment status percentage of loan portfolio. + References No definition available. + Details
Name: | mpb_QualifyingDefermentStatusPercentageOfLoanPortfolio
Namespace Prefix: | mpb_
Data Type: | dtr-types:percentItemType
Balance Type: | na
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_FinancingReceivableAllowanceForCreditLossesLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amortized cost excluding accrued interest, after allowance for credit loss, of financing receivable. Excludes net investment in lease. + References Reference 1: 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 + Details
Name: | us-gaap_FinancingReceivableExcludingAccruedInterestAfterAllowanceForCreditLoss
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

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 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 https://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 Reflects the amount of additional interest income that would have been recorded if impaired or nonperforming loans were instead current, in compliance with their original terms, and outstanding throughout the reporting period or since origination (if held for part of the period). + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 310 -SubTopic 40 -Section 50 -Paragraph 1 -URI https://asc.fasb.org/extlink&oid=121585226&loc=d3e18794-111554 + Details
Name: | us-gaap_LoansAndLeasesReceivableImpairedInterestLostOnNonaccrualLoans
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition For an unclassified balance sheet, reflects the carrying amount of unpaid loan amounts due from related parties at the balance sheet date. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 850 -SubTopic 10 -Section 50 -Paragraph 1 -Subparagraph (d) -URI https://asc.fasb.org/extlink&oid=6457730&loc=d3e39549-107864 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(e)) -URI https://asc.fasb.org/extlink&oid=126897435&loc=d3e534808-122878 + Details
Name: | us-gaap_LoansAndLeasesReceivableRelatedParties
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Reflects the amount of new advances made to related parties in the form of loan and lease receivables. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 850 -SubTopic 10 -Section 50 -Paragraph 1 -Subparagraph (d) -URI https://asc.fasb.org/extlink&oid=6457730&loc=d3e39549-107864 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(e)) -URI https://asc.fasb.org/extlink&oid=126897435&loc=d3e534808-122878 + Details
Name: | us-gaap_LoansAndLeasesReceivableRelatedPartiesAdditions
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Amount of cash inflow from related parties which reduce the amount of loans and leases receivable due from related parties. + 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(7)(e)(1)(i)) -URI https://asc.fasb.org/extlink&oid=126897435&loc=d3e534808-122878 Reference 2: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 12 -Subparagraph (a) -URI https://asc.fasb.org/extlink&oid=126954810&loc=d3e3179-108585 + Details
Name: | us-gaap_LoansAndLeasesReceivableRelatedPartiesProceeds
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
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 https://asc.fasb.org/extlink&oid=123577603&loc=SL49126937-111524 + Details
Name: | us-gaap_MortgageLoansInProcessOfForeclosureAmount
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Details
Name: | us-gaap_UnusualRiskOrUncertaintyByNatureAxis=mpb_CARESActMember
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_LoanRestructuringModificationNameAxis=us-gaap_EntityLoanModificationProgramMember
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: | us-gaap_FinancingReceivablePortfolioSegmentAxis=mpb_SmallBusinessAdministrationMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |