v3.8.0.1
Condensed Consolidated Statements of Cash Flows - USD ($)
$ in Thousands
3 Months Ended
Mar. 31, 2018
Mar. 31, 2017
CASH FLOWS FROM OPERATING ACTIVITIES:    
Net loss $ (24,095) $ (20,941)
Adjustments to reconcile loss to net cash used in operating activities:    
Depreciation and amortization 8 21
Stock-based compensation 3,762 3,351
Amortization of debt discount and debt issuance costs 573 563
Amortization of intangible asset 162 162
Changes in assets and liabilities:    
Accounts receivable, net 6,138 (9,465)
Inventory, net (4,844) (3,372)
Prepaid and other current assets (163) 2,198
Other long-term assets   89
Accrued interest payable (327) (2,267)
Deferred revenue (142) (293)
Accounts payable and other current liabilities 9,123 15,580
Other long-term liabilities   457
Net cash used in operating activities (9,805) (13,917)
CASH FLOWS FROM INVESTING ACTIVITIES:    
Purchases of equipment   (12)
Net cash used in investing activities   (12)
CASH FLOWS FROM FINANCING ACTIVITIES:    
Proceeds from issuance of exchangeable debt   30,000
Payment of debt issuance costs   (1,207)
Proceeds from issuance of common stock, net of transaction costs 70,007  
Proceeds from exercise of stock options, net of transaction costs 1,548 296
Repurchase of exchangeable senior notes   (15,107)
Payment on long-term debt from royalty-bearing instrument (3,785)  
Taxes paid related to stock-based awards (2,553) (2,228)
Net cash provided by financing activities 65,217 11,754
NET INCREASE (DECREASE) IN CASH AND CASH EQUIVALENTS AND RESTRICTED CASH 55,412 (2,175)
CASH AND CASH EQUIVALENTS AND RESTRICTED CASH, BEGINNING OF PERIOD 74,237 98,851
CASH AND CASH EQUIVALENTS AND RESTRICTED CASH, END OF PERIOD 129,649 96,676
Cash paid during the year for:    
Interest 5,873 4,111
Income taxes $ 23 $ 64