Summary of Significant Accounting Policies | Summary of Significant Accounting Policies Basis of Presentation The accompanying consolidated financial statements include those of iRobot and its subsidiaries, after elimination of all intercompany accounts and transactions. iRobot has prepared the accompanying unaudited consolidated financial statements in conformity with accounting principles generally accepted in the United States (GAAP). The accompanying unaudited financial data as of July 1, 2017 , and for the three and six months ended July 1, 2017 and July 2, 2016 have been prepared by the Company pursuant to the rules and regulations of the Securities and Exchange Commission (SEC). Certain information and footnote disclosures normally included in financial statements prepared in accordance with GAAP have been condensed or omitted pursuant to such rules and regulations. However, the Company believes that the disclosures are adequate to make the information presented not misleading. The year-end balance sheet data were derived from audited financial statements, but do not include all disclosures required by GAAP. These consolidated financial statements should be read in conjunction with the Company’s audited consolidated financial statements and the notes thereto included in its Annual Report on Form 10-K for the fiscal year ended December 31, 2016 , filed with the SEC on February 17, 2017. In the opinion of management, all adjustments necessary to state fairly the Company's statement of financial position as of July 1, 2017 and results of operations, comprehensive income and cash flows for the periods ended July 1, 2017 and July 2, 2016 have been made. The results of operations, comprehensive income and cash flows for any interim period are not necessarily indicative of the operating results, comprehensive income and cash flows for the full fiscal year or any future periods. Use of Estimates The preparation of these financial statements in conformity with GAAP requires the Company to make estimates and assumptions that affect the reported amounts of assets and liabilities and the disclosure of contingent assets and liabilities as of the dates of the financial statements and the reported amounts of revenue and expenses during the reporting periods. On an ongoing basis, management evaluates these estimates and judgments, in particular those related to revenue recognition (specifically sales returns and other allowances); valuation allowances; assumptions used in valuing goodwill and intangible assets; assumptions used in accounting for business combinations; assumptions used in valuing stock-based compensation instruments, evaluating loss contingencies; and valuation allowances for deferred tax assets. Actual results may differ from the Company’s estimates. The Company bases these estimates and judgments on historical experience and various other factors that the Company believes are reasonable under the circumstances, the results of which form the basis for making judgments about the carrying values of assets and liabilities and the amounts of revenue and expenses that are not readily apparent from other sources. By their nature, estimates are subject to an inherent degree of uncertainty. Fiscal Year-End The Company operates and reports using a 52 -53 week fiscal year ending on the Saturday closest to December 31. Accordingly, the Company’s fiscal quarters end on the Saturday that falls closest to the last day of the third month of each quarter. Recent Accounting Pronouncements In May 2017, the Financial Accounting Standards Board (FASB) issued Accounting Standards Update (ASU) No. 2017-09, "Stock Compensation – Scope of Modification Accounting", that clarifies that all changes to share-based payment awards are not necessarily accounted for as a modification. Under the new guidance, modification accounting is required only if the fair value, the vesting conditions, or the classification of the award changes as a result of the change in terms or conditions. This guidance is effective prospectively beginning January 1, 2018, with early adoption permitted. This guidance will apply to any future modifications. The Company does not believe the standard will have a material effect on its consolidated financial statements. In January 2017, the FASB issued ASU No. 2017-04, "Intangibles - Goodwill and Other." ASU 2017-04 eliminates step 2 from the goodwill impairment test, instead requiring that an entity recognize an impairment charge for the amount by which the carrying amount of goodwill exceeds the reporting unit's fair value. ASU 2017-04 is effective for fiscal years beginning after December 15, 2019, including interim periods within those fiscal years, with early adoption permitted. The Company does not believe the standard will have a material effect on its consolidated financial statements. In January 2017, the FASB issued ASU No. 2017-01, "Business Combinations; Clarifying the Definition of a Business." ASU 2017-01 clarifies the definition of a business with the objective of adding guidance to assist entities with evaluating whether transactions should be accounted for as acquisitions (or disposals) of assets or businesses. The definition of a business affects many areas of accounting including acquisitions, disposals, goodwill, and consolidation. The guidance is effective for annual periods beginning after December 15, 2017, including interim periods within those periods. The Company is currently evaluating the impact of the standard on its consolidated financial statements. In October 2016, the FASB issued ASU No. 2016-16, "Income Taxes: Intra-Entity Transfers of Assets Other Than Inventory." ASU 2016-16 clarifies the accounting for the current and deferred income taxes for an intra-entity transfer of an asset other than inventory. ASU 2016-16 is effective for fiscal years beginning after December 15, 2017, including interim periods within those fiscal years, with early adoption permitted. The Company is currently evaluating the impact of the standard on its consolidated financial statements. In August 2016, the FASB issued ASU No. 2016-15, "Statement of Cash Flows: Classification of Certain Cash Receipts and Cash Payments." ASU 2016-15 refines how companies classify certain aspects of the cash flow statement in regards to debt prepayment, settlement of debt instruments, contingent consideration payments, proceeds from insurance claims and life insurance policies, distribution from equity method investees, beneficial interests in securitization transactions and separately identifiable cash flows. ASU 2016-15 is effective for annual periods beginning after December 15, 2017, and for interim periods within fiscal years beginning after December 15, 2018. Early adoption is permitted. The Company is currently evaluating the impact of the standard on its consolidated financial statements. In March 2016, the FASB issued ASU No. 2016-09, "Improvements to Employee Share-Based Payment Accounting," which simplifies several aspects of the accounting for share-based payment transactions, including the accounting for income taxes, forfeitures, and statutory tax withholding requirements, as well as classification in the statement of cash flows. The Company adopted ASU 2016-09 effective January 1, 2017. The adoption of this standard did not have a material impact on the Company's financial statements. Upon the adoption, the Company elected to account for forfeitures of share-based payments as they occur prospectively. In February 2016, the FASB issued ASU No. 2016-02, "Leases." ASU 2016-02 requires lessees to recognize the assets and liabilities on their balance sheet for the rights and obligations created by most leases and continue to recognize expenses on their income statements over the lease term. It will also require disclosures designed to give financial statement users information on the amount, timing, and uncertainty of cash flows arising from leases. The guidance is effective for annual reporting periods beginning after December 15, 2018 and interim periods within those fiscal years, with early adoption permitted. The Company is currently evaluating the impact of the standard on its consolidated financial statements. In July 2015, the FASB issued ASU No. 2015-11, "Inventory: Simplifying the Measurement of Inventory." ASU 2015-11 applies only to inventory for which cost is determined by methods other than last-in, first-out and the retail inventory method, which includes inventory that is measured using first-in, first-out or average cost. Inventory within the scope of this standard is required to be measured at the lower of cost and net realizable value. Net realizable value is the estimated selling prices in the ordinary course of business, less reasonably predictable costs of completion, disposal, and transportation. The Company adopted ASU 2015-11 effective January 1, 2017. The adoption of this standard did not have a material impact on the Company's consolidated financial statements. In May 2014, the FASB issued ASU No. 2014-09, "Revenue from Contracts with Customers," which provides guidance for revenue recognition. The standard’s core principle is that a company will recognize revenue when it transfers promised goods or services to customers in an amount that reflects the consideration to which the company expects to be entitled in exchange for those goods or services. The new guidance was originally effective for annual reporting periods beginning after December 15, 2016, including interim periods within those annual reporting periods. In July 2015, the FASB voted to defer the effective date of the new accounting guidance related to revenue recognition by one year to December 17, 2017 for annual reporting periods beginning after that date and permitted early adoption of the standard, but not before the original effective date of December 15, 2016. The standard will be effective for the Company beginning in the first quarter of 2018. The Company is continuing to evaluate the impact that the adoption of the new revenue recognition standard will have on its consolidated financial statements, but anticipates that the additional disclosure requirements will represent a significant change from current guidance. The Company currently anticipates adopting the standard using the modified retrospective method. From time to time, new accounting pronouncements are issued by FASB that are adopted by the Company as of the specified effective date. Unless otherwise discussed, the Company believes that recently issued standards, which are not yet effective, will not have a material impact on the Company’s consolidated financial statements upon adoption. Revenue Recognition The Company primarily derives its revenue from product sales. Until the divestiture of the defense and security business unit on April 4, 2016 (see Note 11), the Company also generated minimal revenue from government and commercial research and development contracts. The Company sells products directly to customers and indirectly through resellers and distributors. The Company recognizes revenue from sales of robots under the terms of the customer agreement upon transfer of title and risk of loss to the customer, net of estimated returns and allowances, provided that collection is determined to be reasonably assured and no significant obligations remain. Beginning in the third quarter of 2015, the Company introduced its first connected robot. Each sale of a connected robot represents a multi-element arrangement containing the robot, an app and potential future unspecified software upgrades. Revenue is allocated to the deliverables based on their relative selling prices which have been determined using best estimate of selling price (BESP), as the Company has not been able to establish vendor specific objective evidence (VSOE) or obtain relevant third party evidence (TPE). Revenue allocated to the app and unspecified software upgrades is then deferred and recognized on a straight-line basis over the period in which the Company expects to provide the upgrades which is the estimated life of the robot. Sales to retailers of consumer robots are typically subject to agreements allowing for limited rights of return, rebates and price protection. The Company also provides limited rights of returns for direct-to-consumer sales generated through its on-line stores and certain international distributors. Accordingly, the Company reduces revenue for its estimates of liabilities for these rights of return, rebates, discounts and promotions and price protection at the time the related sale is recorded. The estimates for rights of return are directly based on specific terms and conditions included in the customer agreements, historical returns experience and various other assumptions that the Company believes are reasonable under the circumstances. In the case of new product introductions, the estimates for returns applied to the new products are based upon the estimates for the most similar predecessor products until such time that the Company has enough actual returns experience for the new products, which is typically two holiday return cycles. At that time, the Company incorporates that data into the development of returns estimates for the new products. The Company updates its analysis of returns on a quarterly basis. If actual returns differ significantly from the Company's estimates, or if modifications to individual customer agreements are entered into that impact their rights of returns, such differences could result in an adjustment to previously established reserves and could have a material impact, either favorably or unfavorably, on the Company’s results of operations for the period in which the actual returns become known or the agreement is modified. In 2016, the Company began selling to one domestic distributor under an agreement that provides product return privileges. As a result, the Company recognizes revenue from sales to this distributor when the product is resold by the distributor. The estimates and adjustments for rebates and price protection are based on specific programs, expected usage and historical experience. Actual results could differ from these estimates. As of July 1, 2017, the Company had reserves for product returns of $38.3 million , discounts and promotions of $17.9 million and price protection of $4.1 million . As of December 31, 2016, the Company had reserves for product returns of $27.7 million , discounts and promotions of $21.9 million and price protection of $1.5 million . Prior to the Company's divestiture of the defense and security business unit on April 4, 2016 (see Note 11), the Company generated minimal revenue from government contracts. Under cost-plus-fixed-fee (CPFF) type contracts, the Company recognized revenue based on costs incurred plus a pro rata portion of the total fixed fee. Costs incurred included labor and material that were directly associated with individual CPFF contracts plus indirect overhead and general and administrative type costs based upon billing rates submitted by the Company to the Defense Contract Management Agency (DCMA). Annually, the Company submits final indirect billing rates to DCMA based upon actual costs incurred throughout the year. In the situation where the Company’s final actual billing rates are greater than the estimated rates used, the Company records a cumulative revenue adjustment in the period in which the rate differential is collected from the customer. These final billing rates are subject to audit by the Defense Contract Audit Agency (DCAA), which can occur several years after the final billing rates are submitted and may result in material adjustments to revenue recognized based on estimated final billing rates. As of July 1, 2017 , fiscal years 2015 and 2016 are open for audit by the DCAA. In the situation where the Company’s anticipated actual billing rates will be lower than the provisional rates used, the Company records a cumulative revenue adjustment in the period in which the rate differential is identified. Revenue on firm fixed price (FFP) contracts was recognized using the percentage-of-completion method. For government product FFP contracts, revenue was recognized as the product was shipped or in accordance with the contract terms. Costs and estimated gross margins on contracts were recorded as revenue as work was performed based on the percentage that incurred costs compared to estimated total costs utilizing the most recent estimates of costs and funding. Revenue earned in excess of billings, if any, was recorded as unbilled revenue. Billings in excess of revenue earned, if any, were recorded as deferred revenue. Stock-Based Compensation The Company accounts for stock-based compensation through recognition of the fair value of the stock-based compensation as a charge against earnings. Stock-based compensation cost for stock options is estimated at the grant date based on each option's fair value as calculated by the Black-Scholes option-pricing model. Stock-based compensation cost for restricted stock awards, time-based restricted stock units and performance-based restricted stock units is measured based on the closing fair market value of the Company's common stock on the date of grant. For performance-based restricted stock units, the compensation costs will be subsequently adjusted for assumptions of achievement during the period in which the assumption of achievement changes, as applicable. The Company recognizes stock-based compensation cost as expense ratably on a straight-line basis over the requisite service period. The Company has elected to account for forfeitures as they occur, rather than applying an estimated forfeiture rate, upon adoption of ASU 2016-09 in the first quarter of 2017. Net Income Per Share The following table presents the calculation of both basic and diluted net income per share: Three Months Ended Six Months Ended (In thousands, except per share amounts) July 1, 2017 July 2, 2016 July 1, 2017 July 2, 2016 Net income $ 7,903 $ 4,814 $ 24,262 $ 8,746 Weighted-average shares outstanding 27,516 27,360 27,410 28,198 Dilutive effect of employee stock options and restricted shares 1,262 476 1,171 519 Diluted weighted-average shares outstanding 28,778 27,836 28,581 28,717 Basic income per share $ 0.29 $ 0.18 $ 0.89 $ 0.31 Diluted income per share $ 0.27 $ 0.17 $ 0.85 $ 0.30 Restricted stock units and stock options representing approximately 0.0 million and 0.6 million shares of common stock for the three-month periods ended July 1, 2017 and July 2, 2016 , respectively, and approximately 0.0 million and 0.6 million shares of common stock for the six-month periods ended July 1, 2017 and July 2, 2016 , respectively, were excluded from the computation of diluted earnings per share for these periods because their effect would have been antidilutive. Income Taxes The Company is subject to taxation in the United States and various states and foreign jurisdictions. The statute of limitations for examinations by the Internal Revenue Service is closed for fiscal years prior to 2013. The statute of limitations for examinations by state tax authorities is closed for fiscal years prior to 2012. Federal carryforward attributes that were generated prior to fiscal year 2013 and state carryforward attributes that were generated prior to fiscal year 2012 may still be adjusted upon examination by the federal or state tax authorities if they either have been or will be used in a period for which the statute of limitations is still open. Deferred taxes are determined based on the difference between the financial statement and tax basis of assets and liabilities using enacted tax rates in effect in the years in which the differences are expected to reverse. Valuation allowances are provided if, based upon the weight of available evidence, it is more likely than not that some or all of the deferred tax assets will not be realized. The Company monitors the realization of its deferred tax assets based on changes in circumstances, for example, recurring periods of income for tax purposes following historical periods of cumulative losses, generation of tax credits compared to future utilization of credits, or changes in tax laws or regulations. The Company's income tax provision and its assessment of the ability to realize its deferred tax assets involve significant judgments and estimates. The Company is currently generating state research credits that exceed the amount being utilized. As a result of this trend, a valuation allowance may be needed in the future related to these state tax credits. The Company recorded a tax benefit of $2.1 million and a tax provision of $2.5 million for the three months ended July 1, 2017 and July 2, 2016 , respectively. The $2.1 million benefit for the three months ended July 1, 2017 resulted in an effective income tax rate of (36.9)% . The $2.5 million provision for the three months ended July 2, 2016 resulted in an effective income tax rate of 33.9% . The difference between the effective income tax rate of (36.9)% for the three months ended July 1, 2017 and 33.9% for the three months ended July 2, 2016 was primarily due to a $4.3 million tax benefit related to share-based compensation in accordance with ASU 2016-09, adopted in the first quarter of 2017. The Company recorded a tax provision of $3.2 million and $4.3 million for the six months ended July 1, 2017 and July 2, 2016, respectively. The $3.2 million provision for the six months ended July 1, 2017 resulted in an effective income tax rate of 11.5% . The $4.3 million provision for the six months ended July 2, 2016 resulted in an effective income tax rate of 32.8% . The difference between the effective income tax rate of 11.5% for the six months ended July 1, 2017 and 32.8% for the six months ended July 2, 2016 was primarily due to a $6.0 million tax benefit related to share-based compensation in accordance with ASU 2016-09, adopted in the first quarter of 2017. Financial Instruments and Hedging Activities The Company utilizes derivative instruments to hedge specific financial risks including foreign exchange risk. The Company does not engage in speculative hedging activity. In order to account for a derivative instrument as a hedge, specific criteria must be met, including: (i) ensuring at the inception of the hedge that formal documentation exists for both the hedging relationship and the entity’s risk management objective and strategy for undertaking the hedge and (ii) at the inception of the hedge and on an ongoing basis, the hedging relationship is expected to be highly effective in achieving offsetting changes in fair value attributed to the hedged risk during the period that the hedge is designated. Further, an assessment of effectiveness is required whenever financial statements or earnings are reported. Absent meeting these criteria, changes in fair value are recognized in other income, net, in the consolidated statements of income. Once the underlying forecasted transaction is realized, the gain or loss from the derivative designated as a hedge of the transaction is reclassified from accumulated other comprehensive income (loss) to the statement of income, in revenue. Any ineffective portion of the derivatives designated as cash flow hedges is recognized in current earnings. Fair Value Measurements The authoritative guidance for fair value establishes a three-tier fair value hierarchy, which prioritizes the inputs used in measuring fair value. These tiers include: Level 1, defined as observable inputs such as quoted prices in active markets; Level 2, defined as inputs other than quoted prices in active markets that are either directly or indirectly observable; and Level 3, defined as unobservable inputs in which little or no market data exists, therefore requiring an entity to develop its own assumptions. The Company’s financial assets and liabilities measured at fair value on a recurring basis at July 1, 2017 , were as follows: Fair Value Measurements as of July 1, 2017 Level 1 Level 2 (1) Level 3 (In thousands) Description Assets: Cash and cash equivalents Money market funds $ 132,666 $ — $ — Short term investments Corporate and government bonds — 39,939 — Other current assets Derivative instruments (Note 6) — 278 — Total assets measured at fair value $ 132,666 $ 40,217 $ — Liabilities: Accrued expenses Derivative instruments (Note 6) $ — $ 19 $ — Total liabilities measured at fair value $ — $ 19 $ — The Company’s financial assets and liabilities measured at fair value on a recurring basis at December 31, 2016 , were as follows: Fair Value Measurements as of Level 1 Level 2 (1) Level 3 (In thousands) Description Assets: Cash and cash equivalents Money market funds $ 156,980 $ — $ — Short term investments Corporate and government bonds — 39,930 — Other current assets Derivative instruments (Note 6) — 180 — Total assets measured at fair value $ 156,980 $ 40,110 $ — Liabilities: Accrued expenses Derivative instruments (Note 6) $ — $ 43 $ — Total liabilities measured at fair value $ — $ 43 $ — (1) Level 2 fair value estimates are based on observable inputs other than quoted prices in active markets for identical assets and liabilities, quoted prices for identical or similar assets or liabilities in inactive markets, or other inputs that are observable or can be corroborated by observable market data for substantially the full term of the assets or liabilities. |