XML 60 R49.htm IDEA: XBRL DOCUMENT
v3.20.2

Shareholder's Equity and Stock-Based Compensation - Summary of Stock-Based Compensation Expense Recognized in Statements of Operations Related to All Outstanding Stock Based Compensation Awards (Details) - USD ($) $ in Thousands | 3 Months Ended | 6 Months Ended
--- | --- | ---
Jun. 30, 2020 | Jun. 30, 2019 | Jun. 30, 2020 | Jun. 30, 2019
Employee Service Share Based Compensation Allocation Of Recognized Period Costs [Line Items] |  |  |  |
Total stock-based compensation expense | $ 2,616 | $ 5,385 | $ 8,061 | $ 8,568
Total Direct Costs |  |  |  |
Employee Service Share Based Compensation Allocation Of Recognized Period Costs [Line Items] |  |  |  |
Total stock-based compensation expense | 1,774 | 1,718 | 3,780 | 3,278
Selling, General and Administrative |  |  |  |
Employee Service Share Based Compensation Allocation Of Recognized Period Costs [Line Items] |  |  |  |
Total stock-based compensation expense | $ 842 | $ 3,667 | $ 4,281 | $ 5,290

X
- Definition Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table. + References No definition available. + Details
Name: | us-gaap_EmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount of noncash expense for share-based payment arrangement. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 28 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=121586364&loc=d3e3602-108585 + Details
Name: | us-gaap_ShareBasedCompensation
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Details
Name: | us-gaap_IncomeStatementLocationAxis=medp_TotalDirectCostsMember
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: |