XML 59 R47.htm IDEA: XBRL DOCUMENT
v3.22.0.1

Financial Instruments (Narrative) (Detail) - USD ($) $ in Thousands | 12 Months Ended
--- | ---
Dec. 31, 2021 | Dec. 31, 2020 | Dec. 31, 2019
Financial Instruments [Line Items] |  |  |
Realized loss or gains | $ 0 | $ 0 | $ 0
US treasury and government short-term debt securities |  |  |
Financial Instruments [Line Items] |  |  |
Available for sale securities maturity period |  | 1 year |

X
- Definition Number of maturity year relating to investment securities. + References No definition available. + Details
Name: | med_AvailableForSaleSecuritiesMaturityPeriod
Namespace Prefix: | med_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition Financial Instruments [Line Items] + References No definition available. + Details
Name: | med_FinancialInstrumentsLineItems
Namespace Prefix: | med_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount of realized gain (loss) on investment in debt and equity securities. + References No definition available. + Details
Name: | us-gaap_DebtAndEquitySecuritiesRealizedGainLoss
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Details
Name: | us-gaap_InvestmentTypeAxis=us-gaap_USTreasuryAndGovernmentShorttermDebtSecuritiesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |