XML 79 R68.htm IDEA: XBRL DOCUMENT
v3.24.0.1

Line of Credit, Long-Term Debt and Finance Lease Obligations - Summary of Estimated Fair Value of Notes (Detail) - USD ($) $ in Thousands | Dec. 31, 2023 | Dec. 31, 2022
--- | --- | ---
2030 Notes | Level 2 [Member] | Estimate of Fair Value Measurement [Member] |  |
Debt Instrument Fair Value [Line Items] |  |
Estimated fair value | $ 357,000 | $ 344,000

X
- Definition Debt Instrument Fair Value [Line Items] + References No definition available. + Details
Name: | md_DebtInstrumentFairValueLineItems
Namespace Prefix: | md_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Fair value portion of notes payable. + References Reference 1: 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,20,22) -Publisher FASB -URI https://asc.fasb.org//1943274/2147480566/210-10-S99-1 + Details
Name: | us-gaap_NotesPayableFairValueDisclosure
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Details
Name: | us-gaap_CreditFacilityAxis=md_SeniorUnsecuredNotesDue2030Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FairValueByFairValueHierarchyLevelAxis=us-gaap_FairValueInputsLevel2Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FairValueByMeasurementBasisAxis=us-gaap_EstimateOfFairValueFairValueDisclosureMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |