XML 48 R37.htm IDEA: XBRL DOCUMENT
v3.24.0.1

Operating Leases (Tables) | 12 Months Ended
--- | ---
Dec. 31, 2023
Leases [Abstract] |
Operating Lease Related Assets And Liabilities And Other Related Information | The table below presents the operating lease-related right-of-use assets and related liabilities recorded on the Company’s balance sheet and the weighted average remaining lease term and discount rate as of December 31, 2023 and 2022 (dollars in thousands):
|  | December 31, |
|  | 2023 |  |  | 2022 |
Assets: |  |  |  |  |  |
Operating lease right-of-use assets |  | $ | 61,693 |  |  | $ | 55,796 |
Liabilities: |  |  |  |  |  |
Current portion of operating lease liabilities |  |  | 21,076 |  |  |  | 21,589 |
Long-term portion of operating lease liabilities |  |  | 47,238 |  |  |  | 44,213 |
Other Information: |  |  |  |  |  |
Weighted-average remaining lease term |  | 4.6 years |  |  | 3.9 years |
Weighted average discount rate |  |  | 5.5 | % |  |  | 4.6 | %
Lease, Cost | The table below presents certain information related to the lease costs for operating leases during the years ended December 31, 2023 and 2022 (in thousands):
|  | December 31, |
|  | 2023 |  |  | 2022 |
Operating lease costs |  | $ | 23,200 |  |  | $ | 22,293 |
Variable lease costs |  |  | 5,854 |  |  |  | 6,640 |
Other operating lease costs |  |  | 3,613 |  |  |  | 4,218 |
Total operating lease costs |  | $ | 32,667 |  |  | $ | 33,151 |
Operating Leases Cash Flow Related Information | The table below presents supplemental cash flow information related to operating leases during the years ended December 31, 2023 and 2022 (in thousands):
|  | December 31, 2023 |  |  | December 31, 2022 |
Operating cash flows for operating leases |  | $ | 35,747 |  |  | $ | 37,549 |
Lessee, Operating Lease, Liability, Maturity | The table below reconciles the undiscounted cash flows for each of the first five years and total of the remaining years to the operating lease liabilities recorded on the balance sheet as of December 31, 2023 (in thousands):
|  | December 31, 2023 |
2024 |  | $ | 22,141 |
2025 |  |  | 17,421 |
2026 |  |  | 12,436 |
2027 |  |  | 8,906 |
2028 |  |  | 5,501 |
Thereafter |  |  | 10,142 |
Total minimum lease payments |  |  | 76,547 |
Less: Amount of payments representing interest |  |  | (8,233 | )
Present value of future minimum lease payments |  |  | 68,314 |
Less: Current obligations |  |  | (21,076 | )
Long-term portion of operating leases |  | $ | 47,238 |

X
- Definition Tabular disclosure of operating lease related assets and liabilities and other related information. + References No definition available. + Details
Name: | md_OperatingLeaseRelatedAssetsAndLiabilitiesAndOtherRelatedInformationTableTextBlock
Namespace Prefix: | md_
Data Type: | dtr-types:textBlockItemType
Balance Type: | na
Period Type: | duration

X
- Definition Tabular disclosure of operating lease related cash flow information. + References No definition available. + Details
Name: | md_OperatingLeasesCashFlowRelatedInformationTableTextBlock
Namespace Prefix: | md_
Data Type: | dtr-types: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