XML 40 R30.htm IDEA: XBRL DOCUMENT
v3.23.3

Leases (Tables) | 9 Months Ended
--- | ---
Sep. 30, 2023
Leases [Abstract] |
Summary of Components of Lease Expense | The components of lease expense were as follows (in thousands):
| Three Months Ended September 30, |  | Nine Months Ended September 30,
| 2023 |  | 2022 |  | 2023 |  | 2022
Operating lease cost | $ | 7,002 |  |  | $ | 6,482 |  |  | $ | 20,637 |  |  | $ | 19,357 |
Variable lease cost | 2,372 |  |  | 2,240 |  |  | 6,544 |  |  | 6,353 |
Summary of Supplemental Cash Flow Information Related to Leases | Supplemental cash flow information related to the leases was as follows (in thousands):
| Nine Months Ended September 30,
| 2023 |  | 2022
Cash paid for amounts included in the measurement of lease liabilities: |  |  |
Operating cash flows from operating leases | $ | 14,883 |  |  | $ | 12,045 |
Right-of-use assets obtained in exchange for lease obligations: |  |  |
Operating leases | 20,412 |  |  | 29,915 |
Summary of Supplemental Balance Sheet Information Related to Leases | Supplemental balance sheet information related to the leases was as follows (in thousands):
| As of
| September 30, 2023 |  | December 31, 2022
Operating lease right-of-use assets - related parties | $ | 84,592 |  |  | $ | 86,356 |
Operating lease right-of-use assets - non-related parties | 59,555 |  |  | 52,712 |
Operating lease right-of-use assets | $ | 144,147 |  |  | $ | 139,068 |
Other current liabilities - related parties | 5,592 |  |  | 5,409 |
Other current liabilities - non-related parties | 14,686 |  |  | 13,863 |
Other current liabilities | $ | 20,278 |  |  | $ | 19,272 |
Operating lease liabilities - related parties | 92,049 |  |  | 93,393 |
Operating lease liabilities - non-related parties | 50,990 |  |  | 45,474 |
Operating lease liabilities | 143,039 |  |  | 138,867 |
Total operating lease liabilities | $ | 163,317 |  |  | $ | 158,139 |
Weighted Average Remaining Lease Term (years) |  |  |
Operating leases | 10.3 |  | 11.1
Weighted Average Discount Rate |  |  |
Operating leases | 5.4 | % |  | 5.2 | %
Schedule of Lease Payments Due Related To Lease Liabilities | Lease payments due related to lease liabilities as of September 30, 2023 were as follows (in thousands):
| Related Party Operating Leases |  | Non-Related Parties Operating Leases |  | Total Operating Leases
Remainder of 2023 | $ | 2,827 |  |  | $ | 4,157 |  |  | $ | 6,984 |
2024 | 11,412 |  |  | 16,333 |  |  | 27,745 |
2025 | 11,607 |  |  | 15,110 |  |  | 26,717 |
2026 | 11,807 |  |  | 12,878 |  |  | 24,685 |
2027 | 10,839 |  |  | 9,843 |  |  | 20,682 |
Later years | 100,278 |  |  | 14,449 |  |  | 114,727 |
Total lease payments | 148,770 |  |  | 72,770 |  |  | 221,540 |
Less: imputed interest | (51,129) |  |  | (7,094) |  |  | (58,223) |
Total | $ | 97,641 |  |  | $ | 65,676 |  |  | $ | 163,317 |

X
- Definition Schedule of supplemental balance sheet information related to leases. + References No definition available. + Details
Name: | medp_ScheduleOfSupplementalBalanceSheetInformationRelatedToLeasesTableTableTextBlock
Namespace Prefix: | medp_
Data Type: | dtr-types1:textBlockItemType
Balance Type: | na
Period Type: | duration

X
- Definition Schedule of supplemental cash flow information related to leases. + References No definition available. + Details
Name: | medp_ScheduleOfSupplementalCashFlowInformationRelatedToLeasesTableTableTextBlock
Namespace Prefix: | medp_
Data Type: | dtr-types1:textBlockItemType
Balance Type: | na
Period Type: | duration

X
- Definition Tabular disclosure of lessee's lease cost. Includes, but is not limited to, interest expense for finance lease, amortization of right-of-use asset for finance lease, operating lease cost, short-term lease cost, variable lease cost and sublease income. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 842 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 4 -Publisher FASB -URI https://asc.fasb.org//1943274/2147478964/842-20-50-4 + Details
Name: | us-gaap_LeaseCostTableTextBlock
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:textBlockItemType
Balance Type: | na
Period Type: | duration

X
- References No definition available. + Details
Name: | us-gaap_LeasesAbstract
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Tabular disclosure of undiscounted cash flows of lessee's operating lease liability. Includes, but is not limited to, reconciliation of undiscounted cash flows to operating lease liability recognized in statement of financial position. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 842 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 6 -Publisher FASB -URI https://asc.fasb.org//1943274/2147478964/842-20-50-6 + Details
Name: | us-gaap_LesseeOperatingLeaseLiabilityMaturityTableTextBlock
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:textBlockItemType
Balance Type: | na
Period Type: | duration