XML 21 R7.htm IDEA: XBRL DOCUMENT v3.20.4
CONSOLIDATED STATEMENTS OF CASH FLOWS - USD ($)
$ in Thousands
12 Months Ended
Jan. 31, 2021
Jan. 31, 2020
Jan. 31, 2019
CASH FLOWS FROM OPERATING ACTIVITIES:      
Net loss $ (43,433) $ (144,348) $ (134,612)
Adjustments to reconcile net loss to net cash provided by operating activities:      
Depreciation and amortization 75,478 59,424 46,320
Stock-based compensation expense 154,292 145,988 119,296
Amortization of deferred commissions 36,053 25,922 17,323
Other 1,071 (147) (1,446)
Changes in operating assets and liabilities      
Accounts receivable, net (18,875) (34,304) (12,415)
Deferred commissions (48,041) (43,962) (37,561)
Operating lease right-of-use assets, net 40,726 35,449  
Prepaid expenses and other assets 6,348 (7,108) (4,999)
Accounts payable (12,301) (100) 1,655
Accrued expenses and other liabilities 9,477 (5,851) (2,172)
Operating lease liabilities (45,725) (35,058)  
Deferred revenue 41,764 48,808 63,932
Net cash provided by operating activities 196,834 44,713 55,321
CASH FLOWS FROM INVESTING ACTIVITIES:      
Purchases of property and equipment, net of proceeds from sales (9,052) (5,444) (14,806)
Capitalized internal-use software costs (7,438) (7,957) (2,761)
Other 107 105 1,416
Net cash used in investing activities (16,383) (13,296) (16,151)
CASH FLOWS FROM FINANCING ACTIVITIES:      
Proceeds from issuance of convertible debt, net of issuance costs paid of $8,625 336,375    
Purchase of capped calls related to convertible debt (27,773)    
Proceeds from borrowings, net of borrowing costs 30,000    
Principal payments on borrowings (40,000)    
Proceeds from exercise of stock options 10,261 5,965 16,326
Proceeds from issuances of common stock under employee stock purchase plan 18,595 23,425 21,861
Employee payroll taxes paid related to net share settlement of restricted stock units (48,761) (43,328) (43,824)
Principal payments of finance lease liabilities (60,020) (38,542) (23,930)
Acquisition related contingent consideration   (936)  
Net cash provided by (used in) financing activities 218,677 (53,416) (29,567)
Effect of exchange rate changes on cash, cash equivalents, and restricted cash 797 (171) (273)
Net increase (decrease) in cash, cash equivalents, and restricted cash 399,925 (22,170) 9,330
Cash, cash equivalents, and restricted cash, beginning of period 195,586 217,756 208,426
Cash, cash equivalents, and restricted cash, end of period 595,511 195,586 217,756
SUPPLEMENTAL DISCLOSURE OF CASH FLOW INFORMATION:      
Cash paid for interest, net of amounts capitalized 7,481 5,549 2,585
Cash paid for income taxes, net of tax refunds 1,472 2,835 1,600
SUPPLEMENTAL DISCLOSURE OF NONCASH INVESTING AND FINANCING ACTIVITIES:      
Increase in finance lease liabilities 31,282 [1] 103,420 [1] 50,999
CASH, CASH EQUIVALENTS, AND RESTRICTED CASH INFORMATION:      
Cash and cash equivalents, beginning of period 195,586 217,518 208,076
Restricted cash, beginning of period   238 350
Cash, cash equivalents, and restricted cash, beginning of period 195,586 217,756 208,426
Cash and cash equivalents, end of period 595,082 195,586 217,518
Restricted cash, end of period 429   238
Cash, cash equivalents, and restricted cash, end of period $ 595,511 $ 195,586 $ 217,756
[1] Amounts disclosed for the year ended January 31, 2020 include the adoption impact of ASC Topic 842 on the opening balance sheet as of February 1, 2019