Quarterly report pursuant to Section 13 or 15(d)

Condensed Consolidated Statements of Cash Flows

v3.10.0.1
Condensed Consolidated Statements of Cash Flows - USD ($)
$ in Thousands
9 Months Ended
Sep. 30, 2018
Sep. 30, 2017
Cash flows from operating activities:    
Net loss $ (43,319) $ (46,811)
Adjustments to reconcile net loss to net cash used in operating activities:    
Depreciation and amortization 1,383 176
Amortization of debt discounts and issuance costs   3,740
Costs of warrants issued 207 5,790
Write-off of debt discounts and debt issuance costs at IPO   10,132
Change in fair value of warrant liability (93) (7,114)
Provision for doubtful accounts 25 69
Stock-based compensation expense 9,963 13,611
Changes in assets and liabilities:    
Accounts receivable (8,327) (5,315)
Expenditures billable to clients (4,120) (1,783)
Prepaid expenses and other current assets (422) (1,641)
Accounts payable 6,040 3,519
Accrued media payments 8,126 2,597
Client advances 5,004 2,009
Other accrued liabilities (271) 651
Other liabilities 837  
Net cash used in operating activities (24,967) (20,370)
Cash flows from investing activities:    
Purchases of marketable securities   (39,850)
Proceeds from sales of marketable securities 21,000  
Capital expenditures (3,543) (16)
Intangible assets acquired (629) (30)
Acquisition of businesses, net of cash acquired (9,627)  
Deposits for operating leases   (774)
Net cash provided by (used in) investing activities 7,201 (40,670)
Cash flows from financing activities:    
Proceeds from common stock offerings, net 32,782 32,580
Proceeds from exercise of Primary Warrant   29,263
Proceeds received under the Bridge Loan Agreement   8,000
Proceeds from issuances of stock under employee stock plans 1,566 5
Debt issuance costs   (68)
Other   (56)
Net cash provided by financing activities 34,348 69,724
Net increase in cash and cash equivalents 16,582 8,684
Cash and cash equivalents, beginning of period 29,545 12,078
Cash and cash equivalents, end of period 46,127 20,762
Non-cash investing and financing activities:    
Conversion of convertible notes payable, including accrued interest, to common stock   28,782
Conversion of redeemable convertible preferred stock to common stock   $ 27,266
Shares issued for acquisition of businesses $ 11,855