XML 20 R7.htm IDEA: XBRL DOCUMENT v3.22.0.1
CONSOLIDATED STATEMENTS OF CASH FLOWS - USD ($)
$ in Thousands
12 Months Ended
Jan. 31, 2022
Jan. 31, 2021
Jan. 31, 2020
CASH FLOWS FROM OPERATING ACTIVITIES:      
Net loss $ (41,459) $ (43,433) $ (144,348)
Adjustments to reconcile net loss to net cash provided by operating activities:      
Depreciation and amortization 78,234 75,478 59,424
Stock-based compensation expense 178,974 154,292 145,988
Amortization of deferred commissions 45,866 36,053 25,922
Other 2,862 1,071 (147)
Changes in operating assets and liabilities      
Accounts receivable, net (27,224) (18,875) (34,304)
Prepaid expenses and other assets (16,053) 6,348 (7,108)
Deferred commissions (59,240) (48,041) (43,962)
Operating lease right-of-use assets, net 41,825 40,726 35,449
Accounts payable, accrued expenses and other liabilities 15,325 (2,824) (5,951)
Operating lease liabilities (47,389) (45,725) (35,058)
Deferred revenue 63,097 41,764 48,808
Net cash provided by operating activities 234,818 196,834 44,713
CASH FLOWS FROM INVESTING ACTIVITIES:      
Purchases of short-term investments (170,000)    
Purchases of property and equipment, net of proceeds from sales (4,702) (9,052) (5,444)
Capitalized internal-use software costs (5,785) (7,438) (7,957)
Acquisitions, net of cash acquired (59,395)    
Other 514 107 105
Net cash used in investing activities (239,368) (16,383) (13,296)
CASH FLOWS FROM FINANCING ACTIVITIES:      
Repurchases of common stock (561,571)    
Proceeds from issuance of convertible debt, net of issuance costs (478) 336,375  
Purchase of capped calls related to convertible debt   (27,773)  
Proceeds from borrowings, net of borrowing costs (171) 30,000  
Principal payments on borrowings   (40,000)  
Payments of dividends to preferred stockholders (9,619)    
Proceeds from issuances of common stock under employee equity plans 25,373 28,856 29,390
Employee payroll taxes paid related to net settlement of restricted stock units (57,383) (48,761) (43,328)
Principal payments of finance lease liabilities (50,391) (60,020) (38,542)
Other (3,701)   (936)
Net cash (used in) provided by financing activities (172,861) 218,677 (53,416)
Effect of exchange rate changes on cash, cash equivalents, and restricted cash (1,212) 797 (171)
Net (decrease) increase in cash, cash equivalents, and restricted cash (178,623) 399,925 (22,170)
Cash, cash equivalents, and restricted cash, beginning of period [1] 595,511 195,586 217,756
Cash, cash equivalents, and restricted cash, end of period [1] 416,888 595,511 195,586
SUPPLEMENTAL DISCLOSURE OF CASH FLOW INFORMATION:      
Cash paid for interest, net of amounts capitalized 4,690 7,481 5,549
Cash paid for income taxes, net of tax refunds 2,009 1,472 2,835
SUPPLEMENTAL DISCLOSURE OF NONCASH INVESTING AND FINANCING ACTIVITIES:      
Increase in finance lease liabilities 3,501 $ 31,282 $ 103,420
Series A Convertible Preferred Stock      
CASH FLOWS FROM FINANCING ACTIVITIES:      
Series A convertible preferred stock, net of issuance costs $ 485,080    
[1] Restricted cash is included in prepaid expenses and other current assets for the periods presented.