2.4.0.82429401 - Disclosure - Fair value of financial instruments (Details)truefalsefalse1false
falsefalseD2021Q4nordicswapmaturityhttp://www.sec.gov/CIK0000914122duration2012-05-01T00:00:002021-12-31T00:00:002false
USDfalsefalse$I2013Q2Qtrhttp://www.sec.gov/CIK0000914122instant2013-07-31T00:00:000001-01-01T00:00:00rateStandardhttp://www.xbrl.org/2009/utrRateutreg0usdStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$1true
1mfri_FairValueOfFinancialInstrumentsAbstractmfri_falsenadurationfalsefalsefalsefalsefalsefalsefalsefalse| 1falsefalsefalse00falsefalsefalse | 2falsefalsefalse00falsefalsefalse | xbrli:stringItemTypestringfalse0
2false
2us-gaap_DerivativeLiabilityNotionalAmountus-gaap_truenainstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1falsefalsefalse00falsefalsefalse | 2truefalsefalse13000001300000USD$falsetruefalse | xbrli:monetaryItemTypemonetaryNominal or face amount used to calculate payments on the derivative liability.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 815
-SubTopic 10
-Section 50
-Paragraph 1B
-URI http://asc.fasb.org/extlink&oid=7476318&loc=SL5580258-113959
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 815
-SubTopic 10
-Section 50
-Paragraph 1A
-Subparagraph (d)
-URI http://asc.fasb.org/extlink&oid=7476318&loc=SL5579245-113959
Reference 3: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Glossary Notional Amount
-URI http://asc.fasb.org/extlink&oid=6519104
false2
3false
2us-gaap_DerivativeMaturityDatesus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1falsefalsefalse002021-12-31falsefalsetrue | 2falsefalsefalse00falsefalsefalse | xbrli:dateItemTypedateDate the derivative contract matures, in CCYY-MM-DD format.No definition available.false0
4false
2us-gaap_DebtInstrumentInterestRateStatedPercentageus-gaap_truenainstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1falsetruefalse00falsefalsefalse | 2truetruefalse0.02470.0247falsefalsefalse | num:percentItemTypepureContractual interest rate for funds borrowed, under the debt agreement.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 02
-Paragraph 22
-Article 5
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 210
-SubTopic 10
-Section S99
-Paragraph 1
-Subparagraph (SX 210.5-02.22(a)(1))
-URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682
false256
5false
2us-gaap_InterestRateDerivativeLiabilitiesAtFairValueus-gaap_truecreditinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1falsefalsefalse00falsefalsefalse | 2truefalsefalse5700057000USD$falsetruefalse | xbrli:monetaryItemTypemonetaryFair value as of the balance sheet date of interest rate derivative liabilities, which includes all such derivative instruments in hedging and nonhedging relationships that are recognized as liabilities.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 825
-SubTopic 10
-Section 50
-Paragraph 10
-Subparagraph (a)
-URI http://asc.fasb.org/extlink&oid=28364263&loc=d3e13433-108611
false2
falseFair value of financial instruments (Details) (USD $)NoRoundingUnKnownUnKnownUnKnowntruefalsefalseSheethttp://www.mfri.com/role/FairValueOfFinancialInstrumentsDetails25