2.4.0.8038 - Disclosure - Convertible debt (Details)truefalseIn Thousands, unless otherwise specifiedfalse1falseUSDfalsefalse$Context_As_Of_31-Mar-2013http://www.sec.gov/CIK0000884504instant2013-03-31T00:00:000001-01-01T00:00:00USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$2falseUSDfalsefalse$Context_As_Of_31-Dec-2012http://www.sec.gov/CIK0000884504instant2012-12-31T00:00:000001-01-01T00:00:00USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$3falseUSDfalsefalse$Context_As_Of_31-Dec-2011http://www.sec.gov/CIK0000884504instant2011-12-31T00:00:000001-01-01T00:00:00USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$1false4us-gaap_ConvertibleDebtus-gaap_truecreditinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse31870003187USD$falsetruefalse2truefalsefalse30880003088USD$falsetruefalse3truefalsefalse28210002821USD$falsetruefalsexbrli:monetaryItemTypemonetaryIncluding the current and noncurrent portions, carrying amount of debt identified as being convertible into another form of financial instrument (typically the entity's common stock) as of the balance sheet date, which originally required full repayment more than twelve months after issuance or greater than the normal operating cycle of the company.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 942
-SubTopic 210
-Section S99
-Paragraph 1
-Subparagraph (SX 210.9-03.16)
-URI http://asc.fasb.org/extlink&oid=6876686&loc=d3e534808-122878
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 03
-Paragraph 16
-Article 9
Reference 3: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 944
-SubTopic 210
-Section S99
-Paragraph 1
-Subparagraph (SX 210.7-03.16(a)(2))
-URI http://asc.fasb.org/extlink&oid=6879938&loc=d3e572229-122910
Reference 4: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 02
-Paragraph 19, 20, 22
-Article 5
false22false4us-gaap_ConvertibleDebtCurrentus-gaap_truecreditinstantfalsefalsefalsefalsefalsefalsefalsetruenegatedLabel1truefalsefalse-3187000-3187USD$falsefalsefalse2truefalsefalse-1250000-1250USD$falsefalsefalse3truefalsefalse-1250000-1250USD$falsefalsefalsexbrli:monetaryItemTypemonetaryThe portion of the carrying value of long-term convertible debt as of the balance sheet date that is scheduled to be repaid within one year or in the normal operating cycle if longer. Convertible debt is a financial instrument which can be exchanged for a specified amount of another security, typically the entity's common stock, at the option of the issuer or the holder.Reference 1: 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.20)
-URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 02
-Paragraph 19, 20
-Article 5
false23false4us-gaap_ConvertibleDebtNoncurrentus-gaap_truecreditinstantfalsefalsefalsefalsefalsefalsefalsefalseverboseLabel1truefalsefalse00USD$falsefalsefalse2truefalsefalse18380001838USD$falsefalsefalse3truefalsefalse15710001571USD$falsefalsefalsexbrli:monetaryItemTypemonetaryCarrying amount of long-term convertible debt as of the balance sheet date, net of the amount due in the next twelve months or greater than the normal operating cycle, if longer. The debt is convertible into another form of financial instrument, typically the entity's common stock.Reference 1: 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)
-URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 02
-Paragraph 22
-Article 5
false24false0truefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalse4falseUSDtruefalse$Context_As_Of_31-Dec-2012_DebtInstrumentAxis_Roenigk2007ConvertiblePromissoryNoteMemberhttp://www.sec.gov/CIK0000884504instant2012-12-31T00:00:000001-01-01T00:00:00falsefalseRoenigk 2007 Convertible Promissory Note [Member]us-gaap_DebtInstrumentAxisxbrldihttp://xbrl.org/2006/xbrlditmenob_Roenigk2007ConvertiblePromissoryNoteMemberus-gaap_DebtInstrumentAxisexplicitMemberUSDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$nanafalse05false4us-gaap_ConvertibleDebtus-gaap_truecreditinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2truefalsefalse00USD$falsefalsefalse3truefalsefalse860000860USD$falsefalsefalsexbrli:monetaryItemTypemonetaryIncluding the current and noncurrent portions, carrying amount of debt identified as being convertible into another form of financial instrument (typically the entity's common stock) as of the balance sheet date, which originally required full repayment more than twelve months after issuance or greater than the normal operating cycle of the company.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 942
-SubTopic 210
-Section S99
-Paragraph 1
-Subparagraph (SX 210.9-03.16)
-URI http://asc.fasb.org/extlink&oid=6876686&loc=d3e534808-122878
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 03
-Paragraph 16
-Article 9
Reference 3: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 944
-SubTopic 210
-Section S99
-Paragraph 1
-Subparagraph (SX 210.7-03.16(a)(2))
-URI http://asc.fasb.org/extlink&oid=6879938&loc=d3e572229-122910
Reference 4: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 02
-Paragraph 19, 20, 22
-Article 5
false26false0truefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalse6falseUSDtruefalse$Context_As_Of_31-Dec-2012_DebtInstrumentAxis_Roenigk2008ConvertiblePromissoryNoteMemberhttp://www.sec.gov/CIK0000884504instant2012-12-31T00:00:000001-01-01T00:00:00falsefalseRoenigk 2008 Convertible Promissory Note [Member]us-gaap_DebtInstrumentAxisxbrldihttp://xbrl.org/2006/xbrlditmenob_Roenigk2008ConvertiblePromissoryNoteMemberus-gaap_DebtInstrumentAxisexplicitMemberUSDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$nanafalse07false4us-gaap_ConvertibleDebtus-gaap_truecreditinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2truefalsefalse00USD$falsefalsefalse3truefalsefalse711000711USD$falsefalsefalsexbrli:monetaryItemTypemonetaryIncluding the current and noncurrent portions, carrying amount of debt identified as being convertible into another form of financial instrument (typically the entity's common stock) as of the balance sheet date, which originally required full repayment more than twelve months after issuance or greater than the normal operating cycle of the company.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 942
-SubTopic 210
-Section S99
-Paragraph 1
-Subparagraph (SX 210.9-03.16)
-URI http://asc.fasb.org/extlink&oid=6876686&loc=d3e534808-122878
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 03
-Paragraph 16
-Article 9
Reference 3: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 944
-SubTopic 210
-Section S99
-Paragraph 1
-Subparagraph (SX 210.7-03.16(a)(2))
-URI http://asc.fasb.org/extlink&oid=6879938&loc=d3e572229-122910
Reference 4: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 02
-Paragraph 19, 20, 22
-Article 5
false28false0truefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalse8falseUSDtruefalse$Context_As_Of_31-Mar-2013_DebtInstrumentAxis_December2011ConvertiblePromissoryNotesMemberhttp://www.sec.gov/CIK0000884504instant2013-03-31T00:00:000001-01-01T00:00:00falsefalseDecember 2011 Convertible Promissory Notes [Member]us-gaap_DebtInstrumentAxisxbrldihttp://xbrl.org/2006/xbrlditmenob_December2011ConvertiblePromissoryNotesMemberus-gaap_DebtInstrumentAxisexplicitMemberUSDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$nanafalse09false4us-gaap_ConvertibleDebtus-gaap_truecreditinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse12500001250USD$falsefalsefalse2truefalsefalse12500001250USD$falsefalsefalse3truefalsefalse12500001250USD$falsefalsefalsexbrli:monetaryItemTypemonetaryIncluding the current and noncurrent portions, carrying amount of debt identified as being convertible into another form of financial instrument (typically the entity's common stock) as of the balance sheet date, which originally required full repayment more than twelve months after issuance or greater than the normal operating cycle of the company.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 942
-SubTopic 210
-Section S99
-Paragraph 1
-Subparagraph (SX 210.9-03.16)
-URI http://asc.fasb.org/extlink&oid=6876686&loc=d3e534808-122878
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 03
-Paragraph 16
-Article 9
Reference 3: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 944
-SubTopic 210
-Section S99
-Paragraph 1
-Subparagraph (SX 210.7-03.16(a)(2))
-URI http://asc.fasb.org/extlink&oid=6879938&loc=d3e572229-122910
Reference 4: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 02
-Paragraph 19, 20, 22
-Article 5
false210false0truefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalse11falseUSDtruefalse$Context_As_Of_31-Mar-2013_DebtInstrumentAxis_Roenigk2012ConvertiblePromissoryNoteMemberhttp://www.sec.gov/CIK0000884504instant2013-03-31T00:00:000001-01-01T00:00:00falsefalseRoenigk 2012 Convertible Promissory Note [Member]us-gaap_DebtInstrumentAxisxbrldihttp://xbrl.org/2006/xbrlditmenob_Roenigk2012ConvertiblePromissoryNoteMemberus-gaap_DebtInstrumentAxisexplicitMemberUSDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$nanafalse011false4us-gaap_ConvertibleDebtus-gaap_truecreditinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse19370001937USD$falsetruefalse2truefalsefalse18380001838USD$falsetruefalse3truefalsefalse00USD$falsetruefalsexbrli:monetaryItemTypemonetaryIncluding the current and noncurrent portions, carrying amount of debt identified as being convertible into another form of financial instrument (typically the entity's common stock) as of the balance sheet date, which originally required full repayment more than twelve months after issuance or greater than the normal operating cycle of the company.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 942
-SubTopic 210
-Section S99
-Paragraph 1
-Subparagraph (SX 210.9-03.16)
-URI http://asc.fasb.org/extlink&oid=6876686&loc=d3e534808-122878
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 03
-Paragraph 16
-Article 9
Reference 3: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 944
-SubTopic 210
-Section S99
-Paragraph 1
-Subparagraph (SX 210.7-03.16(a)(2))
-URI http://asc.fasb.org/extlink&oid=6879938&loc=d3e572229-122910
Reference 4: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 02
-Paragraph 19, 20, 22
-Article 5
false2falseConvertible debt (Details) (USD $)ThousandsUnKnownUnKnownUnKnowntruefalsefalseSheethttp://www.thermoenergy.com/role/ConvertibleDebtDetails311