XML 44 R33.htm IDEA: XBRL DOCUMENT
v3.20.2

Fair Value Measurements - Additional Information (Details) - USD ($) | 3 Months Ended | 6 Months Ended
--- | --- | ---
Jun. 30, 2020 | Jun. 30, 2019 | Jun. 30, 2020 | Jun. 30, 2019
Fair Value Disclosures [Abstract] |  |  |  |
Fair value measurements transfers between level 1, level 2 or level 3 | $ 0 | $ 0 | $ 0 | $ 0

X
- Definition Fair value assets transfers between level 1, level 2 and level 3. + References No definition available. + Details
Name: | medp_FairValueAssetsTransfersBetweenLevel1Level2AndLevel3
Namespace Prefix: | medp_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

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