XML 65 R55.htm IDEA: XBRL DOCUMENT
v3.23.3

Related Party Transactions - Narrative (Details) $ in Thousands | 3 Months Ended | 9 Months Ended |
--- | --- | --- | ---
Sep. 30, 2023 USD ($) | Mar. 31, 2023 renewal_option | Sep. 30, 2022 USD ($) | Sep. 30, 2023 USD ($) Agreement renewal_option building | Sep. 30, 2022 USD ($) | Dec. 31, 2022 USD ($)
Related Party Transaction [Line Items] |  |  |  |  |  |
Total revenue | $ 492,499 |  | $ 383,744 | $ 1,387,441 | $ 1,065,898 |
Advanced billings | 518,755 |  |  | 518,755 |  | $ 462,729
Accounts receivable and unbilled, net | 292,773 |  |  | 292,773 |  | 253,404
Other current liabilities | 35,955 |  |  | 35,955 |  | 47,547
Operating lease cost recognized | 7,002 |  | 6,482 | 20,637 | 19,357 |
Operating lease right-of-use assets | 144,147 |  |  | 144,147 |  | 139,068
Current portion of lease liability | 20,278 |  |  | 20,278 |  | 19,272
Long-term portion of lease liabilities | 143,039 |  |  | 143,039 |  | 138,867
Accounts payable | 29,023 |  |  | 29,023 |  | 33,069
Related Party |  |  |  |  |  |
Related Party Transaction [Line Items] |  |  |  |  |  |
Total revenue | 15,500 |  | 9,800 | 44,600 | 40,300 |
Advanced billings | 13,400 |  |  | 13,400 |  | 8,800
Accounts receivable and unbilled, net | 2,200 |  |  | 2,200 |  | 7,700
Other current liabilities |  |  |  |  |  | 12,500
Operating lease right-of-use assets | 84,592 |  |  | 84,592 |  | 86,356
Current portion of lease liability | 5,592 |  |  | 5,592 |  | 5,409
Long-term portion of lease liabilities | 92,049 |  |  | 92,049 |  | 93,393
Accounts payable | 3,100 |  |  | 3,100 |  | 300
Employee Loans | Related Party |  |  |  |  |  |
Related Party Transaction [Line Items] |  |  |  |  |  |
Prepaid expenses, other current assets, and other assets | 300 |  |  | 300 |  | 300
Service Agreement | Related Party | LIB |  |  |  |  |  |
Related Party Transaction [Line Items] |  |  |  |  |  |
Advanced billings | 10,600 |  |  | 10,600 |  | 7,400
Accounts receivable and unbilled, net | 700 |  |  | 700 |  | 5,500
Other current liabilities |  |  |  |  |  | 12,500
Service Agreement | Related Party | CinRx Pharma and Subsidiaries |  |  |  |  |  |
Related Party Transaction [Line Items] |  |  |  |  |  |
Advanced billings | 2,800 |  |  | 2,800 |  | 1,400
Accounts receivable and unbilled, net | 1,500 |  |  | 1,500 |  | 2,200
Service Agreement | Related Party | The Summit |  |  |  |  |  |
Related Party Transaction [Line Items] |  |  |  |  |  |
Expenses (less than for the three months ended June 30, 2022) | 100 |  | 100 | 300 | 200 |
Service Agreement | Related Party | Total revenue | LIB |  |  |  |  |  |
Related Party Transaction [Line Items] |  |  |  |  |  |
Total revenue | 10,100 |  | 9,500 | 33,100 | 26,600 |
Service Agreement | Related Party | Total revenue | CinRx Pharma and Subsidiaries |  |  |  |  |  |
Related Party Transaction [Line Items] |  |  |  |  |  |
Total revenue | 5,300 |  | 500 | 11,400 | 13,800 |
Leased Real Estate | Chief Executive Officer |  |  |  |  |  |
Related Party Transaction [Line Items] |  |  |  |  |  |
Term of lease |  | 10 years |  |  |  |
Number of lease renewal, 10-year option | renewal_option |  | 1 |  |  |  |
Lease term upon renewal |  | 10 years |  |  |  |
Operating lease right-of-use assets | 19,800 |  |  | 19,800 |  | 18,200
Current portion of lease liability | 1,400 |  |  | 1,400 |  | 1,500
Long-term portion of lease liabilities | 18,500 |  |  | 18,500 |  | 16,700
Leased Real Estate | Chief Executive Officer | Direct Costs and Selling, General And Administrative |  |  |  |  |  |
Related Party Transaction [Line Items] |  |  |  |  |  |
Operating lease cost recognized | $ 700 |  | 600 | $ 2,000 | 1,700 |
Leased Real Estate | Chief Executive Officer And Immediate Family | Office Space |  |  |  |  |  |
Related Party Transaction [Line Items] |  |  |  |  |  |
Number of lease renewal, 10-year option | renewal_option |  |  |  | 2 |  |
Lease term upon renewal | 10 years |  |  | 10 years |  |
Operating lease right-of-use assets | $ 52,300 |  |  | $ 52,300 |  | 53,500
Current portion of lease liability | 1,200 |  |  | 1,200 |  | 1,100
Long-term portion of lease liabilities | $ 63,900 |  |  | $ 63,900 |  | 64,800
Leased Real Estate | Chief Executive Officer And Immediate Family | Building |  |  |  |  |  |
Related Party Transaction [Line Items] |  |  |  |  |  |
Number of lease renewal, 10-year option | renewal_option |  |  |  | 1 |  |
Lease term upon renewal | 10 years |  |  | 10 years |  |
Operating lease right-of-use assets | $ 12,600 |  |  | $ 12,600 |  | 14,600
Current portion of lease liability | 2,900 |  |  | 2,900 |  | 2,800
Long-term portion of lease liabilities | 9,700 |  |  | $ 9,700 |  | 11,900
Number of lease agreements | Agreement |  |  |  | 2 |  |
Number of buildings | building |  |  |  | 2 |  |
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 recognized | 1,500 |  | 1,500 | $ 4,300 | 4,300 |
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 recognized | 900 |  | 900 | 2,700 | 2,700 |
Travel Services | Related Party |  |  |  |  |  |
Related Party Transaction [Line Items] |  |  |  |  |  |
Accounts payable | 300 |  |  | 300 |  | $ 300
Travel Services | Chief Executive Officer |  |  |  |  |  |
Related Party Transaction [Line Items] |  |  |  |  |  |
Travel expenses | $ 700 |  | $ 600 | $ 1,500 | $ 1,600 |

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 Carrying value as of the balance sheet date of liabilities incurred (and for which invoices have typically been received) and payable to vendors for goods and services received that are used in an entity's business. Used to reflect the current portion of the liabilities (due within one year or within the normal operating cycle if longer). + References Reference 1: http://www.xbrl.org/2003/role/exampleRef -Topic 852 -SubTopic 10 -Name Accounting Standards Codification -Section 55 -Paragraph 10 -Publisher FASB -URI https://asc.fasb.org//1943274/2147481372/852-10-55-10 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02.19(a)) -Publisher FASB -URI https://asc.fasb.org//1943274/2147480566/210-10-S99-1 + Details
Name: | us-gaap_AccountsPayableCurrent
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount of obligation to transfer good or service to customer for which consideration has been received or is receivable, classified as current. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 606 -SubTopic 10 -Name Accounting Standards Codification -Section 45 -Paragraph 1 -Publisher FASB -URI https://asc.fasb.org//1943274/2147479837/606-10-45-1 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 606 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 8 -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org//1943274/2147479806/606-10-50-8 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Topic 606 -SubTopic 10 -Name Accounting Standards Codification -Section 45 -Paragraph 2 -Publisher FASB -URI https://asc.fasb.org//1943274/2147479837/606-10-45-2 + Details
Name: | us-gaap_ContractWithCustomerLiabilityCurrent
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
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 -Topic 842 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 3 -Subparagraph (a)(3) -Publisher FASB -URI https://asc.fasb.org//1943274/2147478964/842-20-50-3 + 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 -Topic 842 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 3 -Subparagraph (a)(3) -Publisher FASB -URI https://asc.fasb.org//1943274/2147478964/842-20-50-3 + Details
Name: | us-gaap_LesseeOperatingLeaseTermOfContract
Namespace Prefix: | us-gaap_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | instant

X
- Definition Generally recurring costs associated with normal operations except for the portion of these expenses which can be clearly related to production and included in cost of sales or services. Excludes Selling, General and Administrative Expense. + References No definition available. + Details
Name: | us-gaap_OperatingCostsAndExpenses
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

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 -Topic 842 -SubTopic 20 -Name Accounting Standards Codification -Section 55 -Paragraph 53 -Publisher FASB -URI https://asc.fasb.org//1943274/2147479589/842-20-55-53 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 842 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 4 -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org//1943274/2147478964/842-20-50-4 + 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 -Topic 842 -SubTopic 20 -Name Accounting Standards Codification -Section 45 -Paragraph 1 -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org//1943274/2147479041/842-20-45-1 + 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 -Topic 842 -SubTopic 20 -Name Accounting Standards Codification -Section 45 -Paragraph 1 -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org//1943274/2147479041/842-20-45-1 + 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 -Topic 842 -SubTopic 20 -Name Accounting Standards Codification -Section 45 -Paragraph 1 -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org//1943274/2147479041/842-20-45-1 + Details
Name: | us-gaap_OperatingLeaseRightOfUseAsset
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount of liabilities classified as other, due within one year or the normal operating cycle, if longer. + References Reference 1: http://www.xbrl.org/2003/role/exampleRef -Topic 852 -SubTopic 10 -Name Accounting Standards Codification -Section 55 -Paragraph 10 -Publisher FASB -URI https://asc.fasb.org//1943274/2147481372/852-10-55-10 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02.20) -Publisher FASB -URI https://asc.fasb.org//1943274/2147480566/210-10-S99-1 + Details
Name: | us-gaap_OtherLiabilitiesCurrent
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount of asset related to consideration paid in advance for costs that provide economic benefits in future periods, and amount of other assets. + References No definition available. + Details
Name: | us-gaap_PrepaidExpenseAndOtherAssets
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition The total amount due to the entity within one year of the balance sheet date (or one operating cycle, if longer) from outside sources, including trade accounts receivable, notes and loans receivable, as well as any other types of receivables, net of allowances established for the purpose of reducing such receivables to an amount that approximates their net realizable value. + References Reference 1: http://www.xbrl.org/2003/role/exampleRef -Topic 852 -SubTopic 10 -Name Accounting Standards Codification -Section 55 -Paragraph 10 -Publisher FASB -URI https://asc.fasb.org//1943274/2147481372/852-10-55-10 + Details
Name: | us-gaap_ReceivablesNetCurrent
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

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 Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 220 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.6-07(2)(c)(2)(i)) -Publisher FASB -URI https://asc.fasb.org//1943274/2147483575/946-220-S99-1 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 220 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.6-07(2)(c)(2)(ii)) -Publisher FASB -URI https://asc.fasb.org//1943274/2147483575/946-220-S99-1 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 220 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.6-07(2)(g)(3)) -Publisher FASB -URI https://asc.fasb.org//1943274/2147483575/946-220-S99-1 + Details
Name: | us-gaap_RelatedPartyTransactionLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount, excluding tax collected from customer, of revenue from satisfaction of performance obligation by transferring promised good or service to customer. Tax collected from customer is tax assessed by governmental authority that is both imposed on and concurrent with specific revenue-producing transaction, including, but not limited to, sales, use, value added and excise. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 924 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SAB Topic 11.L) -Publisher FASB -URI https://asc.fasb.org//1943274/2147479941/924-10-S99-1 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 606 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 5 -Publisher FASB -URI https://asc.fasb.org//1943274/2147479806/606-10-50-5 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Topic 280 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 30 -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org//1943274/2147482810/280-10-50-30 Reference 4: http://www.xbrl.org/2003/role/disclosureRef -Topic 280 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 42 -Publisher FASB -URI https://asc.fasb.org//1943274/2147482810/280-10-50-42 Reference 5: http://www.xbrl.org/2003/role/disclosureRef -Topic 280 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 22 -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org//1943274/2147482810/280-10-50-22 Reference 6: http://www.xbrl.org/2003/role/disclosureRef -Topic 280 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 32 -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org//1943274/2147482810/280-10-50-32 Reference 7: http://www.xbrl.org/2003/role/disclosureRef -Topic 280 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 40 -Publisher FASB -URI https://asc.fasb.org//1943274/2147482810/280-10-50-40 Reference 8: http://www.xbrl.org/2003/role/disclosureRef -Topic 280 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 22 -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org//1943274/2147482810/280-10-50-22 Reference 9: http://www.xbrl.org/2003/role/disclosureRef -Topic 280 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 32 -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org//1943274/2147482810/280-10-50-32 Reference 10: http://www.xbrl.org/2003/role/disclosureRef -Topic 280 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 41 -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org//1943274/2147482810/280-10-50-41 Reference 11: http://www.xbrl.org/2003/role/disclosureRef -Topic 606 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 4 -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org//1943274/2147479806/606-10-50-4 + Details
Name: | us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax
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 -Topic 220 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 2 -Subparagraph (SX 210.5-03.4) -Publisher FASB -URI https://asc.fasb.org//1943274/2147483621/220-10-S99-2 + Details
Name: | us-gaap_TravelAndEntertainmentExpense
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

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

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

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

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

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

X
- Details
Name: | srt_CounterpartyNameAxis=medp_TheSummitHotelMember
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_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_RelatedPartyTransactionAxis=medp_TravelServicesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |