XML 60 R47.htm IDEA: XBRL DOCUMENT
v3.24.0.1

INVESTMENTS - Cash and Financial Assets Measured at Fair Value on a Recurring Basis (Details) - USD ($) $ in Thousands | Dec. 31, 2023 | Dec. 31, 2022
--- | --- | ---
Cash And Cash Equivalents And Marketable securities [Line Items] |  |
Cost, Cash and cash equivalents, excluding money market accounts | $ 88,778 | $ 87,691
Estimated Fair Value, Cash and cash equivalents, excluding money market accounts | 88,778 | 87,691
Unrealized Gains, Investment securities | 569 | 0
Accrued Interest, Investment securities | 310 | 0
Cost | 149,162 | 87,691
Estimated Fair Value | 150,041 | 87,691
Cash & Cash Equivalents |  |
Cash And Cash Equivalents And Marketable securities [Line Items] |  |
Estimated Fair Value, Cash and cash equivalents, excluding money market accounts | 88,778 | 87,691
Estimated Fair Value | 94,440 | 87,691
Investment Securities |  |
Cash And Cash Equivalents And Marketable securities [Line Items] |  |
Estimated Fair Value | 55,601 | $ 0
Level 1 |  |
Cash And Cash Equivalents And Marketable securities [Line Items] |  |
Cost, Equity securities | 10,000 |
Unrealized Gains, Equity securities | 150 |
Accrued Interest, Equity securities | 0 |
Estimated Fair Value, Equity securities | 10,150 |
Cost, Investment securities | 30,944 |
Unrealized Gains, Investment securities | 276 |
Accrued Interest, Investment securities | 40 |
Estimated Fair Value, Investment securities | 31,260 |
Level 1 | Cash & Cash Equivalents |  |
Cash And Cash Equivalents And Marketable securities [Line Items] |  |
Estimated Fair Value, Equity securities | 0 |
Estimated Fair Value, Investment securities | 5,662 |
Level 1 | Investment Securities |  |
Cash And Cash Equivalents And Marketable securities [Line Items] |  |
Estimated Fair Value, Equity securities | 10,150 |
Estimated Fair Value, Investment securities | 25,598 |
Level 1 | Money market accounts |  |
Cash And Cash Equivalents And Marketable securities [Line Items] |  |
Cost, Debt Securities | 5,662 |
Estimated Fair Value, Debt securities | 5,662 |
Level 1 | Money market accounts | Gains |  |
Cash And Cash Equivalents And Marketable securities [Line Items] |  |
Unrealized Gains, Debt securities | 0 |
Level 1 | Money market accounts | Accrued Interest |  |
Cash And Cash Equivalents And Marketable securities [Line Items] |  |
Unrealized Gains, Debt securities | 0 |
Level 1 | Money market accounts | Cash & Cash Equivalents |  |
Cash And Cash Equivalents And Marketable securities [Line Items] |  |
Estimated Fair Value, Debt securities | 5,662 |
Level 1 | Money market accounts | Investment Securities |  |
Cash And Cash Equivalents And Marketable securities [Line Items] |  |
Estimated Fair Value, Debt securities | 0 |
Level 1 | Government & agency securities |  |
Cash And Cash Equivalents And Marketable securities [Line Items] |  |
Cost, Debt Securities | 15,282 |
Estimated Fair Value, Debt securities | 15,448 |
Level 1 | Government & agency securities | Gains |  |
Cash And Cash Equivalents And Marketable securities [Line Items] |  |
Unrealized Gains, Debt securities | 126 |
Level 1 | Government & agency securities | Accrued Interest |  |
Cash And Cash Equivalents And Marketable securities [Line Items] |  |
Unrealized Gains, Debt securities | 40 |
Level 1 | Government & agency securities | Cash & Cash Equivalents |  |
Cash And Cash Equivalents And Marketable securities [Line Items] |  |
Estimated Fair Value, Debt securities | 0 |
Level 1 | Government & agency securities | Investment Securities |  |
Cash And Cash Equivalents And Marketable securities [Line Items] |  |
Estimated Fair Value, Debt securities | 15,448 |
Level 2 | Corporate bonds |  |
Cash And Cash Equivalents And Marketable securities [Line Items] |  |
Cost, Debt Securities | 29,440 |
Estimated Fair Value, Debt securities | 30,003 |
Level 2 | Corporate bonds | Gains |  |
Cash And Cash Equivalents And Marketable securities [Line Items] |  |
Unrealized Gains, Debt securities | 293 |
Level 2 | Corporate bonds | Accrued Interest |  |
Cash And Cash Equivalents And Marketable securities [Line Items] |  |
Unrealized Gains, Debt securities | 270 |
Level 2 | Corporate bonds | Cash & Cash Equivalents |  |
Cash And Cash Equivalents And Marketable securities [Line Items] |  |
Estimated Fair Value, Debt securities | 0 |
Level 2 | Corporate bonds | Investment Securities |  |
Cash And Cash Equivalents And Marketable securities [Line Items] |  |
Estimated Fair Value, Debt securities | $ 30,003 |

X
- Definition N/A + References No definition available. + Details
Name: | med_CashAndCashEquivalentsAndMarketableSecuritiesLineItems
Namespace Prefix: | med_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Cash And Cash Equivalents Excluding Money Market Accounts, Amortized Cost + References No definition available. + Details
Name: | med_CashAndCashEquivalentsExcludingMoneyMarketAccountsAmortizedCost
Namespace Prefix: | med_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Cash, Cash Equivalents, And Short-Term Investments, Fair Value Disclosure + References No definition available. + Details
Name: | med_CashCashEquivalentsAndShortTermInvestmentsFairValueDisclosure
Namespace Prefix: | med_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Equity Securities, Accrued Interest + References No definition available. + Details
Name: | med_EquitySecuritiesAccruedInterest
Namespace Prefix: | med_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Equity Securities, FV-NI, Unrealized Gains + References No definition available. + Details
Name: | med_EquitySecuritiesFVNIUnrealizedGains
Namespace Prefix: | med_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Investment Securities, Accrued Interest + References No definition available. + Details
Name: | med_InvestmentSecuritiesAccruedInterest
Namespace Prefix: | med_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Investment Securities, At Cost + References No definition available. + Details
Name: | med_InvestmentSecuritiesAtCost
Namespace Prefix: | med_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Investment Securities, Fair Value + References No definition available. + Details
Name: | med_InvestmentSecuritiesFairValue
Namespace Prefix: | med_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Investment Securities, Unrealized Gains + References No definition available. + Details
Name: | med_InvestmentSecuritiesUnrealizedGains
Namespace Prefix: | med_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount, before tax, of unrealized gain in accumulated other comprehensive income (AOCI) on investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale). + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 320 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org//1943274/2147481800/320-10-50-2 + Details
Name: | us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedGainBeforeTax
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amortized cost of investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale). + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 944 -SubTopic 210 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.7-03(a)(1)) -Publisher FASB -URI https://asc.fasb.org//1943274/2147479440/944-210-S99-1 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 320 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org//1943274/2147481800/320-10-50-2 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Topic 326 -SubTopic 30 -Name Accounting Standards Codification -Section 45 -Paragraph 1 -Publisher FASB -URI https://asc.fasb.org//1943274/2147479130/326-30-45-1 + Details
Name: | us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount of investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale), classified as current. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 320 -SubTopic 10 -Name Accounting Standards Codification -Section 45 -Paragraph 2 -Publisher FASB -URI https://asc.fasb.org//1943274/2147481830/320-10-45-2 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 326 -SubTopic 30 -Name Accounting Standards Codification -Section 45 -Paragraph 1 -Publisher FASB -URI https://asc.fasb.org//1943274/2147479130/326-30-45-1 + Details
Name: | us-gaap_AvailableForSaleSecuritiesDebtSecuritiesCurrent
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Fair value portion of currency on hand as well as demand deposits with banks or financial institutions. Includes other kinds of accounts that have the general characteristics of demand deposits. Also includes short-term, highly liquid investments that are both readily convertible to known amounts of cash and so near their maturity that they present insignificant risk of changes in value because of changes in interest rates. + References No definition available. + Details
Name: | us-gaap_CashAndCashEquivalentsFairValueDisclosure
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Cash includes currency on hand as well as demand deposits with banks or financial institutions. It also includes other kinds of accounts that have the general characteristics of demand deposits in that the customer may deposit additional funds at any time and effectively may withdraw funds at any time without prior notice or penalty. Cash equivalents, excluding items classified as marketable securities, include short-term, highly liquid Investments that are both readily convertible to known amounts of cash, and so near their maturity that they present minimal risk of changes in value because of changes in interest rates. Generally, only investments with original maturities of three months or less qualify under that definition. Original maturity means original maturity to the entity holding the investment. For example, both a three-month US Treasury bill and a three-year Treasury note purchased three months from maturity qualify as cash equivalents. However, a Treasury note purchased three years ago does not become a cash equivalent when its remaining maturity is three months. Short-term investments, exclusive of cash equivalents, generally consist of marketable securities intended to be sold within one year (or the normal operating cycle if longer) and may include trading securities, available-for-sale securities, or held-to-maturity securities (if maturing within one year), as applicable. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 210 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(9)) -Publisher FASB -URI https://asc.fasb.org//1943274/2147480566/210-10-S99-1 + Details
Name: | us-gaap_CashCashEquivalentsAndShortTermInvestments
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Cost of investment in equity security measured at fair value with change in fair value recognized in net income (FV-NI). Excludes equity method investment and investment in equity security without readily determinable fair value. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 944 -SubTopic 210 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.7-03(a)(1)) -Publisher FASB -URI https://asc.fasb.org//1943274/2147479440/944-210-S99-1 + Details
Name: | us-gaap_EquitySecuritiesFvNiCost
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount of investment in equity security measured at fair value with change in fair value recognized in net income (FV-NI). + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 944 -SubTopic 210 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.7-03(a)(1)(b)) -Publisher FASB -URI https://asc.fasb.org//1943274/2147479440/944-210-S99-1 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 210 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(2)) -Publisher FASB -URI https://asc.fasb.org//1943274/2147480566/210-10-S99-1 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Topic 825 -SubTopic 10 -Name Accounting Standards Codification -Section 45 -Paragraph 1A -Publisher FASB -URI https://asc.fasb.org//1943274/2147482736/825-10-45-1A + Details
Name: | us-gaap_EquitySecuritiesFvNiCurrentAndNoncurrent
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Details
Name: | us-gaap_BalanceSheetLocationAxis=us-gaap_CashAndCashEquivalentsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_BalanceSheetLocationAxis=us-gaap_SecuritiesInvestmentMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

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

X
- Details
Name: | us-gaap_FinancialInstrumentAxis=us-gaap_MoneyMarketFundsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | med_DebtSecuritiesUnrealizedGainAxis=med_DebtSecuritiesGainsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | med_DebtSecuritiesUnrealizedGainAxis=med_DebtSecuritiesAccruedInterestMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FinancialInstrumentAxis=us-gaap_USGovernmentCorporationsAndAgenciesSecuritiesMember
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_FinancialInstrumentAxis=us-gaap_MunicipalBondsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |