XML 17 R5.htm IDEA: XBRL DOCUMENT 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 $ (57,996) $ (46,192)
Adjustments to reconcile net loss to net cash used in operating activities:    
Depreciation and amortization 2,500 2,037
Provision for doubtful accounts 996 84
Provision for warranties 2 133
Provision for inventory 708 468
Amortization of acquired inventory step-up 106 802
Change in fair value of warrants 333 151
Change in fair value of deferred consideration 18 (10)
Change in fair value of contingent consideration 2,178 768
Change in deferred revenue 275  
Non-cash portion of debt extinguishment loss   16
Amortization of debt discount and issuance costs 132 97
Non-cash interest expense   1
Stock-based compensation expense 10,077 4,777
Loss on disposal of property and equipment   12
Deferred income taxes   70
Changes in assets and liabilities, net of effects from acquisitions:    
Accounts receivable (9,476) 411
Inventories (2,827) 1,208
Prepaid expenses, other current assets and other assets (2,168) (2,083)
Insurance recovery receivable 33 9,300
Accounts payable 6,780 (478)
Accrued and other liabilities 3,789 3,613
Legal settlement payable (590) (9,900)
Customer deposits 2,283 (987)
Sales return liability 1,429  
Net cash used in operating activities (41,418) (35,702)
Cash flows from investing activities:    
Purchase of property and equipment (414) (1,173)
Business acquisitions, net of cash acquired   (18,455)
Net cash used in investing activities (414) (19,628)
Cash flows from financing activities:    
Proceeds from exercise of stock options 1,149 1,327
Proceeds from issuance of common stock under ESPP 993 647
Tax payments related to shares withheld for vested restricted stock units (RSUs) (1,419) (569)
Net proceeds from issuance of common stock 107,551  
Gross borrowings under the Term Loan 10,000 25,000
Gross borrowings under the Revolving Loan 12,109 5,000
Repayment of the Revolving Loan (12,109) (5,000)
Deferred financing costs (22) (646)
Net cash provided by financing activities 118,252 25,759
Net increase (decrease) in cash and cash equivalents 76,420 (29,571)
Cash and cash equivalents at:    
Beginning of period 26,588 67,212
End of period 103,008 37,641
Supplemental disclosure of cash flow information:    
Interest paid 2,526 305
Supplemental disclosure of non-cash investing and financing activities:    
Property and equipment in accounts payable and accrued liabilities 1,900 700
Acquisition of business, deferred and contingent consideration obligations at fair value   10,192
Non-cash deferred consideration settlement 1,000  
Non-cash settlement of assets held for sale in accounts payable $ 2,674  
Forgiveness of SVB Loan commitment fee   $ 750