XML 18 R6.htm IDEA: XBRL DOCUMENT v3.8.0.1
CONDENSED CONSOLIDATED STATEMENTS OF CASH FLOWS - USD ($)
$ in Thousands
3 Months Ended
Oct. 31, 2017
Oct. 31, 2016
Cash flows from operating activities:    
Net loss $ (61,487) $ (140,302) [1]
Adjustments to reconcile net loss to net cash provided by operating activities:    
Depreciation and amortization 11,333 8,572 [2]
Stock-based compensation 35,515 90,728 [2]
Loss on debt extinguishment 0 3,320 [2]
Change in fair value of convertible preferred stock warrant liability 0 21,133 [2]
Change in fair value of contingent consideration 282 186 [2]
Other 131 183 [2]
Changes in operating assets and liabilities:    
Accounts receivable—net 7,326 (36,213) [2]
Deferred commission (8,457) (4,780) [2]
Prepaid expenses and other assets (307) 840 [2]
Accounts payable (6,504) 5,052 [2]
Accrued compensation and benefits (7,220) 3,518 [2]
Accrued expenses and other liabilities (293) 717 [2]
Deferred revenue 39,788 51,206 [2]
Net cash provided by operating activities 10,107 4,160 [2]
Cash flows from investing activities:    
Purchases of property and equipment (17,965) (11,915) [2]
Purchases of investments (59,108) (87,448) [2]
Maturities of investments 35,920 19,950 [2]
Sale of investments 0 31,638 [2]
Payments for business acquisitions, net of cash acquired 0 (184) [2]
Net cash used in investing activities (41,153) (47,959) [2]
Cash flows from financing activities:    
Proceeds from sales of shares through employee equity incentive plans, net of repurchases 25,231 1,472 [2]
Proceeds from initial public offering, net of underwriting discounts and commissions 0 254,455 [2]
Payments of offering costs, net (85) (2,243) [2]
Repayment of senior notes 0 (75,000) [2]
Debt extinguishment costs 0 (1,580) [2]
Payment of debt in conjunction with a business acquisition 0 (7,124) [2]
Other 0 73 [2]
Net cash provided by financing activities 25,146 170,053 [2]
Net increase (decrease) in cash and cash equivalents (5,900) 126,254 [2]
Cash and cash equivalents—beginning of period 138,359 [3] 99,209 [2]
Cash and cash equivalents—end of period 132,459 225,463 [2]
Supplemental disclosures of cash flow information:    
Cash paid for income taxes 2,066 698 [2]
Cash paid for interest 0 1,271 [2]
Supplemental disclosures of non-cash investing and financing information:    
Vesting of early exercised stock options 249 499 [2]
Purchases of property and equipment included in accounts payable 7,084 5,033 [2]
Offering costs included in accounts payable 0 367 [2]
Conversion of convertible preferred stock to common stock, net of issuance costs 0 310,379 [2]
Reclassification of convertible preferred stock warrant liability to additional paid-in capital 0 30,812 [2]
Issuance of common stock for business acquisitions $ 0 $ 27,063 [2]
[1] See Note 3 for a summary of adjustments related to the adoption of the new revenue recognition standard.
[2] See Note 3 for a summary of adjustments related to the adoption of the new revenue recognition standard.
[3] See Note 3 for a summary of adjustments related to the adoption of the new revenue recognition standard.