XML 22 R7.htm IDEA: XBRL DOCUMENT v3.20.2
CONDENSED CONSOLIDATED STATEMENTS OF CASH FLOWS - USD ($)
$ in Thousands
3 Months Ended 12 Months Ended
Oct. 31, 2020
Oct. 31, 2019
Jul. 31, 2020
Cash flows from operating activities:      
Net loss $ (265,048) $ (229,300)  
Adjustments to reconcile net loss to net cash used in operating activities:      
Depreciation and amortization 23,499 22,462  
Stock-based compensation 89,198 81,426  
Change in fair value of derivative liability 64,740 0  
Amortization of debt discount and issuance costs 11,708 7,635  
Operating lease cost, net of accretion 8,347 6,671  
Impairment of lease-related assets 2,822 0 $ 3,000
Non-cash interest expense 1,952 0  
Other 1,671 103  
Changes in operating assets and liabilities:      
Accounts receivable, net 60,094 30,592  
Deferred commissions (28,230) (18,313)  
Prepaid expenses and other assets 6,222 16,150  
Accounts payable (4,075) 5,208  
Accrued compensation and benefits 10,041 (4,786)  
Accrued expenses and other liabilities (1,238) (5,772)  
Operating leases, net (7,970) (3,469)  
Deferred revenue 22,194 65,230  
Net cash provided by operating activities (4,073) (26,163)  
Cash flows from investing activities:      
Maturities of investments 97,578 171,441  
Purchases of investments (513,998) (321,474)  
Sales of investments 0 7,870  
Purchases of property and equipment (12,252) (18,203)  
Net cash used in investing activities (428,672) (160,366)  
Cash flows from financing activities:      
Proceeds from sales of shares through employee equity incentive plans 19,600 23,973  
Proceeds from the issuance of convertible notes, net of issuance costs 723,757 0  
Repurchases of common stock (125,079) 0  
Net cash provided by financing activities 618,278 23,973  
Net (decrease) increase in cash, cash equivalents and restricted cash 185,533 (162,556)  
Cash, cash equivalents and restricted cash—beginning of period 321,991 399,520 399,520
Cash, cash equivalents and restricted cash—end of period 507,524 236,964 321,991
Restricted cash [1] 3,042 3,144  
Cash and cash equivalents—end of period 504,482 233,820 $ 318,737
Supplemental disclosures of cash flow information:      
Cash paid for income taxes 5,050 7,779  
Supplemental disclosures of non-cash investing and financing information:      
Purchases of property and equipment included in accounts payable and accrued liabilities $ 2,948 $ 12,200  
[1] Included within other assets—non-current in the condensed consolidated balance sheets.