2.4.0.8031 - Disclosure - Organization and summary of significant accounting policies (Details)truefalseIn Thousands, unless otherwise specifiedfalse1falseUSDfalsefalse$Context_FYE_31-Dec-2011http://www.sec.gov/CIK0000884504duration2011-01-01T00:00:002011-12-31T00:00:00USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$1false3us-gaap_AllowanceForDoubtfulAccountsReceivableCurrentus-gaap_truecreditinstantfalsefalsefalsefalsefalsetruefalsefalseperiodStartLabel1truefalsefalse90009USD$falsetruefalsexbrli:monetaryItemTypemonetaryA valuation allowance for trade and other receivables due to an Entity within one year (or the normal operating cycle, whichever is longer) that are expected to be uncollectible.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 310
-SubTopic 10
-Section 50
-Paragraph 4
-URI http://asc.fasb.org/extlink&oid=7512638&loc=d3e5074-111524
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 02
-Paragraph 4
-Article 5
Reference 3: 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.4)
-URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682
false22false3us-gaap_ProvisionForDoubtfulAccountsus-gaap_truedebitdurationfalsefalsefalsefalsefalsefalsefalsefalseverboseLabel1truefalsefalse10001falsefalsefalsexbrli:monetaryItemTypemonetaryAmount of the current period expense charged against operations, the offset which is generally to the allowance for doubtful accounts for the purpose of reducing receivables, including notes receivable, to an amount that approximates their net realizable value (the amount expected to be collected).Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 95
-Paragraph 28
-LegacyDoc This reference is SUPERSEDED by the Accounting Standards Codification effective for interim and annual periods ending after September 15, 2009. This reference is included to help users transition from the previous accounting hierarchy and will be removed from future versions of this taxonomy.
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 230
-SubTopic 10
-Section 45
-Paragraph 28
-Subparagraph (a)
-URI http://asc.fasb.org/extlink&oid=6943989&loc=d3e3602-108585
Reference 3: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 225
-SubTopic 10
-Section S99
-Paragraph 2
-Subparagraph (SX 210.5-03.5)
-URI http://asc.fasb.org/extlink&oid=6880815&loc=d3e20235-122688
Reference 4: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 03
-Paragraph 5
-Article 5
false23false3us-gaap_AllowanceForDoubtfulAccountsReceivableChargeOffsus-gaap_truecreditdurationfalsefalsefalsefalsefalsefalsefalsetruenegatedLabel1truefalsefalse-10000-10falsefalsefalsexbrli:monetaryItemTypemonetaryAmount of direct write-downs of receivables charged against the allowance for doubtful accounts.No definition available.false24false3us-gaap_AllowanceForDoubtfulAccountsReceivableCurrentus-gaap_truecreditinstantfalsefalsefalsefalsefalsefalsetruefalseperiodEndLabel1truefalsefalse00USD$falsetruefalsexbrli:monetaryItemTypemonetaryA valuation allowance for trade and other receivables due to an Entity within one year (or the normal operating cycle, whichever is longer) that are expected to be uncollectible.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 310
-SubTopic 10
-Section 50
-Paragraph 4
-URI http://asc.fasb.org/extlink&oid=7512638&loc=d3e5074-111524
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 02
-Paragraph 4
-Article 5
Reference 3: 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.4)
-URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682
false2falseOrganization and summary of significant accounting policies (Details) (USD $)ThousandsUnKnownUnKnownUnKnowntruefalsefalseSheethttp://www.thermoenergy.com/role/OrganizationAndSummaryOfSignificantAccountingPoliciesDetails14