XML 59 R30.htm IDEA: XBRL DOCUMENT
v3.20.1

Fair Value Measurements - Schedule of fair value on a recurring basis (Details) - Fair Value, Measurements, Recurring [Member] - USD ($) $ in Thousands | Mar. 31, 2020 | Dec. 31, 2019
--- | --- | ---
Fair Value, Inputs, Level 1 [Member] |  |
Assets: |  |
Money market funds | $ 6,357 | $ 16,775
Mutual Funds | 11,640 | 14,264
Fair Value, Inputs, Level 2 [Member] |  |
Assets: |  |
Short-term investments | 85,041 | 74,510
Fair Value, Inputs, Level 3 [Member] |  |
Liabilities: |  |
Contingent consideration | $ 1,288 | $ 2,696

X
- Definition Fair value Of contingent consideration liability. + References No definition available. + Details
Name: | md_BusinessCombinationContingentConsiderationLiabilityFairValueDisclosure
Namespace Prefix: | md_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Fair value of money market funds. + References No definition available. + Details
Name: | md_MoneyMarketFundsFairValueDisclosure
Namespace Prefix: | md_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Mutual funds fair value disclosure. + References No definition available. + Details
Name: | md_MutualFundsFairValueDisclosure
Namespace Prefix: | md_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

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

X
- Definition Fair value portion of investment securities, including, but not limited to, marketable securities, derivative financial instruments, and investments accounted for under the equity method. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 820 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=117815213&loc=d3e19207-110258 + Details
Name: | us-gaap_InvestmentsFairValueDisclosure
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

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

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

X
- Details
Name: | us-gaap_FairValueByMeasurementFrequencyAxis=us-gaap_FairValueMeasurementsRecurringMember
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_FairValueByFairValueHierarchyLevelAxis=us-gaap_FairValueInputsLevel3Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |