XML 12 R5.htm IDEA: XBRL DOCUMENT
v3.24.1.u1

Consolidated Statements of Income and Comprehensive Income (Unaudited) (Parenthetical) - USD ($) $ in Thousands | 3 Months Ended
--- | ---
Mar. 31, 2024 | Mar. 31, 2023
Income Statement [Abstract] |  |
Unrealized holding gain (loss) on investments, net of tax | $ 20 | $ 227

X
- Definition Net Of Tax, Unrealized Holding Gain (Loss) on Investments + References No definition available. + Details
Name: | md_NetOfTaxUnrealizedHoldingGainLossOnInvestments
Namespace Prefix: | md_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

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