XML 16 R6.htm IDEA: XBRL DOCUMENT v3.8.0.1
CONDENSED CONSOLIDATED STATEMENTS OF CASH FLOWS (Unaudited) - USD ($)
$ in Thousands
3 Months Ended 12 Months Ended
Apr. 30, 2018
Apr. 30, 2017
Jan. 31, 2018
Jan. 31, 2017
CASH FLOWS FROM OPERATING ACTIVITIES:        
Net loss $ (36,637) $ (40,086)    
Adjustments to reconcile net loss to net cash provided by operating activities:        
Depreciation and amortization 11,395 9,572    
Stock-based compensation expense 26,613 22,946    
Amortization of deferred commissions 3,675 4,990    
Other (21) 22    
Changes in operating assets and liabilities:        
Accounts receivable, net 71,690 37,346    
Deferred commissions (4,716) (2,784)    
Prepaid expenses and other assets (5,200) (2,541)    
Accounts payable 475 7,182    
Accrued expenses and other liabilities (24,717) (10,967)    
Deferred rent 43 530    
Deferred revenue (24,160) (17,669)    
Net cash provided by operating activities 18,440 8,541 $ 61,800 $ (1,200)
CASH FLOWS FROM INVESTING ACTIVITIES:        
Purchases of property and equipment (4,040) (784)    
Proceeds from sale of property and equipment 1 27    
Net cash used in investing activities (4,039) (757)    
CASH FLOWS FROM FINANCING ACTIVITIES:        
Proceeds from exercise of stock options 3,362 2,456    
Proceeds from issuances of common stock under employee stock purchase plan 11,846 8,881    
Employee payroll taxes paid related to net share settlement of restricted stock units (13,295) (9,114)    
Payments of capital lease obligations (7,150) (3,736)    
Net cash used in financing activities (5,237) (1,513)    
Effect of exchange rate changes on cash, cash equivalents, and restricted cash (124) 29    
Net increase in cash, cash equivalents, and restricted cash 9,040 6,300    
Cash, cash equivalents, and restricted cash, beginning of period 208,426 204,172 204,172  
Cash, cash equivalents, and restricted cash, end of period 217,466 210,472 208,426 204,172
SUPPLEMENTAL DISCLOSURE OF CASH FLOW INFORMATION:        
Cash paid for interest, net of amounts capitalized 585 423    
Cash paid for income taxes, net of tax refunds 861 545    
SUPPLEMENTAL DISCLOSURE OF NONCASH INVESTING AND FINANCING ACTIVITIES:        
Change in accrued equipment purchases (2,568) (1,164)    
Purchases of property and equipment under capital lease 10,056 9,709    
Change in unpaid tax related to capital lease 85 235    
Timing of settlement of stock options exercise 1,007      
CASH, CASH EQUIVALENT AND RESTRICTED CASH INFORMATION:        
Cash and cash equivalents, beginning of period 208,076 177,391 177,391  
Restricted cash, beginning of period 350 26,781 26,781  
Cash, cash equivalents, and restricted cash, beginning of period 208,426 204,172 204,172  
Cash and cash equivalents, end of period 217,116 183,691 208,076 177,391
Restricted cash, end of period 350 26,781 350 26,781
Cash, cash equivalents, and restricted cash, end of period $ 217,466 $ 210,472 $ 208,426 $ 204,172