Cash, Cash Equivalents, and Investments (Tables) | 3 Months Ended |
Apr. 30, 2020 |
Organization, Consolidation and Presentation of Financial Statements [Abstract] | |
Components of Cash and Cash Equivalents | Cash, cash equivalents, and investments consisted of the following: As of April 30, 2020 As of January 31, 2020 (in thousands) Cash and cash equivalents Cash $ 18,510 $ 2,131 Money market funds 120,395 118,899 Commercial paper 550 — U.S. Treasury securities — 2,994 Total cash and cash equivalents $ 139,455 $ 124,024 Available-for-sale investments: U.S. Treasury securities $ 21,082 $ 24,987 Commercial paper 10,419 20,132 Corporate debt securities 161,804 149,248 U.S. Government agency securities 5,000 4,973 Total available-for-sale investments $ 198,305 $ 199,340 Held-to-maturity investments: U.S. Treasury securities $ 6,012 $ 9,016 Commercial paper 1,495 5,985 Corporate debt securities 5,540 13,034 Total held-to-maturities investments $ 13,047 $ 28,035 Total investments $ 211,352 $ 227,375 |
Components of Available-for-sale Investments | Cash, cash equivalents, and investments consisted of the following: As of April 30, 2020 As of January 31, 2020 (in thousands) Cash and cash equivalents Cash $ 18,510 $ 2,131 Money market funds 120,395 118,899 Commercial paper 550 — U.S. Treasury securities — 2,994 Total cash and cash equivalents $ 139,455 $ 124,024 Available-for-sale investments: U.S. Treasury securities $ 21,082 $ 24,987 Commercial paper 10,419 20,132 Corporate debt securities 161,804 149,248 U.S. Government agency securities 5,000 4,973 Total available-for-sale investments $ 198,305 $ 199,340 Held-to-maturity investments: U.S. Treasury securities $ 6,012 $ 9,016 Commercial paper 1,495 5,985 Corporate debt securities 5,540 13,034 Total held-to-maturities investments $ 13,047 $ 28,035 Total investments $ 211,352 $ 227,375 |
Components of Held-to-maturity Investments | The following tables summarize the Company’s investments’ adjusted cost, net unrealized gains, and fair value by significant investment category as of April 30, 2020 and January 31, 2020 . Gross realized gains or losses from sales of available-for-sale securities were not material for the three months ended April 30, 2020 . As of April 30, 2020 Cost Basis Unrealized Gain, Net Recorded Basis Available-for-sale investments: U.S. Treasury securities $ 20,953 $ 129 $ 21,082 Commercial paper 10,415 4 10,419 Corporate debt securities 161,165 639 161,804 U.S. Government agency securities 4,993 7 5,000 Total available-for-sale investments $ 197,526 $ 779 $ 198,305 Held-to-maturity investments: U.S. Treasury securities $ 6,012 $ — $ 6,012 Commercial paper 1,495 — 1,495 Corporate debt securities 5,540 — 5,540 Total held-to-maturities investments $ 13,047 $ — $ 13,047 Total investments $ 210,573 $ 779 $ 211,352 As of January 31, 2020 Cost Basis Unrealized Gain, Net Recorded Basis Available-for-sale investments: U.S. Treasury securities $ 24,978 $ 9 $ 24,987 Commercial paper 20,128 4 20,132 Corporate debt securities 149,124 124 149,248 U.S. Government agency securities 4,973 — 4,973 Total available-for-sale investments $ 199,203 $ 137 $ 199,340 Held-to-maturity investments: U.S. Treasury securities $ 9,016 $ — $ 9,016 Commercial paper 5,985 — 5,985 Corporate debt securities 13,034 — 13,034 Total held-to-maturities investments $ 28,035 $ — $ 28,035 Total investments $ 227,238 $ 137 $ 227,375 Cash, cash equivalents, and investments consisted of the following: As of April 30, 2020 As of January 31, 2020 (in thousands) Cash and cash equivalents Cash $ 18,510 $ 2,131 Money market funds 120,395 118,899 Commercial paper 550 — U.S. Treasury securities — 2,994 Total cash and cash equivalents $ 139,455 $ 124,024 Available-for-sale investments: U.S. Treasury securities $ 21,082 $ 24,987 Commercial paper 10,419 20,132 Corporate debt securities 161,804 149,248 U.S. Government agency securities 5,000 4,973 Total available-for-sale investments $ 198,305 $ 199,340 Held-to-maturity investments: U.S. Treasury securities $ 6,012 $ 9,016 Commercial paper 1,495 5,985 Corporate debt securities 5,540 13,034 Total held-to-maturities investments $ 13,047 $ 28,035 Total investments $ 211,352 $ 227,375 |
Summary of Carrying Value of Available-for-sale Investments | The following tables summarize the Company’s investments’ adjusted cost, net unrealized gains, and fair value by significant investment category as of April 30, 2020 and January 31, 2020 . Gross realized gains or losses from sales of available-for-sale securities were not material for the three months ended April 30, 2020 . As of April 30, 2020 Cost Basis Unrealized Gain, Net Recorded Basis Available-for-sale investments: U.S. Treasury securities $ 20,953 $ 129 $ 21,082 Commercial paper 10,415 4 10,419 Corporate debt securities 161,165 639 161,804 U.S. Government agency securities 4,993 7 5,000 Total available-for-sale investments $ 197,526 $ 779 $ 198,305 Held-to-maturity investments: U.S. Treasury securities $ 6,012 $ — $ 6,012 Commercial paper 1,495 — 1,495 Corporate debt securities 5,540 — 5,540 Total held-to-maturities investments $ 13,047 $ — $ 13,047 Total investments $ 210,573 $ 779 $ 211,352 As of January 31, 2020 Cost Basis Unrealized Gain, Net Recorded Basis Available-for-sale investments: U.S. Treasury securities $ 24,978 $ 9 $ 24,987 Commercial paper 20,128 4 20,132 Corporate debt securities 149,124 124 149,248 U.S. Government agency securities 4,973 — 4,973 Total available-for-sale investments $ 199,203 $ 137 $ 199,340 Held-to-maturity investments: U.S. Treasury securities $ 9,016 $ — $ 9,016 Commercial paper 5,985 — 5,985 Corporate debt securities 13,034 — 13,034 Total held-to-maturities investments $ 28,035 $ — $ 28,035 Total investments $ 227,238 $ 137 $ 227,375 |
Summary of Contractual Maturities of Available-for-sale Securities | The following table presents the Company’s available-for-sale securities by contractual maturity date as of April 30, 2020 and January 31, 2020 : As of April 30, 2020 Cost Basis Recorded Basis Due within one year $ 133,841 $ 134,246 Due between one to five years 63,685 64,059 Total $ 197,526 $ 198,305 As of January 31, 2020 Cost Basis Recorded Basis Due within one year $ 128,127 $ 128,169 Due between one to five years 71,076 71,171 Total $ 199,203 $ 199,340 |