XML 63 R52.htm IDEA: XBRL DOCUMENT
v3.20.2

Related Party Transactions - Additional Information (Details) $ in Thousands | 3 Months Ended | 6 Months Ended | 12 Months Ended |
--- | --- | --- | --- | ---
Jun. 30, 2020 USD ($) | Jun. 30, 2019 USD ($) | Jun. 30, 2020 USD ($) RenewalOption Agreement Building | Jun. 30, 2019 USD ($) | Dec. 31, 2018 RenewalOption Agreement | Dec. 31, 2019 USD ($)
Related Party Transaction [Line Items] |  |  |  |  |  |
Advanced billings | $ 1,600 |  | $ 1,600 |  |  | $ 3,000
Accounts receivable and unbilled, net | 2,500 |  | 2,500 |  |  | 1,900
Operating lease cost | 4,871 | $ 3,220 | 8,639 | $ 6,337 |  |
Operating lease right-of-use assets | 113,566 |  | 113,566 |  |  | 52,152
Current portion of lease liability | 13,950 |  | 13,950 |  |  | 10,977
Long-term portion of lease liabilities | 114,984 |  | 114,984 |  |  | 45,212
Employee Loans | Prepaid Expenses and Other Current Assets and Other Assets |  |  |  |  |  |
Related Party Transaction [Line Items] |  |  |  |  |  |
Employee advances receivables | 200 |  | 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 |  | 2,800 |  | 5,900 |  |
Service Agreements | LIB |  |  |  |  |  |
Related Party Transaction [Line Items] |  |  |  |  |  |
Advanced billings | 800 |  | 800 |  |  | 500
Accounts receivable and unbilled, net | 1,100 |  | 1,100 |  |  | 300
Service Agreements | LIB | Revenue Net |  |  |  |  |  |
Related Party Transaction [Line Items] |  |  |  |  |  |
Revenue with related parties | 400 | 300 | 1,400 | 1,000 |  |
Service Agreements | CinRx Pharma and Subsidiaries |  |  |  |  |  |
Related Party Transaction [Line Items] |  |  |  |  |  |
Advanced billings | 800 |  | 800 |  |  | 900
Accounts receivable and unbilled, net | 1,300 |  | 1,300 |  |  | 200
Service Agreements | CinRx Pharma and Subsidiaries | Revenue Net |  |  |  |  |  |
Related Party Transaction [Line Items] |  |  |  |  |  |
Revenue with related parties | 2,400 | 900 | 6,800 | 2,300 |  |
Service Agreements | The Summit |  |  |  |  |  |
Related Party Transaction [Line Items] |  |  |  |  |  |
Expenses incurred |  |  | $ 200 | 300 |  |
Service Agreements | The Summit | Maximum |  |  |  |  |  |
Related Party Transaction [Line Items] |  |  |  |  |  |
Expenses incurred | $ 100 | 200 |  |  |  |
Leased Real Estate | Chief Executive Officer |  |  |  |  |  |
Related Party Transaction [Line Items] |  |  |  |  |  |
Term of lease | 12 years |  | 12 years |  |  |
Lease expiration period |  |  | 2022-11 |  |  |
Number of lease renewal, 10-year option | RenewalOption |  |  | 1 |  |  |
Lease term upon renewal | 10 years |  | 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 | $ 1,000 | 1,000 |  |
Leased Real Estate | Chief Executive Officer And Immediate Family | Office Space |  |  |  |  |  |
Related Party Transaction [Line Items] |  |  |  |  |  |
Number of lease renewal, 10-year option | RenewalOption |  |  |  |  | 2 |
Lease term upon renewal |  |  |  |  | 10 years |
Lease expiration year |  |  |  |  | 2040 |
Number of lease agreements | Agreement |  |  |  |  | 1 |
Leased Real Estate | Chief Executive Officer And Immediate Family | Building |  |  |  |  |  |
Related Party Transaction [Line Items] |  |  |  |  |  |
Number of lease renewal, 10-year option | RenewalOption |  |  | 1 |  |  |
Lease term upon renewal | 10 years |  | 10 years |  |  |
Lease expiration year |  |  | 2027 |  |  |
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 | Office Space |  |  |  |  |  |
Related Party Transaction [Line Items] |  |  |  |  |  |
Operating lease cost | $ 900 |  | $ 900 |  |  |
Leased Real Estate | Chief Executive Officer And Immediate Family | Direct Costs and Selling, General And Administrative | Building |  |  |  |  |  |
Related Party Transaction [Line Items] |  |  |  |  |  |
Operating lease cost | 900 | 900 | 1,800 | 1,800 |  |
Leased Real Estate | Operating Lease Right-of-Use Assets | Chief Executive Officer |  |  |  |  |  |
Related Party Transaction [Line Items] |  |  |  |  |  |
Operating lease right-of-use assets | 4,400 |  | 4,400 |  |  | 5,300
Leased Real Estate | Operating Lease Right-of-Use Assets | Chief Executive Officer And Immediate Family | Office Space |  |  |  |  |  |
Related Party Transaction [Line Items] |  |  |  |  |  |
Operating lease right-of-use assets | 54,200 |  | 54,200 |  |  |
Leased Real Estate | Operating Lease Right-of-Use Assets | Chief Executive Officer And Immediate Family | Building |  |  |  |  |  |
Related Party Transaction [Line Items] |  |  |  |  |  |
Operating lease right-of-use assets | 20,800 |  | 20,800 |  |  | 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 |  |  | 1,800
Leased Real Estate | Other Current Liabilities | Chief Executive Officer And Immediate Family | Office Space |  |  |  |  |  |
Related Party Transaction [Line Items] |  |  |  |  |  |
Current portion of lease liability | 800 |  | 800 |  |  |
Leased Real Estate | Other Current Liabilities | Chief Executive Officer And Immediate Family | Building |  |  |  |  |  |
Related Party Transaction [Line Items] |  |  |  |  |  |
Current portion of lease liability | 2,400 |  | 2,400 |  |  | 2,300
Leased Real Estate | Operating Lease Liabilities | Chief Executive Officer |  |  |  |  |  |
Related Party Transaction [Line Items] |  |  |  |  |  |
Long-term portion of lease liabilities | 2,600 |  | 2,600 |  |  | 3,500
Leased Real Estate | Operating Lease Liabilities | Chief Executive Officer And Immediate Family | Office Space |  |  |  |  |  |
Related Party Transaction [Line Items] |  |  |  |  |  |
Long-term portion of lease liabilities | 63,700 |  | 63,700 |  |  |
Leased Real Estate | Operating Lease Liabilities | Chief Executive Officer And Immediate Family | Building |  |  |  |  |  |
Related Party Transaction [Line Items] |  |  |  |  |  |
Long-term portion of lease liabilities | 18,500 |  | 18,500 |  |  | $ 19,700
Travel Services | Chief Executive Officer |  |  |  |  |  |
Related Party Transaction [Line Items] |  |  |  |  |  |
Travel expenses with related party | $ 200 | $ 300 | $ 400 | $ 600 |  |

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=120395691&loc=d3e23780-122690 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -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=120400017&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=121609121&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=121609121&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=121568110&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=121609121&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=121603541&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=121603541&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=121603541&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=120401555&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=120395209&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=120395209&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: | srt_RangeAxis=srt_MaximumMember
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_PropertyPlantAndEquipmentByTypeAxis=medp_OfficeSpaceMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_PropertyPlantAndEquipmentByTypeAxis=us-gaap_BuildingMember
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: |