XML 12 R5.htm IDEA: XBRL DOCUMENT
v3.25.1

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

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