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

INCOME TAXES - Narrative (Details) - USD ($) $ in Millions | 12 Months Ended |
--- | --- | ---
Dec. 31, 2023 | Dec. 31, 2022
Income Tax Disclosure [Line Items] |  |
Amount of undistributed earnings of foreign subsidiaries for which deferred foreign withholding taxes not recorded | $ 59.2 |
Liability for interest and penalties | 5.2 | $ 3.8
Liability for uncertain tax position | $ 16.2 | $ 12.7
Number of tax years | 4 years |
Foreign, State and Local Jurisdictions | Earliest Tax Year |  |
Income Tax Disclosure [Line Items] |  |
Open tax year | 2019 |
Foreign, State and Local Jurisdictions | Latest Tax Year |  |
Income Tax Disclosure [Line Items] |  |
Open tax year | 2023 |
Federal | Earliest Tax Year |  |
Income Tax Disclosure [Line Items] |  |
Open tax year | 2020 |
Federal | Latest Tax Year |  |
Income Tax Disclosure [Line Items] |  |
Open tax year | 2023 |

X
- Definition Income tax disclosure. + References No definition available. + Details
Name: | medp_IncomeTaxDisclosureLineItems
Namespace Prefix: | medp_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Number of tax years. + References No definition available. + Details
Name: | medp_NumberOfTaxPeriodsSubjectToAudit
Namespace Prefix: | medp_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition The amount of estimated penalties and interest accrued as of the balance sheet date arising from income tax examinations. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 740 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 15 -Subparagraph (c) -Publisher FASB -URI https://asc.fasb.org//1943274/2147482685/740-10-50-15 + Details
Name: | us-gaap_IncomeTaxExaminationPenaltiesAndInterestAccrued
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount recognized for uncertainty in income taxes classified as noncurrent. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02.24) -Publisher FASB -URI https://asc.fasb.org//1943274/2147480566/210-10-S99-1 + Details
Name: | us-gaap_LiabilityForUncertainTaxPositionsNoncurrent
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Tax year that remains open to examination under enacted tax laws, in YYYY format. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 740 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 15 -Subparagraph (e) -Publisher FASB -URI https://asc.fasb.org//1943274/2147482685/740-10-50-15 + Details
Name: | us-gaap_OpenTaxYear
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:gYearListItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount of undistributed earnings of foreign subsidiaries intended to be permanently reinvested outside the country of domicile. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 740 -SubTopic 30 -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org//1943274/2147482603/740-30-50-2 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 740 -SubTopic 10 -Name Accounting Standards Codification -Section 25 -Paragraph 3 -Subparagraph (a)(1) -Publisher FASB -URI https://asc.fasb.org//1943274/2147482620/740-10-25-3 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Section 50 -Paragraph 1 -Subparagraph (b) -SubTopic 740 -Topic 942 -Publisher FASB -URI https://asc.fasb.org//1943274/2147481141/942-740-50-1 Reference 4: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Section 50 -Paragraph 1 -Subparagraph (b) -SubTopic 740 -Topic 944 -Publisher FASB -URI https://asc.fasb.org//1943274/2147480135/944-740-50-1 + Details
Name: | us-gaap_UndistributedEarningsOfForeignSubsidiaries
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Details
Name: | us-gaap_IncomeTaxAuthorityAxis=medp_ForeignCountryStateAndLocalJurisdictionMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_TaxPeriodAxis=us-gaap_EarliestTaxYearMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_TaxPeriodAxis=us-gaap_LatestTaxYearMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_IncomeTaxAuthorityAxis=us-gaap_DomesticCountryMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |