XML 74 R31.htm IDEA: XBRL DOCUMENT
v3.19.3.a.u2

Leases and Commitments (Tables) | 12 Months Ended
--- | ---
Dec. 31, 2019
Leases and Commitments [Abstract] |
Supplemental cash flow information related to operating leases [Table Text Block] | ​ ​ ​ Supplemental cash flow information related to the Company’s operating leases were as follows (in thousands):
​ | ​ | ​ | ​
​ | ​ | Year ended December 31, 2019
​ | ​ | ​ | ​
Cash paid for amounts included in the measurements of lease liabilities | ​ | ​ | ​
Operating cash flow from operating leases | ​ | $ | 3,025
​ | ​ | ​ | ​
Right-of-use assets obtained in exchange for lease obligations | ​ | ​ | ​
Operating leases | ​ | $ | 3,489
Summary of maturity of the Company's operating lease liabilities | The following table presents the maturity of the Company’s operating lease liabilities as of December 31, 2019 (in thousands): ​
​ | ​ | ​ | ​
2020 | ​ | $ | 3,636
2021 | ​ | ​ | 3,670
2022 | ​ | ​ | 3,154
2023 | ​ | ​ | 1,665
2024 | ​ | ​ | 1,234
Thereafter | ​ | ​ | 1,452
Total lease payments | ​ | $ | 14,811
Less: imputed interest | ​ | ​ | (1,210)
Total | ​ | $ | 13,601
Future Minimum Rental and Lease Payments | As previously disclosed in our Annual Report on Form 10-K for the fiscal year ended December 31, 2018, and under the previous lease accounting standard, future minimum lease commitments under non-cancelable operating leases with terms in excess of one year would have been as follows (in thousands):
​ | ​ | ​ | ​
2019 | ​ | $ | 1,496
2020 | ​ | ​ | 1,528
2021 | ​ | ​ | 1,562
2022 | ​ | ​ | 1,222
2023 | ​ | ​ | 1,155
Thereafter | ​ | ​ | 2,582
Total minimum lease payments | ​ | $ | 9,545
​

X
- Definition Supplemental cash flow information related to the Company's operating leases + References No definition available. + Details
Name: | med_SupplementalCashFlowInformationRelatedToOperatingLeasesTableTextBlock
Namespace Prefix: | med_
Data Type: | nonnum:textBlockItemType
Balance Type: | na
Period Type: | duration

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

X
- Definition Tabular disclosure of undiscounted cash flows of lessee's operating lease liability. Includes, but is not limited to, reconciliation of undiscounted cash flows to operating lease liability recognized in statement of financial position. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 842 -SubTopic 20 -Section 50 -Paragraph 6 -URI http://asc.fasb.org/extlink&oid=77888426&loc=SL77918701-209980 + Details
Name: | us-gaap_LesseeOperatingLeaseLiabilityMaturityTableTextBlock
Namespace Prefix: | us-gaap_
Data Type: | nonnum:textBlockItemType
Balance Type: | na
Period Type: | duration

X
- Definition Tabular disclosure for lessee's operating leases. Includes, but is not limited to, description of lessee's operating lease, existence and terms of renewal or purchase options and escalation clauses, restrictions imposed by lease, such as those concerning dividends, additional debt, and further leasing, rent holidays, rent concessions, or leasehold improvement incentives and unusual provisions or conditions. + References Reference 1: http://fasb.org/us-gaap/role/ref/otherTransitionRef -Publisher FASB -Name Accounting Standards Codification -Topic 840 -SubTopic 10 -Section 55 -Paragraph 40 -Subparagraph (Note 1,3) -URI http://asc.fasb.org/extlink&oid=82846649&loc=d3e38371-112697 Reference 2: http://fasb.org/us-gaap/role/ref/otherTransitionRef -Publisher FASB -Name Accounting Standards Codification -Topic 840 -SubTopic 20 -Section 50 -Paragraph 1 -URI http://asc.fasb.org/extlink&oid=77902758&loc=d3e41499-112717 Reference 3: http://fasb.org/us-gaap/role/ref/otherTransitionRef -Publisher FASB -Name Accounting Standards Codification -Topic 460 -SubTopic 10 -Section 50 -Paragraph 4 -URI http://asc.fasb.org/extlink&oid=118943654&loc=d3e12069-110248 Reference 4: http://fasb.org/us-gaap/role/ref/otherTransitionRef -Publisher FASB -Name Accounting Standards Codification -Topic 840 -SubTopic 20 -Section 50 -Paragraph 2 -URI http://asc.fasb.org/extlink&oid=77902758&loc=d3e41502-112717 Reference 5: http://fasb.org/us-gaap/role/ref/otherTransitionRef -Publisher FASB -Name Accounting Standards Codification -Topic 840 -SubTopic 10 -Section 50 -Paragraph 2 -URI http://asc.fasb.org/extlink&oid=84164451&loc=d3e36991-112694 + Details
Name: | us-gaap_OperatingLeasesOfLesseeDisclosureTextBlock
Namespace Prefix: | us-gaap_
Data Type: | nonnum:textBlockItemType
Balance Type: | na
Period Type: | duration