XML 106 R91.htm IDEA: XBRL DOCUMENT
v3.22.4

Long-term Debt - Narrative (Details) $ in Thousands | 3 Months Ended |  |
--- | --- | --- | ---
Mar. 31, 2019 Facility | Dec. 31, 2022 USD ($) | Dec. 31, 2021 USD ($)
Debt Instrument [Line Items] |  |  |
Long-term debt outstanding |  | $ 4,409 | $ 81,270
Number of lease agreement under non-cancelable finance lease | Facility | 1 |  |
FHLB prepayment |  | 6,500 | 0
FHLB |  |  |
Debt Instrument [Line Items] |  |  |
Letter of credit outstanding, amount |  | $ 189,000 | $ 450,900

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 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_DebtInstrumentLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
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 -Publisher FASB -Name Accounting Standards Codification -Topic 942 -SubTopic 210 -Section S99 -Paragraph 1 -Subparagraph (SX 210.9-03.16) -URI https://asc.fasb.org/extlink&oid=126897435&loc=d3e534808-122878 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 942 -SubTopic 470 -Section 50 -Paragraph 2 -URI https://asc.fasb.org/extlink&oid=123599511&loc=d3e64702-112823 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 942 -SubTopic 470 -Section 45 -Paragraph 1 -URI https://asc.fasb.org/extlink&oid=6479118&loc=d3e64650-112822 + 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
- Details
Name: | us-gaap_InvestmentTypeAxis=us-gaap_FederalHomeLoanBankCertificatesAndObligationsFHLBMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |