XML 50 R52.htm IDEA: XBRL DOCUMENT
v3.20.1

Related Party Transactions - Additional Information (Details) $ in Thousands | 3 Months Ended | 12 Months Ended |
--- | --- | --- | ---
Mar. 31, 2020 USD ($) RenewalOption Agreement Building | Mar. 31, 2019 USD ($) | Dec. 31, 2018 RenewalOption | Dec. 31, 2019 USD ($)
Related Party Transaction [Line Items] |  |  |  |
Advanced billings | $ 1,100 |  |  | $ 3,000
Accounts receivable and unbilled, net | 2,800 |  |  | 1,900
Operating lease cost | 3,768 | $ 3,117 |  |
Operating lease right-of-use assets | 58,667 | 52,152 |  | 52,152
Current portion of lease liability | 12,556 | 10,977 |  |
Long-term portion of lease liabilities | 51,395 | 45,212 |  | 45,212
Employee Loans | Prepaid Expenses and Other Current Assets and Other Assets |  |  |  |
Related Party Transaction [Line Items] |  |  |  |
Employee advances receivables | 200 |  |  | 200
Service Agreements | Cymabay |  |  |  |
Related Party Transaction [Line Items] |  |  |  |
Advanced billings |  |  |  | 1,600
Accounts receivable and unbilled, net |  |  |  | 1,400
Service Agreements | Cymabay | Revenue Net |  |  |  |
Related Party Transaction [Line Items] |  |  |  |
Revenue with related parties |  | 3,100 |  |
Service Agreements | LIB |  |  |  |
Related Party Transaction [Line Items] |  |  |  |
Advanced billings | 400 |  |  | 500
Accounts receivable and unbilled, net | 600 |  |  | 300
Service Agreements | LIB | Revenue Net |  |  |  |
Related Party Transaction [Line Items] |  |  |  |
Revenue with related parties | 1,000 | 700 |  |
Service Agreements | CinRx Pharma and Subsidiaries |  |  |  |
Related Party Transaction [Line Items] |  |  |  |
Advanced billings | 700 |  |  | 900
Accounts receivable and unbilled, net | 2,200 |  |  | 200
Service Agreements | CinRx Pharma and Subsidiaries | Revenue Net |  |  |  |
Related Party Transaction [Line Items] |  |  |  |
Revenue with related parties | 4,400 | 1,400 |  |
Service Agreements | The Summit |  |  |  |
Related Party Transaction [Line Items] |  |  |  |
Expenses incurred | $ 200 | 100 |  |
Leased Real Estate | Chief Executive Officer |  |  |  |
Related Party Transaction [Line Items] |  |  |  |
Term of lease | 12 years |  |  |
Lease expiration period | 2022-11 |  |  |
Number of lease renewal, 10-year option | RenewalOption | 1 |  |  |
Lease term upon renewal | 10 years |  |  |
Leased Real Estate | Chief Executive Officer | Direct Costs and Selling, General And Administrative |  |  |  |
Related Party Transaction [Line Items] |  |  |  |
Operating lease cost | $ 500 | 500 |  |
Leased Real Estate | Chief Executive Officer And Immediate Family |  |  |  |
Related Party Transaction [Line Items] |  |  |  |
Number of lease renewal, 10-year option | RenewalOption | 1 |  | 2 |
Lease term upon renewal | 10 years |  | 10 years |
Lease expiration year | 2027 |  | 2040 |
Number of lease agreements | Agreement | 2 |  |  |
Number of buildings | Building | 2 |  |  |
Lease occupancy year | 2012 |  |  |
Leased Real Estate | Chief Executive Officer And Immediate Family | Direct Costs and Selling, General And Administrative |  |  |  |
Related Party Transaction [Line Items] |  |  |  |
Operating lease cost | $ 900 | 900 |  |
Leased Real Estate | Operating Lease Right-of-Use Assets | Chief Executive Officer |  |  |  |
Related Party Transaction [Line Items] |  |  |  |
Operating lease right-of-use assets | 4,800 |  |  | 5,300
Leased Real Estate | Operating Lease Right-of-Use Assets | Chief Executive Officer And Immediate Family |  |  |  |
Related Party Transaction [Line Items] |  |  |  |
Operating lease right-of-use assets | 21,400 |  |  | 21,900
Leased Real Estate | Other Current Liabilities | Chief Executive Officer |  |  |  |
Related Party Transaction [Line Items] |  |  |  |
Current portion of lease liability | 1,800 |  |  | 1,800
Leased Real Estate | Other Current Liabilities | Chief Executive Officer And Immediate Family |  |  |  |
Related Party Transaction [Line Items] |  |  |  |
Current portion of lease liability | 2,300 |  |  | 2,300
Leased Real Estate | Operating Lease Liabilities | Chief Executive Officer |  |  |  |
Related Party Transaction [Line Items] |  |  |  |
Long-term portion of lease liabilities | 3,000 |  |  | 3,500
Leased Real Estate | Operating Lease Liabilities | Chief Executive Officer And Immediate Family |  |  |  |
Related Party Transaction [Line Items] |  |  |  |
Long-term portion of lease liabilities | 19,100 |  |  | $ 19,700
Travel Services | Chief Executive Officer |  |  |  |
Related Party Transaction [Line Items] |  |  |  |
Travel expenses with related party | $ 200 | $ 300 |  |

X
- Definition Accounts receivable and unbilled, related parties, current. + References No definition available. + Details
Name: | medp_AccountsReceivableAndUnbilledRelatedPartiesCurrent
Namespace Prefix: | medp_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Contract with customer, liability, current with related parties. + References No definition available. + Details
Name: | medp_ContractWithCustomerLiabilityCurrentWithRelatedParties
Namespace Prefix: | medp_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Lease expiration month and year. + References No definition available. + Details
Name: | medp_LeaseExpirationMonthAndYear
Namespace Prefix: | medp_
Data Type: | xbrli:gYearMonthItemType
Balance Type: | na
Period Type: | duration

X
- Definition Lease expiration year. + References No definition available. + Details
Name: | medp_LeaseExpirationYear
Namespace Prefix: | medp_
Data Type: | xbrli:gYearItemType
Balance Type: | na
Period Type: | duration

X
- Definition Lease occupancy year. + References No definition available. + Details
Name: | medp_LeaseOccupancyYear
Namespace Prefix: | medp_
Data Type: | xbrli:gYearItemType
Balance Type: | na
Period Type: | duration

X
- Definition Number of buildings. + References No definition available. + Details
Name: | medp_NumberOfBuilding
Namespace Prefix: | medp_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | duration

X
- Definition Number of lease agreements. + References No definition available. + Details
Name: | medp_NumberOfLeaseAgreements
Namespace Prefix: | medp_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | duration

X
- Definition Number of lease renewal options. + References No definition available. + Details
Name: | medp_NumberOfLeaseRenewalOptions
Namespace Prefix: | medp_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | duration

X
- Definition For an unclassified balance sheet, amounts due from an Entity employee, not to include stockholders or officers. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 235 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.4-08.(k)(1)) -URI http://asc.fasb.org/extlink&oid=26873400&loc=d3e23780-122690 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 850 -SubTopic 10 -Section 50 -Paragraph 2 -URI http://asc.fasb.org/extlink&oid=6457730&loc=d3e39599-107864 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 944 -SubTopic 210 -Section S99 -Paragraph 1 -Subparagraph (SX 210.7-03.3) -URI http://asc.fasb.org/extlink&oid=119400593&loc=d3e572229-122910 Reference 4: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 850 -SubTopic 10 -Section 50 -Paragraph 1 -Subparagraph (d) -URI http://asc.fasb.org/extlink&oid=6457730&loc=d3e39549-107864 + Details
Name: | us-gaap_DueFromEmployees
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Term of lessee's operating lease renewal, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents reported fact of one year, five months, and thirteen days. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 842 -SubTopic 20 -Section 50 -Paragraph 3 -Subparagraph (a)(3) -URI http://asc.fasb.org/extlink&oid=77888426&loc=SL77918673-209980 + Details
Name: | us-gaap_LesseeOperatingLeaseRenewalTerm
Namespace Prefix: | us-gaap_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | instant

X
- Definition Term of lessee's operating lease, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents reported fact of one year, five months, and thirteen days. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 842 -SubTopic 20 -Section 50 -Paragraph 3 -Subparagraph (a)(3) -URI http://asc.fasb.org/extlink&oid=77888426&loc=SL77918673-209980 + Details
Name: | us-gaap_LesseeOperatingLeaseTermOfContract
Namespace Prefix: | us-gaap_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | instant

X
- Definition Amount of single lease cost, calculated by allocation of remaining cost of lease over remaining lease term. Includes, but is not limited to, single lease cost, after impairment of right-of-use asset, calculated by amortization of remaining right-of-use asset and accretion of lease liability. + References Reference 1: http://www.xbrl.org/2003/role/exampleRef -Publisher FASB -Name Accounting Standards Codification -Topic 842 -SubTopic 20 -Section 55 -Paragraph 53 -URI http://asc.fasb.org/extlink&oid=77888399&loc=SL77918982-209971 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 842 -SubTopic 20 -Section 50 -Paragraph 4 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=77888426&loc=SL77918686-209980 + Details
Name: | us-gaap_OperatingLeaseCost
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Present value of lessee's discounted obligation for lease payments from operating lease, classified as current. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 842 -SubTopic 20 -Section 45 -Paragraph 1 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=77888419&loc=SL77918627-209977 + Details
Name: | us-gaap_OperatingLeaseLiabilityCurrent
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Present value of lessee's discounted obligation for lease payments from operating lease, classified as noncurrent. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 842 -SubTopic 20 -Section 45 -Paragraph 1 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=77888419&loc=SL77918627-209977 + Details
Name: | us-gaap_OperatingLeaseLiabilityNoncurrent
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount of lessee's right to use underlying asset under operating lease. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 842 -SubTopic 20 -Section 45 -Paragraph 1 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=77888419&loc=SL77918627-209977 + Details
Name: | us-gaap_OperatingLeaseRightOfUseAsset
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Expenses recognized resulting from transactions (excluding transactions that are eliminated in consolidated or combined financial statements) with related party. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 850 -SubTopic 10 -Section 50 -Paragraph 1 -Subparagraph (c) -URI http://asc.fasb.org/extlink&oid=6457730&loc=d3e39549-107864 + Details
Name: | us-gaap_RelatedPartyTransactionExpensesFromTransactionsWithRelatedParty
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

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_RelatedPartyTransactionLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount of revenue, fees and commissions earned from transactions between (a) a parent company and its subsidiaries; (b) subsidiaries of a common parent; (c) an entity and trusts for the benefit of employees, for example, but not limited to, pension and profit-sharing trusts that are managed by or under the trusteeship of the entity's management; (d) an entity and its principal, owners, management, or members of their immediate families; and (e) affiliates. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 946 -SubTopic 220 -Section S99 -Paragraph 1 -Subparagraph (SX 210.6-07.1(c)) -URI http://asc.fasb.org/extlink&oid=116637345&loc=SL114874292-224272 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 220 -SubTopic 10 -Section S99 -Paragraph 2 -Subparagraph (SX 210.5-03.1(e)) -URI http://asc.fasb.org/extlink&oid=116634182&loc=SL114868664-224227 + Details
Name: | us-gaap_RevenueFromRelatedParties
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Expenses incurred for travel and entertainment during the period. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 220 -SubTopic 10 -Section S99 -Paragraph 2 -Subparagraph (SX 210.5-03.4) -URI http://asc.fasb.org/extlink&oid=116634182&loc=SL114868664-224227 + Details
Name: | us-gaap_TravelAndEntertainmentExpense
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Details
Name: | us-gaap_RelatedPartyTransactionAxis=medp_EmployeeLoansMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_BalanceSheetLocationAxis=medp_PrepaidExpensesAndOtherCurrentAssetsAndOtherAssetsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_RelatedPartyTransactionAxis=medp_RelatedPartyServiceAgreementsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_RelatedPartyTransactionsByRelatedPartyAxis=medp_CymabayTherapeuticsCompanyMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_IncomeStatementLocationAxis=medp_RevenueNetMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_RelatedPartyTransactionsByRelatedPartyAxis=medp_LIBTherapeuticsLLCAndSubsidiariesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_RelatedPartyTransactionsByRelatedPartyAxis=medp_CinRxPharmaAndSubsidiariesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_RelatedPartyTransactionsByRelatedPartyAxis=medp_SummitaDolceHotelMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_RelatedPartyTransactionAxis=medp_LeasedRealEstateMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_RelatedPartyTransactionsByRelatedPartyAxis=srt_ChiefExecutiveOfficerMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_IncomeStatementLocationAxis=medp_DirectCostsAndSellingGeneralAndAdministrativeMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_RelatedPartyTransactionsByRelatedPartyAxis=medp_ChiefExecutiveOfficerAndImmediateFamilyMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_BalanceSheetLocationAxis=medp_OperatingLeaseRightOfUseAssetsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_BalanceSheetLocationAxis=us-gaap_OtherCurrentLiabilitiesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_BalanceSheetLocationAxis=medp_OperatingLeaseLiabilitiesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_RelatedPartyTransactionAxis=medp_TravelServicesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |