XML 45 R34.htm IDEA: XBRL DOCUMENT
v3.8.0.1

Fair Value Measurements - Additional Information (Details) - USD ($) | 3 Months Ended
--- | ---
Mar. 31, 2018 | Mar. 31, 2017
Fair Value Disclosures [Abstract] |  |
Fair value measurements transfers between level 1, level 2, or level 3 | $ 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