CONDENSED CONSOLIDATED STATEMENTS OF CASH FLOWS - USD ($) $ in Thousands |
3 Months Ended |
Apr. 30, 2018 |
Apr. 30, 2017 |
| Cash flows from operating activities |
|
|
| Net loss |
$ (29,164)
|
$ (19,690)
|
| Adjustments to reconcile net loss to net cash used in operating activities: |
|
|
| Depreciation and amortization |
817
|
897
|
| Stock-based compensation |
7,508
|
4,454
|
| Deferred income taxes |
4
|
63
|
| Change in fair value of warrant liability |
0
|
(100)
|
| Change in operating assets and liabilities: |
|
|
| Accounts receivable |
14,312
|
4,755
|
| Prepaid expenses and other current assets |
(3,246)
|
(2,953)
|
| Deferred commissions |
(576)
|
749
|
| Other long-term assets |
(70)
|
(640)
|
| Accounts payable |
(639)
|
1,154
|
| Deferred rent |
472
|
(113)
|
| Accrued liabilities |
(1,967)
|
(3,041)
|
| Deferred revenue |
4,500
|
2,744
|
| Net cash used in operating activities |
(8,049)
|
(11,721)
|
| Cash flows from investing activities |
|
|
| Purchases of property and equipment |
(367)
|
(712)
|
| Proceeds from maturities of marketable securities |
58,000
|
47,230
|
| Purchases of marketable securities |
0
|
(64,620)
|
| Net cash provided by (used in) investing activities |
57,633
|
(18,102)
|
| Cash flows from financing activities |
|
|
| Proceeds from exercise of stock options, including early exercised stock options |
288
|
4,650
|
| Repurchase of early exercised stock options |
(152)
|
(4)
|
| Net cash provided by financing activities |
136
|
4,646
|
| Effect of exchange rate changes on cash, cash equivalents, and restricted cash |
(8)
|
67
|
| Net increase (decrease) in cash, cash equivalents, and restricted cash |
49,712
|
(25,110)
|
| Cash, cash equivalents, and restricted cash, beginning of period |
62,427
|
69,412
|
| Cash, cash equivalents, and restricted cash, end of period |
112,139
|
44,302
|
| Supplemental cash flow disclosure of noncash investing and financing activities |
|
|
| Vesting of early exercised stock options |
533
|
216
|
| Costs related to initial public offering included in accounts payable and accrued liabilities |
0
|
650
|
| Construction in progress related to build-to-suit lease obligations |
4,225
|
0
|
| Reconciliation of cash, cash equivalents, and restricted cash within the condensed consolidated balance sheets, end of period, to the amounts shown in the statements of cash flows above: |
|
|
| Total cash, cash equivalents and restricted cash |
$ 62,427
|
$ 69,412
|