2.4.0.8109 - Statement - Consolidated Statement of Shareholders' Equity (Parenthetical)truefalseIn Thousands, unless otherwise specifiedfalse1false 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$1true 1us-gaap_StatementOfStockholdersEquityAbstractus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse02false 2us-gaap_OtherComprehensiveIncomeLossAvailableForSaleSecuritiesTaxus-gaap_truedebitdurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse276000276USD$falsetruefalsexbrli:monetaryItemTypemonetaryAmount of tax expense (benefit), after reclassification adjustments, of appreciation (loss) in value of unsold available-for-sale securities. Excludes amounts related to other than temporary impairment (OTTI) loss.Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 220 -SubTopic 10 -Section 45 -Paragraph 10A -Subparagraph (e) -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 220 -SubTopic 10 -Section 45 -Paragraph 12 -URI http://asc.fasb.org/extlink&oid=28358780&loc=d3e640-108580 false23false 2us-gaap_OtherComprehensiveIncomeLossForeignCurrencyTranslationAdjustmentTaxus-gaap_truedebitdurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse181000181USD$falsetruefalsexbrli:monetaryItemTypemonetaryAmount of tax expense (benefit), after 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 220 -SubTopic 10 -Section 45 -Paragraph 12 -URI http://asc.fasb.org/extlink&oid=28358780&loc=d3e640-108580 false2falseConsolidated Statement of Shareholders' Equity (Parenthetical) (USD $)ThousandsUnKnownUnKnownUnKnowntruefalsefalseSheethttp://www.cognex.com/taxonomy/role/StatementOfShareholdersEquityAndOtherComprehensiveIncomeParenthetical13