Consolidated Statements of Operations - USD ($)
$ in Thousands
3 Months Ended 6 Months Ended
Jun. 30, 2015
Jun. 30, 2014
Jun. 30, 2015
Jun. 30, 2014
Revenue        
Product revenue $ 15,324 $ 12,579 $ 19,391 $ 15,741
Service revenue 8,428 4,415 13,731 6,481
Research and development contract revenue 257 327 303 674
Total revenue 24,009 17,321 33,425 22,896
Cost of product revenue 11,653 10,448 15,491 13,892
Cost of service revenue 10,483 5,908 18,121 9,926
Cost of research and development contract revenue 311 770 362 1,188
Research and development expense 3,425 1,398 6,326 2,652
Selling, general and administrative expenses 8,002 5,439 15,751 9,258
Operating loss (9,865) (6,642) (22,626) (14,020)
Interest and other income 32 49 63 94
Gain on bargain purchase   1,014   1,014
Change in fair value of common stock warrant liability 667 9,577 2,436 (58,856)
Interest and other expense (60) (121) (150) (212)
Net (loss) income attributable to the Company (9,226) 3,877 (20,277) (71,980)
Preferred stock dividends declared (27) (52) (53) (104)
Net (loss) income attributable to common shareholders $ (9,253) $ 3,825 $ (20,330) $ (72,084)
Net (loss) income per share:        
Basic (in dollars per share) $ (0.05) $ 0.02 $ (0.12) $ (0.49)
Diluted (in dollars per share) $ (0.05) $ 0.02 $ (0.12) $ (0.49)
Basic weighted average number of common shares outstanding 173,439,391 159,916,449 173,402,611 146,905,767
Diluted weighted average number of common shares outstanding 173,439,391 176,157,179 173,402,611 146,905,767