XML 18 R7.htm IDEA: XBRL DOCUMENT v3.20.2
CONSOLIDATED STATEMENTS OF CASH FLOWS - USD ($)
$ in Thousands
6 Months Ended
Jun. 30, 2020
Jun. 30, 2019
Cash flows from operating activities:    
Net loss $ (34,937) $ (43,068)
Adjustments to reconcile net loss to net cash provided by (used in) operating activities:    
Depreciation and amortization 5,268 3,089
Stock-based compensation 28,701 20,692
Other 606 (1,022)
Changes in operating assets and liabilities:    
Accounts receivable 13,512 (658)
Prepaid expenses and other current assets 1,058 1,673
Deferred commissions 497 (2,432)
Other assets (13,177) 1,209
Accounts payable and accrued expenses (3,023) 5,646
Accrued compensation (5,274) (3,092)
Deferred revenue 2,182 17,430
Other current and noncurrent liabilities (276) (46)
Net cash provided by (used in) operating activities 21,491 (2,997)
Cash flows from investing activities:    
Purchases of property and equipment (11,004) (5,335)
Purchases of short-term investments (91,908) (102,453)
Sales and maturities of short-term investments 124,675 110,750
Net cash provided by investing activities 21,763 2,962
Cash flows from financing activities:    
Proceeds from loan agreement 2,000 0
Principal payments under finance lease obligations (8) (8)
Proceeds from stock issued in connection with the employee stock purchase plan 7,307 8,579
Proceeds from the exercise of stock options 10,974 12,727
Net cash provided by financing activities 20,273 21,298
Effect of exchange rate changes on cash and cash equivalents and restricted cash (1,463) (716)
Net increase in cash and cash equivalents and restricted cash 62,064 20,547
Cash and cash equivalents and restricted cash at beginning of period 74,665 165,378
Cash and cash equivalents and restricted cash at end of period 136,729 185,925
Supplemental disclosure of cash flow information:    
Cash paid for interest 16 49
Cash paid for income taxes 2,728 1,111
Supplemental cash flow information related to leases:    
Operating cash payments for operating leases 2,595 2,286
Supplemental disclosure of non-cash flow investing activities:    
Construction in progress $ 1,199 $ 611