XML 46 R35.htm IDEA: XBRL DOCUMENT v3.10.0.1
Summary of Significant Accounting Policies - Pronouncements (Details) - USD ($)
$ / shares in Units, $ in Thousands
3 Months Ended 6 Months Ended
Jun. 30, 2018
Jun. 30, 2017
Jun. 30, 2018
Jun. 30, 2017
Dec. 31, 2017
New Accounting Pronouncements or Change in Accounting Principle [Line Items]          
Accounts receivable $ 57,002   $ 57,002   $ 44,089
Other accrued liabilities 30,520   30,520   33,257
Accumulated deficit (513,072)   (513,072)   (446,375)
Total revenues 63,069 $ 52,283 125,409 $ 101,665  
Loss from operations (27,218) (28,371) (57,735) (62,921)  
Net loss $ (33,824) $ (29,066) $ (66,697) $ (62,546)  
Net loss per share (Note 12):          
Basic (in dollars per share) $ (0.62) $ (0.55) $ (1.23) $ (1.18)  
Diluted (in dollars per share) $ (0.62) $ (0.55) $ (1.23) $ (1.18)  
Operating activities          
Net loss     $ (66,697) $ (62,546)  
Changes in operating assets and liabilities:          
Accounts receivable     (12,854) 5,383  
Net cash (used in) provided by operating activities     (34,497) (38,394)  
Cash, cash equivalents and restricted cash, beginning of period     13,021 16,690  
Cash, cash equivalents and restricted cash, end of period $ 18,260 $ 8,244 18,260 8,244  
Product          
New Accounting Pronouncements or Change in Accounting Principle [Line Items]          
Total revenues 60,353 50,929 114,622 99,323  
Licensing and other          
New Accounting Pronouncements or Change in Accounting Principle [Line Items]          
Total revenues $ 2,716 1,354 $ 10,787 2,342  
Accounting Standards Update 2016-18          
Changes in operating assets and liabilities:          
Net cash (used in) provided by operating activities       (328)  
Cash, cash equivalents and restricted cash, beginning of period       1,434  
Cash, cash equivalents and restricted cash, end of period   1,106   1,106  
As Previously Reported          
Operating activities          
Net loss       (63,693)  
Changes in operating assets and liabilities:          
Accounts receivable       6,530  
Net cash (used in) provided by operating activities       (38,066)  
Cash, cash equivalents and restricted cash, beginning of period       15,256  
Cash, cash equivalents and restricted cash, end of period   7,138   7,138  
As Previously Reported | Accounting Standards Update 2014-09          
New Accounting Pronouncements or Change in Accounting Principle [Line Items]          
Accounts receivable         8,252
Other accrued liabilities         33,207
Accumulated deficit         (482,162)
Total revenues   53,617   100,518  
Loss from operations   (27,037)   (64,068)  
Net loss   $ (27,732)   $ (63,693)  
Net loss per share (Note 12):          
Basic (in dollars per share)   $ (0.52)   $ (1.20)  
Diluted (in dollars per share)   $ (0.52)   $ (1.20)  
As Previously Reported | Accounting Standards Update 2014-09 | Product          
New Accounting Pronouncements or Change in Accounting Principle [Line Items]          
Total revenues   $ 52,276   $ 98,189  
As Previously Reported | Accounting Standards Update 2014-09 | Licensing and other          
New Accounting Pronouncements or Change in Accounting Principle [Line Items]          
Total revenues   1,341   2,329  
Adoption of ASC 606          
Operating activities          
Net loss       1,147  
Changes in operating assets and liabilities:          
Accounts receivable       (1,147)  
Adoption of ASC 606 | Accounting Standards Update 2014-09          
New Accounting Pronouncements or Change in Accounting Principle [Line Items]          
Cumulative effect adjustment         41,600
Accounts receivable         35,837
Other accrued liabilities         50
Accumulated deficit         $ 35,787
Total revenues   (1,334)   1,147  
Loss from operations   (1,334)   1,147  
Net loss   $ (1,334)   $ 1,147  
Net loss per share (Note 12):          
Basic (in dollars per share)   $ (0.03)   $ 0.02  
Diluted (in dollars per share)   $ (0.03)   $ 0.02  
Adoption of ASC 606 | Accounting Standards Update 2014-09 | Product          
New Accounting Pronouncements or Change in Accounting Principle [Line Items]          
Total revenues   $ (1,347)   $ 1,134  
Adoption of ASC 606 | Accounting Standards Update 2014-09 | Licensing and other          
New Accounting Pronouncements or Change in Accounting Principle [Line Items]          
Total revenues   $ 13   $ 13