Fair Value Measurements (Details) - USD ($) $ in Millions | 12 Months Ended | |
Jul. 31, 2017 | Jan. 31, 2018 |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis | | |
Cash equivalents | $ 0 | $ 329.2 |
Short-term investments | 630.7 | 720.7 |
Prepaid expenses and other current assets | 0 | 4.7 |
Long-term investments | 789.3 | 722.3 |
Total assets measured at fair value | 1,420 | 1,776.9 |
Accrued and other liabilities | 0 | 0.1 |
Total liabilities measured at fair value | 0 | 0.1 |
Impairment of property and equipment | 20.9 | |
Level 1 | | |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis | | |
Cash equivalents | 0 | 325.7 |
Short-term investments | 0 | 0 |
Prepaid expenses and other current assets | 0 | 0 |
Long-term investments | 0 | 0 |
Total assets measured at fair value | 0 | 325.7 |
Accrued and other liabilities | 0 | 0 |
Total liabilities measured at fair value | 0 | 0 |
Level 2 | | |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis | | |
Cash equivalents | 0 | 3.5 |
Short-term investments | 630.7 | 720.7 |
Prepaid expenses and other current assets | 0 | 4.7 |
Long-term investments | 789.3 | 722.3 |
Total assets measured at fair value | 1,420 | 1,451.2 |
Accrued and other liabilities | 0 | 0.1 |
Total liabilities measured at fair value | 0 | 0.1 |
Level 3 | | |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis | | |
Cash equivalents | 0 | 0 |
Short-term investments | 0 | 0 |
Prepaid expenses and other current assets | 0 | 0 |
Long-term investments | 0 | 0 |
Total assets measured at fair value | 0 | 0 |
Accrued and other liabilities | 0 | 0 |
Total liabilities measured at fair value | 0 | 0 |
Money market funds | | |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis | | |
Cash equivalents | 0 | 325.7 |
Money market funds | Level 1 | | |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis | | |
Cash equivalents | 0 | 325.7 |
Money market funds | Level 2 | | |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis | | |
Cash equivalents | 0 | 0 |
Money market funds | Level 3 | | |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis | | |
Cash equivalents | 0 | 0 |
U.S. government and agency securities | | |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis | | |
Cash equivalents | 0 | 3.5 |
Short-term investments | 471.3 | 532 |
Long-term investments | 597.4 | 555.5 |
U.S. government and agency securities | Level 1 | | |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis | | |
Cash equivalents | 0 | 0 |
Short-term investments | 0 | 0 |
Long-term investments | 0 | 0 |
U.S. government and agency securities | Level 2 | | |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis | | |
Cash equivalents | 0 | 3.5 |
Short-term investments | 471.3 | 532 |
Long-term investments | 597.4 | 555.5 |
U.S. government and agency securities | Level 3 | | |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis | | |
Cash equivalents | 0 | 0 |
Short-term investments | 0 | 0 |
Long-term investments | 0 | 0 |
Certificates of deposit | | |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis | | |
Short-term investments | 0 | 5.4 |
Long-term investments | 5.4 | 0 |
Certificates of deposit | Level 1 | | |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis | | |
Short-term investments | 0 | 0 |
Long-term investments | 0 | 0 |
Certificates of deposit | Level 2 | | |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis | | |
Short-term investments | 0 | 5.4 |
Long-term investments | 5.4 | 0 |
Certificates of deposit | Level 3 | | |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis | | |
Short-term investments | 0 | 0 |
Long-term investments | 0 | 0 |
Corporate debt securities | | |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis | | |
Short-term investments | 159.4 | 183.3 |
Long-term investments | 186.5 | 166.8 |
Corporate debt securities | Level 1 | | |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis | | |
Short-term investments | 0 | 0 |
Long-term investments | 0 | 0 |
Corporate debt securities | Level 2 | | |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis | | |
Short-term investments | 159.4 | 183.3 |
Long-term investments | 186.5 | 166.8 |
Corporate debt securities | Level 3 | | |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis | | |
Short-term investments | 0 | 0 |
Long-term investments | 0 | 0 |
Foreign currency forward contracts | | |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis | | |
Prepaid expenses and other current assets | 0 | 4.7 |
Accrued and other liabilities | 0 | 0.1 |
Foreign currency forward contracts | Level 1 | | |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis | | |
Prepaid expenses and other current assets | 0 | 0 |
Accrued and other liabilities | 0 | 0 |
Foreign currency forward contracts | Level 2 | | |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis | | |
Prepaid expenses and other current assets | 0 | 4.7 |
Accrued and other liabilities | 0 | 0.1 |
Foreign currency forward contracts | Level 3 | | |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis | | |
Prepaid expenses and other current assets | 0 | 0 |
Accrued and other liabilities | 0 | $ 0 |
Fair Value, Measurements, Nonrecurring | Level 3 | | |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis | | |
Leasehold improvements and other long-lived assets related to previous corporate headquarters | $ 4.2 | |