XML 55 R40.htm IDEA: XBRL DOCUMENT
v3.24.0.1

SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES - Narrative (Details) shares in Thousands, $ in Thousands | 12 Months Ended
--- | ---
Dec. 31, 2023 USD ($) customer shares | Dec. 31, 2022 USD ($) customer shares | Dec. 31, 2021 USD ($) shares
Summary Of Significant Accounting Policies [Line Items] |  |  |
Net gain (loss) on foreign currency transaction | $ (1,929) | $ 3,859 | $ 2,779
Sales rebates | 12,100 | 7,900 | $ 7,200
Performance obligations remaining to be performed | $ 2,900,000 | $ 2,700,000 |
Number of customers accounted for more than 10% of accounts receivable | customer | 0 | 0 |
Government assistance, amount | $ 15,500 | $ 15,400 |
Government Assistance, Statement of Income or Comprehensive Income [Extensible Enumeration] | Direct operating costs, Selling, general and administrative |  |
Prepaid Expenses and Other Current Assets |  |  |
Summary Of Significant Accounting Policies [Line Items] |  |  |
Government assistance, amount | $ 9,500 | 11,300 |
Other Assets |  |  |
Summary Of Significant Accounting Policies [Line Items] |  |  |
Government assistance, amount | $ 12,200 | $ 7,100 |
Maximum |  |  |
Summary Of Significant Accounting Policies [Line Items] |  |  |
Estimated useful life of finite-lived intangible assets | 15 years |  |
Maximum | 2016 Incentive Award Plan |  |  |
Summary Of Significant Accounting Policies [Line Items] |  |  |
Share-based compensation option terms | 10 years |  |
Maximum | Computer Hardware Software Phone and Medical Imaging Equipment |  |  |
Summary Of Significant Accounting Policies [Line Items] |  |  |
Estimated useful life of property and equipment | 5 years |  |
Maximum | Furniture and Fixtures and Other Equipment |  |  |
Summary Of Significant Accounting Policies [Line Items] |  |  |
Estimated useful life of property and equipment | 7 years |  |
Maximum | Buildings |  |  |
Summary Of Significant Accounting Policies [Line Items] |  |  |
Estimated useful life of property and equipment | 40 years |  |
Maximum | Computer Software Developed Costs |  |  |
Summary Of Significant Accounting Policies [Line Items] |  |  |
Estimated useful life of property and equipment | 3 years |  |
Minimum | Computer Hardware Software Phone and Medical Imaging Equipment |  |  |
Summary Of Significant Accounting Policies [Line Items] |  |  |
Estimated useful life of property and equipment | 3 years |  |
Minimum | Furniture and Fixtures and Other Equipment |  |  |
Summary Of Significant Accounting Policies [Line Items] |  |  |
Estimated useful life of property and equipment | 5 years |  |
Minimum | Buildings |  |  |
Summary Of Significant Accounting Policies [Line Items] |  |  |
Estimated useful life of property and equipment | 30 years |  |
Stock options |  |  |
Summary Of Significant Accounting Policies [Line Items] |  |  |
Anti-dilutive securities excluded from computation of diluted EPS (in shares) | shares | 0 | 9 | 9
Selling, general, and administrative |  |  |
Summary Of Significant Accounting Policies [Line Items] |  |  |
Advertisement expenses | $ 1,500 | $ 1,300 | $ 1,200

X
- Definition Number of customers accounted for more than ten percent of accounts receivable. + References No definition available. + Details
Name: | medp_NumberOfCustomersAccountedForMoreThanTenPercentOfAccountsReceivable
Namespace Prefix: | medp_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | instant

X
- Definition Sales rebates on revenues. + References No definition available. + Details
Name: | medp_SalesRebatesOnRevenues
Namespace Prefix: | medp_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Summary of significant accounting policies line items. + References No definition available. + Details
Name: | medp_SummaryOfSignificantAccountingPoliciesLineItems
Namespace Prefix: | medp_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount charged to advertising expense for the period, which are expenses incurred with the objective of increasing revenue for a specified brand, product or product line. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 720 -SubTopic 35 -Name Accounting Standards Codification -Section 50 -Paragraph 1 -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org//1943274/2147483406/720-35-50-1 + Details
Name: | us-gaap_AdvertisingExpense
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Securities (including those issuable pursuant to contingent stock agreements) that could potentially dilute basic earnings per share (EPS) or earnings per unit (EPU) in the future that were not included in the computation of diluted EPS or EPU because to do so would increase EPS or EPU amounts or decrease loss per share or unit amounts for the period presented. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 260 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 1 -Subparagraph (c) -Publisher FASB -URI https://asc.fasb.org//1943274/2147482662/260-10-50-1 + Details
Name: | us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmount
Namespace Prefix: | us-gaap_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | duration

X
- Definition Useful life of finite-lived intangible assets, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents the reported fact of one year, five months, and thirteen days. + References No definition available. + Details
Name: | us-gaap_FiniteLivedIntangibleAssetUsefulLife
Namespace Prefix: | us-gaap_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | instant

X
- Definition Amount, before tax, of realized gain (loss) from foreign currency transaction. + References Reference 1: http://www.xbrl.org/2003/role/exampleRef -Topic 946 -SubTopic 830 -Name Accounting Standards Codification -Section 55 -Paragraph 10 -Publisher FASB -URI https://asc.fasb.org//1943274/2147480167/946-830-55-10 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 220 -Name Accounting Standards Codification -Section 45 -Paragraph 6 -Subparagraph (a)(2) -Publisher FASB -URI https://asc.fasb.org//1943274/2147483581/946-220-45-6 Reference 3: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 946 -SubTopic 220 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.6-07(7)(a)) -Publisher FASB -URI https://asc.fasb.org//1943274/2147483575/946-220-S99-1 Reference 4: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 830 -SubTopic 20 -Name Accounting Standards Codification -Section 45 -Paragraph 1 -Publisher FASB -URI https://asc.fasb.org//1943274/2147481956/830-20-45-1 Reference 5: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 830 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1 -Publisher FASB -URI https://asc.fasb.org//1943274/2147481926/830-20-50-1 + Details
Name: | us-gaap_ForeignCurrencyTransactionGainLossRealized
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Amount of government assistance recognized. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 832 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 3 -Subparagraph (c) -Publisher FASB -URI https://asc.fasb.org//1943274/2147483507/832-10-50-3 + Details
Name: | us-gaap_GovernmentAssistanceAmount
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Indicates line item in statement of income or comprehensive income that includes government assistance. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 832 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 3 -Subparagraph (c) -Publisher FASB -URI https://asc.fasb.org//1943274/2147483507/832-10-50-3 + Details
Name: | us-gaap_GovernmentAssistanceStatementOfIncomeOrComprehensiveIncomeExtensibleEnumeration
Namespace Prefix: | us-gaap_
Data Type: | enum2:enumerationSetItemType
Balance Type: | na
Period Type: | duration

X
- Definition Useful life of long lived, physical assets used in the normal conduct of business and not intended for resale, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents the reported fact of one year, five months, and thirteen days. Examples include, but not limited to, land, buildings, machinery and equipment, office equipment, furniture and fixtures, and computer equipment. + References No definition available. + Details
Name: | us-gaap_PropertyPlantAndEquipmentUsefulLife
Namespace Prefix: | us-gaap_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | instant

X
- Definition Amount of transaction price allocated to performance obligation that has not been recognized as revenue. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name Accounting Standards Codification -Section 50 -Paragraph 13 -Subparagraph (a) -SubTopic 10 -Topic 606 -Publisher FASB -URI https://asc.fasb.org//1943274/2147479806/606-10-50-13 + Details
Name: | us-gaap_RevenueRemainingPerformanceObligation
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Period from grant date that an equity-based award expires, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents the reported fact of one year, five months, and thirteen days. + References Reference 1: http://www.xbrl.org/2003/role/exampleRef -Topic 718 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Subparagraph (a)(2) -Publisher FASB -URI https://asc.fasb.org//1943274/2147480429/718-10-50-2 + Details
Name: | us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardExpirationPeriod
Namespace Prefix: | us-gaap_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | us-gaap_BalanceSheetLocationAxis=us-gaap_PrepaidExpensesAndOtherCurrentAssetsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_BalanceSheetLocationAxis=us-gaap_OtherAssetsMember
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_PlanNameAxis=medp_TwoThousandSixteenIncentiveAwardPlanMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_PropertyPlantAndEquipmentByTypeAxis=medp_ComputerHardwareSoftwarePhoneAndMedicalImagingEquipmentMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_PropertyPlantAndEquipmentByTypeAxis=medp_FurnitureAndFixturesAndOtherEquipmentMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_PropertyPlantAndEquipmentByTypeAxis=us-gaap_BuildingMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_PropertyPlantAndEquipmentByTypeAxis=us-gaap_SoftwareAndSoftwareDevelopmentCostsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_RangeAxis=srt_MinimumMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis=us-gaap_EmployeeStockOptionMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_IncomeStatementLocationAxis=us-gaap_SellingGeneralAndAdministrativeExpensesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |