XML 17 R7.htm IDEA: XBRL DOCUMENT v3.20.2
Consolidated Statements of Cash Flows (Unaudited) - USD ($)
$ in Thousands
6 Months Ended
Jun. 30, 2020
Jun. 30, 2019
Cash flows from operating activities    
Net loss $ (12,504) $ (21,573)
Adjustments to reconcile net loss to net cash used in operating activities:    
Depreciation and amortization 1,678 1,116
Amortization of discount on debt 389 27
Stock-based compensation 2,170 1,416
Allowance for credit losses 944 494
Accretion on discount to marketable securities   (69)
Change in fair value of financial instrument (4,413)  
Changes in operating assets and liabilities:    
Accounts receivable (6,005) (3,748)
Prepaid expenses (2,253) 821
Deferred commissions (764) (1,973)
Accounts payable 1,871 256
Accrued and other current liabilities 468 3,092
Deferred revenue 1,425 (1,017)
Net cash used in operating activities (16,994) (21,158)
Cash flows from investing activities:    
Purchase of property and equipment (1,045) (4,069)
Maturity of marketable securities   23,450
Net cash (used in) provided by investing activities (1,045) 19,381
Cash flows from financing activities:    
Proceeds from exercise of stock options 896 172
Proceeds from debt 40,745 3,677
Repayment of debt (6,241) (1,025)
Net cash provided by financing activities 35,400 2,824
Net change in cash and cash equivalents and restricted cash 17,361 1,047
Cash and cash equivalents and restricted cash, beginning of period 9,150 13,897
Cash and cash equivalents and restricted cash, end of period $ 26,511 $ 14,944