XML 111 R87.htm IDEA: XBRL DOCUMENT
v3.24.1

Long-term Debt - Narrative (Details) $ in Thousands | 3 Months Ended |  |
--- | --- | --- | ---
Mar. 31, 2019 Facility | Dec. 31, 2023 USD ($) | Dec. 31, 2022 USD ($)
Maturities of Long-Term Debt [Abstract] |  |  |
FHLB prepayment |  | $ 0 | $ 6,500
Long-term debt outstanding |  | 59,003 | 4,409
Letter of credit outstanding, amount |  | $ 153,500 | $ 189,000
Number of lease agreement under non-cancelable finance lease | Facility | 1 |  |

X
- Definition Federal home loan bank advances prepayment + References No definition available. + Details
Name: | mpb_FederalHomeLoanBankAdvancesPrepayment
Namespace Prefix: | mpb_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Number of lease agreement under non cancelable finance lease. + References No definition available. + Details
Name: | mpb_NumberOfLeaseAgreementUnderNonCancelableFinanceLease
Namespace Prefix: | mpb_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | duration

X
- Definition Including both current and noncurrent portions, Federal Home Loan Bank borrowings initially due beyond one year or beyond the normal operating cycle if longer. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 942 -SubTopic 470 -Name Accounting Standards Codification -Section 45 -Paragraph 1 -Publisher FASB -URI https://asc.fasb.org//1943274/2147480876/942-470-45-1 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Topic 942 -SubTopic 210 -Section S99 -Paragraph 1 -Subparagraph (SX 210.9-03.16) -Publisher FASB -URI https://asc.fasb.org//1943274/2147479853/942-210-S99-1 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Topic 942 -SubTopic 470 -Section 50 -Paragraph 2 -Publisher FASB -URI https://asc.fasb.org//1943274/2147480848/942-470-50-2 + Details
Name: | us-gaap_FederalHomeLoanBankAdvancesLongTerm
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition The total amount of the contingent obligation under letters of credit outstanding as of the reporting date. + References No definition available. + Details
Name: | us-gaap_LettersOfCreditOutstandingAmount
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

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