2.4.0.8105 - Statement - Consolidated Statements of Comprehensive Income (Parenthetical)truefalseIn Thousands, unless otherwise specifiedfalse1false USDfalsefalse$eol_PE5967----1310-Q0005_STD_91_20130630_0http://www.sec.gov/CIK0000851205duration2013-04-01T00:00:002013-06-30T00:00:00iso4217_USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$2false USDfalsefalse$eol_PE5967----1310-Q0005_STD_91_20120701_0http://www.sec.gov/CIK0000851205duration2012-04-02T00:00:002012-07-01T00:00:00iso4217_USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$3false USDfalsefalse$eol_PE5967----1310-Q0005_STD_181_20130630_0http://www.sec.gov/CIK0000851205duration2013-01-01T00:00:002013-06-30T00:00:00iso4217_USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$4false USDfalsefalse$eol_PE5967----1310-Q0005_STD_183_20120701_0http://www.sec.gov/CIK0000851205duration2012-01-01T00:00:002012-07-01T00:00:00iso4217_USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$1true 1us-gaap_StatementOfIncomeAndComprehensiveIncomeAbstractus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalse4falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse02false 2us-gaap_OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodTaxus-gaap_truedebitdurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse-318000-318USD$falsetruefalse2truefalsefalse-91000-91USD$falsetruefalse3truefalsefalse-276000-276USD$falsetruefalse4truefalsefalse200000200USD$falsetruefalsexbrli:monetaryItemTypemonetaryAmount of tax expense (benefit) before reclassification adjustments of unrealized holding gain (loss) on available-for-sale securities.Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 220 -SubTopic 10 -Section 45 -Paragraph 12 -URI http://asc.fasb.org/extlink&oid=28358780&loc=d3e640-108580 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 220 -SubTopic 10 -Section 45 -Paragraph 10A -Subparagraph (e,f) -URI http://asc.fasb.org/extlink&oid=28358780&loc=SL7669646-108580 false23false 2us-gaap_OtherComprehensiveIncomeForeignCurrencyTranslationGainLossArisingDuringPeriodTaxus-gaap_truedebitdurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse4600046USD$falsetruefalse2truefalsefalse-403000-403USD$falsetruefalse3truefalsefalse-181000-181USD$falsetruefalse4truefalsefalse-197000-197USD$falsetruefalsexbrli:monetaryItemTypemonetaryAmount of tax expense (benefit), before reclassification adjustments of gain (loss) on foreign currency translation adjustments, foreign currency transactions designated and effective as economic hedges of a net investment in a foreign entity and intra-entity foreign currency transactions that are of a long-term-investment nature.Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 220 -SubTopic 10 -Section 45 -Paragraph 10A -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=28358780&loc=SL7669646-108580 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 830 -SubTopic 30 -Section 45 -Paragraph 20 -Subparagraph (c) -URI http://asc.fasb.org/extlink&oid=6915805&loc=d3e32211-110900 Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 220 -SubTopic 10 -Section 45 -Paragraph 12 -URI http://asc.fasb.org/extlink&oid=28358780&loc=d3e640-108580 false2falseConsolidated Statements of Comprehensive Income (Parenthetical) (USD $)ThousandsUnKnownUnKnownUnKnowntruefalsefalseSheethttp://www.cognex.com/taxonomy/role/StatementOfPartnersCapitalParenthetical43