Fair Value Measurements | Fair Value Measurements Pursuant to the accounting guidance for fair value measurements and its subsequent updates, fair value is defined as the price that would be received from selling an asset or paid to transfer a liability in an orderly transaction between market participants at the measurement date. When determining the fair value measurements for assets and liabilities required or permitted to be recorded at fair value, the Company considers the principal or most advantageous market in which it would transact and it considers assumptions that market participants would use when pricing the asset or liability. Valuation techniques used by the Company are based upon observable and unobservable inputs. Observable or market inputs reflect market data obtained from independent sources, while unobservable inputs reflect the Company’s assumptions about market participant assumptions based on the best information available. Observable inputs are the preferred source of values. These two types of inputs create the following fair value hierarchy: Level 1 – Quoted prices in active markets for identical assets or liabilities. Level 2 – Quoted prices for similar instruments in active markets, quoted prices for identical or similar instruments in markets that are not active, and model-based valuation techniques for which all significant assumptions are observable in the market or can be corroborated by observable market data for substantially the full term of the assets or liabilities. Level 3 – Prices or valuations that require management inputs that are both significant to the fair value measurement and unobservable. The Company measures its cash equivalents, foreign currency exchange forward contracts and marketable debt securities at fair value and classifies its investments in accordance with the fair value hierarchy. The Company’s money market funds and U.S. treasuries are classified within Level 1 of the fair value hierarchy and are valued based on quoted prices in active markets for identical securities. The Company classifies its certificates of deposit, commercial paper, U.S. agency notes, corporate bonds and foreign currency exchange forward contracts within Level 2 of the fair value hierarchy as follows: Certificates of Deposit The Company reviews market pricing and other observable market inputs for the same or similar securities obtained from a number of industry standard data providers. In the event that a transaction is observed for the same or similar security in the marketplace, the price on that transaction reflects the market price and fair value on that day. In the absence of any observable market transactions for a particular security, the fair market value at period end would be equal to the par value. These inputs represent quoted prices for similar assets or these inputs have been derived from observable market data. Commercial Paper The Company reviews market pricing and other observable market inputs for the same or similar securities obtained from a number of industry standard data providers. In the event that a transaction is observed for the same or similar security in the marketplace, the price on that transaction reflects the market price and fair value on that day and then follows a revised accretion schedule to determine the fair market value at period end. In the absence of any observable market transactions for a particular security, the fair market value at period end is derived by accreting from the last observable market price. These inputs represent quoted prices for similar assets or these inputs have been derived from observable market data accreted mathematically to par. U.S. Agency Notes The Company reviews trading activity and pricing for its U.S. agency notes as of the measurement date. When sufficient quoted pricing for identical securities is not available, the Company uses market pricing and other observable market inputs for similar securities obtained from a number of industry standard data providers. These inputs represent quoted prices for similar assets in active markets or these inputs have been derived from observable market data. Corporate Bonds The Company reviews trading activity and pricing for each of the corporate bond securities in its portfolio as of the measurement date and determines if pricing data of sufficient frequency and volume in an active market exists in order to support Level 1 classification of these securities. If sufficient quoted pricing for identical securities is not available, the Company obtains market pricing and other observable market inputs for similar securities from a number of industry standard data providers. In instances where multiple prices exist for similar securities, these prices are used as inputs into a distribution-curve to determine the fair market value at period end. Foreign Currency Exchange Forward Contracts As discussed in Note 5, “Derivative Instruments” to the Notes to Condensed Consolidated Financial Statements, the Company mainly holds non-speculative foreign exchange forward contracts to hedge certain foreign currency exchange exposures. The Company estimates the fair values of derivatives based on quoted market prices or pricing models using current market rates. Where applicable, these models project future cash flows and discount the future amounts to a present value using market-based observable inputs including interest rate curves, credit risk, foreign exchange rates, and forward and spot prices for currencies. The following tables represent the Company’s fair value hierarchy for its assets and liabilities measured at fair value on a recurring basis (in thousands): As of July 1, 2017 As of December 31, 2016 Fair Value Measured Using Fair Value Measured Using Level 1 Level 2 Total Level 1 Level 2 Total Assets Money market funds $ 34,179 $ — $ 34,179 $ 41,773 $ — $ 41,773 Certificates of deposit — 240 240 — 1,881 1,881 Commercial paper — 20,931 20,931 — 39,310 39,310 Corporate bonds — 137,135 137,135 — 88,324 88,324 U.S. agency notes — 12,780 12,780 — 11,759 11,759 U.S. treasuries 40,941 — 40,941 52,092 — 52,092 Foreign currency exchange forward contracts 11 11 — 187 187 Total assets $ 75,120 $ 171,097 $ 246,217 $ 93,865 $ 141,461 $ 235,326 Liabilities Foreign currency exchange forward contracts $ — $ — $ — $ — $ (71 ) $ (71 ) During the three and six months ended July 1, 2017 , there were no transfers of assets or liabilities between Level 1 and Level 2 of the fair value hierarchy. As of July 1, 2017 and December 31, 2016, none of the Company’s existing securities were classified as Level 3 securities. Cash, cash equivalents and investments were as follows (in thousands): July 1, 2017 Adjusted Amortized Cost Gross Unrealized Gains Gross Unrealized Losses Fair Value Cash $ 80,648 $ — $ — $ 80,648 Money market funds 34,179 — — 34,179 Commercial paper 4,993 — — 4,993 Total cash and cash equivalents $ 119,820 $ — $ — $ 119,820 Commercial paper 15,945 — (7 ) 15,938 Corporate bonds 84,814 — (100 ) 84,714 U.S. agency notes 7,288 — (7 ) 7,281 U.S. treasuries 30,050 — (54 ) 29,996 Total short-term investments $ 138,097 $ — $ (168 ) $ 137,929 Certificates of deposit 240 — — 240 Corporate bonds 52,483 7 (69 ) 52,421 U.S. agency notes 5,510 — (11 ) 5,499 U.S. treasuries 10,973 — (28 ) 10,945 Total long-term investments $ 69,206 $ 7 $ (108 ) $ 69,105 Total cash, cash equivalents and investments $ 327,123 $ 7 $ (276 ) $ 326,854 December 31, 2016 Adjusted Amortized Cost Gross Unrealized Gains Gross Unrealized Losses Fair Value Cash $ 109,978 $ — $ — $ 109,978 Money market funds 41,773 — — 41,773 Commercial paper 8,892 — (1 ) 8,891 U.S. agency notes 1,999 — — 1,999 Total cash and cash equivalents $ 162,642 $ — $ (1 ) $ 162,641 Certificates of deposit 1,881 — — 1,881 Commercial paper 30,425 — (6 ) 30,419 Corporate bonds 63,097 1 (59 ) 63,039 U.S. agency notes 7,285 — (8 ) 7,277 U.S. treasuries 39,093 9 (21 ) 39,081 Total short-term investments $ 141,781 $ 10 $ (94 ) $ 141,697 Corporate bonds 25,374 — (89 ) 25,285 U.S. agency notes 2,499 — (16 ) 2,483 U.S. treasuries 13,032 2 (23 ) 13,011 Total long-term investments $ 40,905 $ 2 $ (128 ) $ 40,779 Total cash, cash equivalents and investments $ 345,328 $ 12 $ (223 ) $ 345,117 As of July 1, 2017 , the Company’s available-for-sale investments have a contractual maturity term of up to 23 months . Gross realized gains and losses on short-term and long-term investments were insignificant in all periods. The specific identification method is used to account for gains and losses on available-for-sale investments. As of July 1, 2017 , the Company had $257.7 million of cash, cash equivalents and short-term investments, including $49.6 million of cash and cash equivalents held by its foreign subsidiaries. The Company's cash in foreign locations is used for operational and investing activities in those locations, and the Company does not currently have the need or the intent to repatriate those funds to the United States. |