XML 41 R30.htm IDEA: XBRL DOCUMENT
v3.20.2

Basis of Presentation - Additional Information (Details) - USD ($) | 3 Months Ended | 6 Months Ended |  |
--- | --- | --- | --- | ---
Jun. 30, 2020 | Jun. 30, 2020 | Jun. 30, 2019 | Mar. 31, 2020 | Mar. 31, 2018
Basis Of Presentation [Line Items] |  |  |  |  |
Repurchases of shares, value |  | $ 50,827,000 | $ 0 |  |
Share Repurchase Program |  |  |  |  |
Basis Of Presentation [Line Items] |  |  |  |  |
Stock repurchase program, authorized amount |  |  |  | $ 100,000,000.0 |
Stock repurchase program, additional amount authorized |  |  |  | $ 50,000,000.0 |
Repurchases of shares | 110,488 | 772,125 |  |  |
Repurchases of shares, value | $ 7,600,000 | $ 50,800,000 |  |  |
Remaining amount of repurchase program | $ 49,200,000 | $ 49,200,000 |  |  |
Share Repurchase Program | Maximum |  |  |  |  |
Basis Of Presentation [Line Items] |  |  |  |  |
Stock repurchase program, authorized amount |  |  |  |  | $ 50,000,000.0

X
- Definition Basis of Presentation. + References No definition available. + Details
Name: | medp_BasisOfPresentationLineItems
Namespace Prefix: | medp_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Stock repurchase program additional amount authorized. + References No definition available. + Details
Name: | medp_StockRepurchaseProgramAdditionalAmountAuthorized
Namespace Prefix: | medp_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition The cash outflow to reacquire common stock during the period. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 15 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=121586364&loc=d3e3291-108585 + Details
Name: | us-gaap_PaymentsForRepurchaseOfCommonStock
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Amount of stock repurchase plan authorized. + References No definition available. + Details
Name: | us-gaap_StockRepurchaseProgramAuthorizedAmount1
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount remaining of a stock repurchase plan authorized. + References No definition available. + Details
Name: | us-gaap_StockRepurchaseProgramRemainingAuthorizedRepurchaseAmount1
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Number of shares that have been repurchased and retired during the period. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(28)) -URI http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 505 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.3-04) -URI http://asc.fasb.org/extlink&oid=120397183&loc=d3e187085-122770 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(29)) -URI http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682 Reference 4: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 505 -SubTopic 10 -Section 50 -Paragraph 2 -URI http://asc.fasb.org/extlink&oid=109259400&loc=d3e21463-112644 + Details
Name: | us-gaap_StockRepurchasedAndRetiredDuringPeriodShares
Namespace Prefix: | us-gaap_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | us-gaap_ShareRepurchaseProgramAxis=medp_ShareRepurchaseProgramMember
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: |