XML 20 R6.htm IDEA: XBRL DOCUMENT v3.10.0.1
Condensed Consolidated Statements of Cash Flows - USD ($)
$ in Thousands
6 Months Ended
Jul. 31, 2018
Jul. 31, 2017
[2]
Cash flows from operating activities:    
Net loss $ (65,169) $ (53,738) [1]
Adjustments to reconcile net loss to net cash used in operating activities:    
Stock-based compensation 32,357 20,884
Depreciation, amortization and accretion 3,699 3,288
Amortization of debt discount and issuance costs 6,413 0
Amortization of deferred commissions 9,613 7,006
Deferred income taxes (1,575) 0
Non-cash charitable contributions 1,008 0
Other 18 689
Changes in operating assets and liabilities, net of business combination:    
Accounts receivable (7,240) (1,311)
Deferred commissions (14,240) (9,517)
Prepaid expenses and other assets (800) (4,900)
Accounts payable 2,557 2,732
Accrued compensation 498 2,562
Accrued expenses and other liabilities 4,679 (1,601)
Deferred revenue 26,811 17,982
Net cash used in operating activities (1,371) (15,924)
Cash flows from investing activities:    
Capitalization of internal-use software costs (1,725) (2,743)
Purchases of property and equipment (9,790) (5,156)
Purchases of securities available for sale (320,018) (86,776)
Proceeds from maturities of securities available for sale 79,500 12,835
Proceeds from sales of securities available for sale 0 1,538
Payments for business acquisition, net of cash acquired (15,638) 0
Net cash used in investing activities (267,671) (80,302)
Cash flows from financing activities:    
Proceeds from initial public offering, net of underwriters' discounts and commissions 0 199,948
Proceeds from issuance of convertible senior notes, net of issuance costs 334,980 0
Purchase of convertible senior notes hedge (80,040) 0
Proceeds from issuance of warrants related to convertible notes 52,440 0
Payments of deferred offering costs 0 (4,038)
Proceeds from stock option exercises, net of repurchases 21,055 3,916
Proceeds from shares issued in connection with employee stock purchase plan 6,654 0
Other (206) (273)
Net cash provided by financing activities 334,883 199,553
Effects of changes in foreign currency exchange rates on cash and cash equivalents (632) 134
Net increase in cash, cash equivalents and restricted cash 65,209 103,461
Cash, cash equivalents and restricted cash at beginning of period 136,233 23,282
Cash, cash equivalents and restricted cash at end of period 201,442 126,743
Non-cash investing and financing activities:    
Vesting of early exercised common stock options 459 693
Issuance of common stock in connection with warrant exercises 0 272
Common stock issued as charitable contribution 1,008 0
Property and equipment acquired through tenant improvement allowance 22,237 0
Property and equipment and other accrued but not yet paid 605 271
Issuance of common stock in connection with business combination 0 2,160
Conversion of redeemable convertible preferred stock to common stock 0 228,362
Reconciliation of cash, cash equivalents and restricted cash within the condensed consolidated balance sheets to the amounts shown in the statements of cash flows above:    
Total cash, cash equivalents and restricted cash $ 136,233 $ 23,282
[1] See Note 2 for a summary of adjustments.
[2] See Note 2 for a summary of adjustments.