XML 43 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 $ (131,396) $ (87,906) $ (50,655)
Adjustments to reconcile net loss to net cash used in operating activities:      
Depreciation and amortization 3,673 2,026 888
Stock-based compensation expense 14,591 19,511 15,527
Change in fair value of contingent consideration   53 491
Loss on derivative liability 15,411 533  
Amortization of debt discount 3,349 889  
Deferred rent expense 856 649  
Loss on disposal of assets and impairment charges 80 1,034 31
Research and development license fees settled with convertible bond and stock 13,250    
Interest incurred on converted bonds 2,759    
Deferred income taxes (327) (491) (270)
Changes in operating assets and liabilities:      
Receivables, net (5,691) 1,055 1,081
Prepaid expenses and other assets (4,537) (359) (1,394)
Inventories (12,321) (984) 786
Accounts payable and accrued expenses 18,791 16,120 (241)
Net cash used in operating activities (81,512) (47,870) (33,756)
Cash flows from investing activities:      
Proceeds from sale of property and equipment   335  
Purchase of property and equipment (5,440) (1,487) (3,310)
Receipts of refundable deposit 110 1,000 (1,000)
Payments for licenses (1,550) (2,700) (50)
Acquisition of Polymed, net of cash acquired     (11,076)
Acquisition of CDE, net of cash acquired     1,699
Purchases of short-term investments (55,282) (9,750) (15,787)
Sale of short-term investments 52,144 15,261 12,615
Net cash (used in) provided by investing activities (10,018) 2,659 (16,909)
Cash flows from financing activities:      
Proceeds from sale of stock 75,900 8,500 78,768
Proceeds from issuance of convertible bonds 30,000 38,000  
Costs incurred related to the sale of stock (10,168) (1,537) (1,013)
Proceeds from exercise of stock options 2,278 50 61
Investment from non-controlling interest 49 569 539
Payment of contingent consideration   (3,184)  
Repurchase of options and warrants     (79)
Repayment of capital lease obligations and long-term debt (1,163) (1,265) (724)
Purchase of treasury stock   (5,861) (1,250)
Net cash provided by financing activities 96,896 35,272 76,302
Net increase (decrease) in cash and cash equivalents 5,366 (9,939) 25,637
Cash and cash equivalents, beginning of period 33,125 43,495 17,521
Effect of exchange rate changes on cash and cash equivalents 793 (431) 337
Cash and cash equivalents, end of period 39,284 33,125 43,495
Supplemental cash flow disclosures      
Interest paid 109 144 92
Income taxes paid 244 329 146
Non-cash investing and financing activities:      
Accrued purchases of property and equipment 156 348 239
Cost of equity raise in accounts payable and accrued expenses 188 264  
Convertible bond issued in lieu of licensing cash payment 7,000    
Common stock issued in lieu of licensing cash payment 6,250    
Common stock issued upon the conversion of bonds and derivative liability 98,929    
Property and equipment financed under capital lease $ 688    
Fair value of acquisition-related contingent consideration     4,488
Notes payable assumed in connection with the acquisition of Polymed     3,275
Mortgage assumed in connection with the acquisition of CDE     1,099
Note receivable for restricted stock granted to officers     6,600
QuaDPharma      
Non-cash investing and financing activities:      
Stock issued in connection with acquisition   343  
Polymed      
Non-cash investing and financing activities:      
Stock issued in connection with acquisition   $ 2,500 11,538
CDE      
Non-cash investing and financing activities:      
Stock issued in connection with acquisition     $ 14,681