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_falsenadurationfalsefalsefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse02false 2us-gaap_DerivativeLiabilityNotionalAmountus-gaap_truenainstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2truefalsefalse13000001300000USD$falsetruefalsexbrli: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 false23false 2us-gaap_DerivativeMaturityDatesus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse002021-12-31falsefalsetrue2falsefalsefalse00falsefalsefalsexbrli:dateItemTypedateDate the derivative contract matures, in CCYY-MM-DD format.No definition available.false04false 2us-gaap_DebtInstrumentInterestRateStatedPercentageus-gaap_truenainstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsetruefalse00falsefalsefalse2truetruefalse0.02470.0247falsefalsefalsenum: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 false2565false 2us-gaap_InterestRateDerivativeLiabilitiesAtFairValueus-gaap_truecreditinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2truefalsefalse5700057000USD$falsetruefalsexbrli: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 false2falseFair value of financial instruments (Details) (USD $)NoRoundingUnKnownUnKnownUnKnowntruefalsefalseSheethttp://www.mfri.com/role/FairValueOfFinancialInstrumentsDetails25