XML 16 R6.htm IDEA: XBRL DOCUMENT v3.19.1
Condensed Consolidated Statements of Cash Flows (Unaudited) - USD ($)
$ in Thousands
3 Months Ended
Apr. 30, 2019
Apr. 30, 2018
Cash flows from operating activities:    
Net loss $ (45,722) $ (270,687)
Adjustments to reconcile net loss to net cash used in operating activities    
Depreciation and amortization 11,971 8,600
Amortization of deferred contract acquisition and fulfillment costs 14,260 9,246
Amortization of debt discount and transaction costs 6,454 0
Amortization of operating lease right-of-use assets 4,128  
Stock-based compensation expense 42,271 269,794
Deferred income taxes 52 (6)
Other (1,111) 2,225
Changes in operating assets and liabilities    
Accounts receivable 57,414 19,622
Contract assets (2,701) 2,546
Prepaid expenses and other current assets (7,107) (6,519)
Deferred contract acquisition and fulfillment costs (20,487) (12,326)
Other assets 541 440
Accounts payable 282 (7,218)
Accrued expenses 6,442 3,302
Accrued compensation (19,869) (16,947)
Contract liabilities 4,274 12,611
Operating lease liabilities (3,705)  
Other liabilities (1,732) 309
Net cash provided by operating activities 45,655 14,992
Cash flows from investing activities:    
Purchases of marketable securities (375,211) 0
Maturities of marketable securities 92,457 0
Purchases of strategic investments (15,500) 0
Purchases of property and equipment (15,237) (6,184)
Net cash used in investing activities (313,491) (6,184)
Cash flows from financing activities:    
Payment of tax withholding obligation on RSU settlement (56,137) 0
Proceeds from exercise of stock options 32,254 7,815
Proceeds from employee stock purchase plan 10,563 0
Payment of deferred offering costs 0 (2,194)
Net cash provided by (used in) financing activities (13,320) 5,621
Effect of foreign exchange on cash, cash equivalents and restricted cash (379) (2,069)
Net increase (decrease) in cash, cash equivalents and restricted cash (281,535) 12,360
Cash, cash equivalents and restricted cash at beginning of period 518,178 257,436
Cash, cash equivalents and restricted cash at end of period 236,643 269,796
Supplemental disclosure:    
Cash paid for interest 1,414 144
Cash paid for operating lease liabilities 4,729  
Cash paid for taxes 131 1,516
Non-cash investing and financing activities:    
Property and equipment in accounts payable and other accrued liabilities 3,791 3,238
Preferred stock accretion 0 353
Deferred offering costs accrued and unpaid 0 $ 1,173
Operating lease right-of-use assets exchanged for lease obligations 53,653  
Derecognition of build-to-suit lease $ 2,479