Investments | Investments Marketable Securities At July 31, 2015 , marketable securities consisted of the following (in thousands): Investments classified as Marketable Securities Amortized Cost Unrealized Gains Unrealized Losses Fair Value Corporate notes and obligations $ 579,895 $ 816 $ (992 ) $ 579,719 U.S. treasury securities 108,471 193 (7 ) 108,657 Mortgage backed obligations 59,620 93 (406 ) 59,307 Asset backed securities 166,818 93 (150 ) 166,761 Municipal securities 36,388 102 (44 ) 36,446 Foreign government obligations 2,091 16 (1 ) 2,106 U.S. agency obligations 14,172 11 (3 ) 14,180 Covered bonds 10,224 212 0 10,436 Total marketable securities $ 977,679 $ 1,536 $ (1,603 ) $ 977,612 At January 31, 2015 , marketable securities consisted of the following (in thousands): Investments classified as Marketable Securities Amortized Cost Unrealized Gains Unrealized Losses Fair Value Corporate notes and obligations $ 605,724 $ 3,031 $ (481 ) $ 608,274 U.S. treasury securities 73,226 257 (1 ) 73,482 Mortgage backed obligations 44,181 159 (415 ) 43,925 Asset backed securities 120,049 131 (43 ) 120,137 Municipal securities 36,447 115 (25 ) 36,537 Foreign government obligations 12,023 278 0 12,301 U.S. agency obligations 19,488 26 (4 ) 19,510 Covered bonds 66,816 1,185 0 68,001 Total marketable securities $ 977,954 $ 5,182 $ (969 ) $ 982,167 The duration of the investments classified as marketable securities is as follows (in thousands): As of July 31, January 31, Recorded as follows: Short-term (due in one year or less) $ 81,118 $ 87,312 Long-term (due after one year) 896,494 894,855 $ 977,612 $ 982,167 As of July 31, 2015 , the following marketable securities were in an unrealized loss position (in thousands): Less than 12 Months 12 Months or Greater Total Fair Value Unrealized Losses Fair Value Unrealized Losses Fair Value Unrealized Losses Corporate notes and obligations $ 322,777 $ (930 ) $ 17,977 $ (62 ) $ 340,753 $ (992 ) U.S. treasury securities 14,002 (7 ) 0 0 14,002 (7 ) Mortgage backed obligations 36,878 (227 ) 14,998 (179 ) 51,876 (406 ) Asset backed securities 98,740 (127 ) 6,230 (23 ) 104,970 (150 ) Municipal securities 8,683 (27 ) 6,046 (17 ) 14,729 (44 ) Foreign government obligations 1,579 (1 ) 0 0 1,579 (1 ) U.S. agency obligations 2,172 (3 ) 0 0 2,172 (3 ) $ 484,831 $ (1,322 ) $ 45,251 $ (281 ) $ 530,081 $ (1,603 ) The unrealized losses for each of the fixed rate marketable securities were less than $36,000 . The Company does not believe any of the unrealized losses represent an other-than-temporary impairment based on its evaluation of available evidence as of July 31, 2015 . The Company expects to receive the full principal and interest on all of these marketable securities. Fair Value Measurement All of the Company’s cash equivalents, marketable securities and foreign currency derivative contracts are classified within Level 1 or Level 2 because the Company’s cash equivalents, marketable securities and foreign currency derivative contracts are valued using quoted market prices or alternative pricing sources and models utilizing observable market inputs. The Company uses a three-tier fair value hierarchy, which prioritizes the inputs used in the valuation methodologies in measuring fair value: Level 1. Quoted prices (unadjusted) in active markets for identical assets or liabilities. Level 2. Other inputs that are directly or indirectly observable in the marketplace. Level 3. Unobservable inputs which are supported by little or no market activity. The following table presents information about the Company’s assets and liabilities that are measured at fair value as of July 31, 2015 and indicates the fair value hierarchy of the valuation (in thousands): Description Quoted Prices in Active Markets for Identical Assets (Level 1) Significant Other Observable Inputs (Level 2) Significant Unobservable Inputs (Level 3) Balances as of July 31, 2015 Cash equivalents (1): Time deposits $ 0 $ 122,970 $ 0 $ 122,970 Money market mutual funds 289,410 0 0 289,410 Marketable securities: Corporate notes and obligations 0 579,719 0 579,719 U.S. treasury securities 0 108,657 0 108,657 Mortgage backed obligations 0 59,307 0 59,307 Asset backed securities 0 166,761 0 166,761 Municipal securities 0 36,446 0 36,446 Foreign government obligations 0 2,106 0 2,106 U.S. agency obligations 0 14,180 0 14,180 Covered bonds 0 10,436 0 10,436 Foreign currency derivative contracts (2) 0 3,621 0 3,621 Total Assets $ 289,410 $ 1,104,203 $ 0 $ 1,393,613 Liabilities Foreign currency derivative contracts (3) $ 0 $ (2,213 ) $ 0 $ (2,213 ) Total Liabilities $ 0 $ (2,213 ) $ 0 $ (2,213 ) _____________ (1) Included in “cash and cash equivalents” in the accompanying condensed consolidated balance sheet as of July 31, 2015 , in addition to $677.0 million of cash. (2) Included in “prepaid expenses and other current assets” in the accompanying condensed consolidated balance sheet as of July 31, 2015 . (3) Included in “accounts payable, accrued expenses and other liabilities” in the condensed consolidated balance sheet as of July 31, 2015 . The following table presents information about the Company’s assets and liabilities that are measured at fair value as of January 31, 2015 and indicates the fair value hierarchy of the valuation (in thousands): Description Quoted Prices in Active Markets for Identical Assets (Level 1) Significant Other Observable Inputs (Level 2) Significant Unobservable Inputs (Level 3) Balances as of January 31, 2015 Cash equivalents (1): Time deposits $ 0 $ 292,487 $ 0 $ 292,487 Money market mutual funds 13,983 0 0 13,983 Marketable securities: Corporate notes and obligations 0 608,274 0 608,274 U.S. treasury securities 0 73,482 0 73,482 Mortgage backed obligations 0 43,925 0 43,925 Asset backed securities 0 120,137 0 120,137 Municipal securities 0 36,537 0 36,537 Foreign government obligations 0 12,301 0 12,301 U.S. agency obligations 0 19,510 0 19,510 Covered bonds 0 68,001 0 68,001 Foreign currency derivative contracts (2) 0 10,611 0 10,611 Total Assets $ 13,983 $ 1,285,265 $ 0 $ 1,299,248 Liabilities Foreign currency derivative contracts (3) $ 0 $ 5,694 $ 0 $ 5,694 Total Liabilities $ 0 $ 5,694 $ 0 $ 5,694 ______________ (1) Included in “cash and cash equivalents” in the accompanying condensed consolidated balance sheet as of January 31, 2015 , in addition to $601.6 million of cash. (2) Included in “prepaid expenses and other current assets” in the accompanying condensed consolidated balance sheet as of January 31, 2015 . (3) Included in “accounts payable, accrued expenses and other liabilities” in the accompanying condensed consolidated balance sheet as of January 31, 2015 . Derivative Financial Instruments The Company enters into foreign currency derivative contracts with financial institutions to reduce foreign exchange risk. The Company uses forward currency derivative contracts to minimize the Company’s exposure to balances primarily denominated in British pounds, Euros, Japanese yen, Canadian dollars and Australian dollars. The Company’s foreign currency derivative contracts, which are not designated as hedging instruments, are used to reduce the exchange rate risk associated primarily with intercompany receivables and payables. The Company’s derivative financial instruments program is not designated for trading or speculative purposes. As of July 31, 2015 and January 31, 2015 , the foreign currency derivative contracts that were not settled were recorded at fair value on the condensed consolidated balance sheets. Foreign currency derivative contracts are marked-to-market at the end of each reporting period with gains and losses recognized as other expense to offset the gains or losses resulting from the settlement or remeasurement of the underlying foreign currency denominated receivables and payables. While the contract or notional amount is often used to express the volume of foreign currency derivative contracts, the amounts potentially subject to credit risk are generally limited to the amounts, if any, by which the counterparties’ obligations under the agreements exceed the obligations of the Company to the counterparties. Details on outstanding foreign currency derivative contracts related primarily to intercompany receivables and payables are presented below (in thousands): As of July 31, 2015 January 31, 2015 Notional amount of foreign currency derivative contracts $ 762,454 $ 942,086 Fair value of foreign currency derivative contracts $ 1,408 $ 4,917 The fair value of the Company’s outstanding derivative instruments are summarized below (in thousands): Fair Value of Derivative Instruments As of Balance Sheet Location July 31, 2015 January 31, 2015 Derivative Assets Derivatives not designated as hedging instruments: Foreign currency derivative contracts Prepaid expenses and other current assets $ 3,621 $ 10,611 Derivative Liabilities Derivatives not designated as hedging instruments: Foreign currency derivative contracts Accounts payable, accrued expenses and other liabilities $ 2,213 $ 5,694 The effect of the derivative instruments not designated as hedging instruments on the condensed consolidated statements of operations during the three and six months ended July 31, 2015 and 2014 , respectively, are summarized below (in thousands): Derivatives Not Designated as Hedging Gains (Losses) on Derivative Instruments Three Months Ended Location 2015 2014 Foreign currency derivative contracts Other expense $ 9,494 $ (2,914 ) Derivatives Not Designated as Hedging Gains (Losses) on Derivative Instruments Six Months Ended Location 2015 2014 Foreign currency derivative contracts Other expense $ 14,069 $ (2,006 ) Strategic Investments The Company's strategic investments are composed of marketable equity securities and non-marketable equity and debt securities. Marketable equity securities are measured using quoted prices in their respective active markets and the non-marketable equity and debt securities are recorded at cost value. As of July 31, 2015 , the Company had six investments in marketable equity securities that have a fair value of $28.2 million , which includes an unrealized gain of $20.4 million . As of January 31, 2015 , the Company had four investments in marketable equity securities that had a fair value of $17.8 million , which included an unrealized gain of $13.1 million . As these are investments in publicly-held companies and are recorded at fair value, the unrealized gain is recorded in the condensed consolidated balance sheets within strategic investments and accumulated other comprehensive loss. The Company’s interest in non-marketable equity and debt securities consists of noncontrolling equity and debt investments in privately-held companies. The Company’s investments in these privately-held companies are reported at cost or marked down to fair value when an event or circumstance indicates an other-than-temporary decline in value has occurred. These investments are valued using significant unobservable inputs or data in an inactive market and the valuation requires the Company’s judgment due to the absence of market prices and inherent lack of liquidity. As of July 31, 2015 and January 31, 2015 , the cost of the Company’s investments in privately-held companies was $449.7 million and $158.0 million , respectively. These investments are presented on the condensed consolidated balance sheets within strategic investments. The estimated fair value of the Company's investments in privately-held companies was approximately $631.0 million and $280.0 million as of July 31, 2015 and January 31, 2015 , respectively. Due to the fact that the Company’s investments in privately-held companies are measured using the cost method of accounting, the unrealized gains of $181.3 million and $122.0 million as of July 31, 2015 and January 31, 2015 , respectively, are not recorded on the condensed consolidated balance sheets within strategic investments and accumulated other comprehensive loss. Investment Income Investment income consists of interest income, realized gains, and realized losses on the Company’s cash, cash equivalents and marketable securities. The components of investment income are presented below (in thousands): Three Months Ended July 31, Six Months Ended July 31, 2015 2014 2015 2014 Interest income $ 3,169 $ 2,567 $ 6,219 $ 4,331 Realized gains 813 229 2,940 346 Realized losses (699 ) (141 ) (1,315 ) (244 ) Total investment income $ 3,283 $ 2,655 $ 7,844 $ 4,433 Reclassification adjustments out of accumulated other comprehensive loss into net income (loss) were immaterial for the three and six months ended July 31, 2015 and 2014 , respectively. |