XML 19 R7.htm IDEA: XBRL DOCUMENT v3.19.1
CONDENSED CONSOLIDATED STATEMENTS OF CASH FLOWS - USD ($)
$ in Thousands
3 Months Ended
Apr. 30, 2019
Apr. 30, 2018
Cash flows from operating activities    
Net loss $ (33,240) $ (26,555)
Adjustments to reconcile net loss to net cash provided by (used in) operating activities:    
Depreciation and amortization 2,323 817
Stock-based compensation 14,009 7,508
Amortization of debt discount and issuance costs 3,221 0
Amortization of finance right-of-use assets 994 0
Non-cash interest on finance lease liabilities 905 0
Deferred income taxes (557) 4
Accretion of discount on short-term investments (1,509) (381)
Change in operating assets and liabilities:    
Accounts receivable 10,960 14,018
Prepaid expenses and other current assets (260) (2,865)
Deferred commissions (2,987) (1,268)
Other long-term assets 32 (70)
Accounts payable (268) (639)
Deferred rent 0 472
Accrued liabilities 3,324 (1,967)
Deferred revenue 6,267 2,877
Net cash provided by (used in) operating activities 3,214 (8,049)
Cash flows from investing activities    
Purchases of property and equipment (389) (367)
Proceeds from maturities of marketable securities 140,000 58,000
Purchases of marketable securities (139,024) 0
Net cash provided by investing activities 587 57,633
Cash flows from financing activities    
Proceeds from exercise of stock options, including early exercised stock options 6,437 288
Repurchase of early exercised stock options (30) (152)
Net cash provided by financing activities 6,407 136
Effect of exchange rate changes on cash, cash equivalents, and restricted cash 19 (8)
Net increase in cash, cash equivalents and restricted cash 10,227 49,712
Cash, cash equivalents and restricted cash, beginning of period 148,347 62,427
Cash, cash equivalents and restricted cash, end of period 158,574 112,139
Cash paid during the period for:    
Income taxes, net of refunds 735 118
Noncash investing and financing activities    
Vesting of early exercised stock options 127 533
Purchases of property and equipment included in accounts payable and accrued liabilities 283 51
Construction in progress related to build-to-suit lease obligations $ 0 $ 4,225