XML 47 R7.htm IDEA: XBRL DOCUMENT v3.19.3.a.u2
Condensed Consolidated Statements of Cash Flows - USD ($)
$ in Thousands
6 Months Ended
Jan. 31, 2020
Jan. 31, 2019
Cash Flows From Operating Activities    
Net loss $ (46,230) $ (11,143)
Adjustments to reconcile net loss to cash provided by operating activities:    
Depreciation and amortization expense 7,508 4,662
Impairment of assets 316 0
Amortization expense of acquired intangible assets 1,421 239
Amortization of deferred contract acquisition costs 11,425 8,781
Noncash operating lease costs 6,215  
Stock-based compensation expense 42,242 20,813
Accretion of purchased discounts, net of amortization of investment premiums (442) (1,125)
Other 248 202
Changes in operating assets and liabilities:    
Accounts receivable (1,432) (13,859)
Deferred contract acquisition costs (15,690) (13,472)
Prepaid expenses, other current and noncurrent assets (3,981) (2,778)
Accounts payable (603) (786)
Accrued expenses, other current and noncurrent liabilities (1,243) 1,042
Accrued compensation 3,475 (7,852)
Deferred revenue 28,820 41,997
Operating lease liabilities (5,189)  
Net cash provided by operating activities 26,860 26,721
Cash Flows From Investing Activities    
Purchases of property, equipment and other assets (15,099) (8,607)
Capitalized internal-use software (4,273) (903)
Acquired intangible assets 0 (1,480)
Purchases of short-term investments (147,543) (179,896)
Proceeds from maturities of short-term investments 126,013 71,603
Net cash used in investing activities (40,902) (119,283)
Cash Flows From Financing Activities    
Payments of offering costs related to initial public offering 0 (1,797)
Proceeds from issuance of common stock upon exercise of stock options 6,758 15,493
Proceeds from issuance of common stock under the employee stock purchase plan 5,334 8,691
Repurchases of unvested common stock 0 (22)
Repayments of notes receivable from stockholders 0 1,905
Net cash provided by financing activities 12,092 24,270
Net decrease in cash, cash equivalents and restricted cash (1,950) (68,292)
Cash, cash equivalents and restricted cash at beginning of period 78,484 136,147
Cash, cash equivalents and restricted cash at end of period 76,534 67,855
Supplemental Disclosure of Cash Flow Information:    
Cash paid for income taxes, net of tax refunds 1,473 1,121
Noncash activities    
Net change in purchased equipment included in accounts payable and accrued expenses (1,785) 1,544
Operating lease right-of-use assets obtained in exchange for operating lease obligations, net of terminations 20,905  
Vesting of early exercised common stock options 262 567
Net change in deferred offering costs accrued 0 (2,097)
Reconciliation of cash, cash equivalents and restricted cash to the consolidated balance sheets:    
Total cash, cash equivalents and restricted cash $ 76,534 $ 67,855