XML 26 R7.htm IDEA: XBRL DOCUMENT v3.8.0.1
Consolidated Statements of Cash Flows - USD ($)
$ in Thousands
12 Months Ended
Dec. 31, 2017
Dec. 31, 2016
Dec. 31, 2015
Cash flows from operating activities:      
Net loss $ (79,774) $ (208,755) $ (147,082)
Adjustments to reconcile net loss to net cash used in operating activities:      
Depreciation and amortization of fixed assets 1,822 2,280 2,312
Amortization of intangible asset   15,223 27,442
Impairment of intangible asset     31,269
Write-down of inventory 1,654 385 2,274
Write-down of capitalized computer software development costs     62
Gain on purchase commitment     (243)
Loss on extinguishment of debt / conversion of debt   11,176 2,934
Write-off of deferred financing costs and debt discount   3,820 2,752
Amortization of deferred financing costs 509 1,304 1,290
Amortization of debt discount 2,297 3,118 3,867
Amortization of debt premium (564)    
Accretion of repayment premium on secured term debt     (345)
Share-based compensation 12,354 47,217 10,324
Gain on settlement of payable   (4,131)  
Bad debt expense 3 6 5
Gain on deconsolidation of subsidiary     (24,000)
Change in fair value of financial instruments (2,096) (4,380) (1,494)
Beneficial conversion feature expense on warrants   1,745  
Beneficial conversion feature expense on convertible debt   44,170  
Fair value of units issued to consultants   3,000  
Fair value of shares / units issued in settlement of obligation   4,360 13,647
Accrued legal settlement     10,350
Deferred taxes (437) 27 (3)
Paid-in-kind interest   14,695 11,434
Loss on equity method investment 7,599 13,625 2,776
Changes in operating assets and liabilities:      
Restricted cash     (89)
Accounts receivable, net 21 937 (1,313)
Inventories, net 95 1,133 1,930
Prepaid expenses and other assets (134) (479) 597
Accounts payable 1,605 530 (4,413)
Accrued expenses, other liabilities and deferred rent (4,652) 544 3,040
Deferred revenue (4,400) (4,500) (10,300)
Net cash used in operating activities (64,098) (52,950) (60,977)
Cash flows from investing activities:      
Purchases of fixed assets (479) (539) (161)
Net cash used in investing activities (479) (539) (161)
Cash flows from financing activities:      
Proceeds from issuance of common stock and warrants, net 95,954    
Proceeds from issuance of ESPP shares 30    
Proceeds from warrant exercises 37    
Proceeds from issuance of common stock in IPO, net   69,750  
Payments of initial public offering costs   (3,293) (445)
Payment of financing costs related to debt exchange agreements   (534)  
Proceeds from issuance of secured term debt     35,000
Proceeds from issuance of convertible debt     112,500
Payment of financing costs (20)   (4,069)
Principal payments on secured term debt   (380) (107,204)
Proceeds from related party loans     2,000
Repayment of related party loans   (3,000) (2,000)
Proceeds from issuance of Class A units, net     15,000
Proceeds from issuance of Class E redeemable convertible units, net   5,500 10,833
Proceeds from exercise of stock options   41 30
Net cash provided by financing activities 96,001 68,084 61,645
Net increase in cash and cash equivalents 31,424 14,595 507
Cash and cash equivalents, beginning of period 36,093 21,498 20,991
Cash and cash equivalents, end of period 67,517 36,093 21,498
Supplemental cash flow disclosures:      
Cash paid for interest 3,689 3,723 8,019
Cash paid for taxes 356 339 153
Non-cash investing and financing activities:      
Settlement of related party loan     500
Units issued in settlement of obligation   11,725 9,063
Capitalized lease obligations 208 230 20
Unpaid financing/offering costs   56 1,958
Equity method investment related to deconsolidation     24,000
Financing costs paid with convertible notes     2,260
Fair value of warrants issued to lenders     $ 6,300
Cost Method Investment in affiliate   1,242  
Beneficial conversion feature on convertible preferred stock 384 7,660  
Accretion of dividends on convertible preferred stock 1,534 642  
Beneficial conversion feature on Class E units at IPO   13,431  
Conversion of Class E units into common stock   (83,626)  
Conversion of convertible debt into common stock   176,615  
Conversion of convertible debt into convertible preferred stock   30,000  
Reclassification of warrants from liabilty to equity   1,716  
Fair value of warrants issued in private placement 1,651    
Fair value of modification to lender warrants $ 908    
Class E Redeemable Convertible Units [Member]      
Cash flows from financing activities:      
Proceeds from issuance of Class E redeemable convertible units, net   5,500  
Non-cash investing and financing activities:      
Conversion of Class E units into common stock   $ 83,628