XML 17 R7.htm IDEA: XBRL DOCUMENT v3.20.2
CONSOLIDATED STATEMENTS OF CASH FLOWS - USD ($)
$ in Thousands
9 Months Ended
Sep. 30, 2020
Sep. 30, 2019
Cash flows from operating activities:    
Net loss $ (40,795) $ (60,708)
Adjustments to reconcile net loss to net cash provided by (used in) operating activities:    
Depreciation and amortization 7,980 4,604
Stock-based compensation 44,001 31,191
Other 1,009 (787)
Changes in operating assets and liabilities:    
Accounts receivable 7,774 (13,309)
Prepaid expenses and other current assets (6,690) 820
Deferred commissions 381 (5,089)
Other assets 17,691 (2,386)
Accounts payable and accrued expenses (3,873) 3,892
Accrued compensation (8,390) (5,350)
Deferred revenue 27,075 39,472
Other current and noncurrent liabilities 135 (22)
Net cash provided by (used in) operating activities 46,298 (7,672)
Cash flows from investing activities:    
Purchases of property and equipment (19,073) (10,262)
Purchases of short-term investments (157,557) (179,703)
Sales and maturities of short-term investments 168,175 174,485
Net cash used in investing activities (8,455) (15,480)
Cash flows from financing activities:    
Proceeds from loan agreement 2,000 0
Principal payments under finance lease obligations (11) (12)
Credit facility issuance costs (333) 0
Proceeds from stock issued in connection with the employee stock purchase plan 13,040 15,129
Proceeds from the exercise of stock options 15,782 15,448
Net cash provided by financing activities 30,478 30,565
Effect of exchange rate changes on cash and cash equivalents and restricted cash (1,359) (1,226)
Net increase in cash and cash equivalents and restricted cash 66,962 6,187
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 141,627 171,565
Supplemental disclosure of cash flow information:    
Cash paid for interest 254 73
Cash paid for income taxes 4,195 1,507
Supplemental cash flow information related to leases:    
Operating cash payments for operating leases $ 3,916 $ 3,297