XML 34 R10.htm IDEA: XBRL DOCUMENT
v3.25.0.1

Consolidated Statements of Cash Flows (Parenthetical) $ in Thousands | 12 Months Ended
--- | ---
Dec. 31, 2022 USD ($) shares
Statement of Cash Flows [Abstract] |
Restricted stock shares paid out in cash (in shares) | shares | 2,500
Payment of financing and stock issuance costs | $ | $ 776

X
- Definition Restricted stock shares paid out in cash. + References No definition available. + Details
Name: | mpb_RestrictedStockSharesPaidOutInCash
Namespace Prefix: | mpb_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | duration

X
- Definition The total of the cash outflow during the period which has been paid to third parties in connection with debt origination, which will be amortized over the remaining maturity period of the associated long-term debt and the cost incurred directly for the issuance of equity securities. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 15 -Publisher FASB -URI https://asc.fasb.org/1943274/2147482740/230-10-45-15 + Details
Name: | us-gaap_PaymentOfFinancingAndStockIssuanceCosts
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- References No definition available. + Details
Name: | us-gaap_StatementOfCashFlowsAbstract
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration