XML 48 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 9 Months Ended
Sep. 30, 2018
Sep. 30, 2017
Sep. 30, 2018
Sep. 30, 2017
Dec. 31, 2017
New Accounting Pronouncements or Change in Accounting Principle [Line Items]          
Accounts receivable $ 60,397   $ 60,397   $ 44,089
Other accrued liabilities 31,067   31,067   33,257
Accumulated deficit (542,688)   (542,688)   (446,375)
Total revenues 65,280 $ 55,910 190,689 $ 157,575  
Loss from operations (27,166) (25,789) (84,901) (88,710)  
Net loss $ (29,616) $ (27,865) $ (96,313) $ (90,411)  
Net loss per share (Note 12):          
Basic (in dollars per share) $ (0.49) $ (0.52) $ (1.71) $ (1.70)  
Diluted (in dollars per share) $ (0.49) $ (0.52) $ (1.71) $ (1.70)  
Operating activities          
Net loss     $ (96,313) $ (90,411)  
Changes in operating assets and liabilities:          
Accounts receivable     (16,460) 5,746  
Net cash (used in) provided by operating activities     (57,768) (69,696)  
Cash, cash equivalents and restricted cash, beginning of period     13,021 16,690  
Cash, cash equivalents and restricted cash, end of period $ 39,099 $ 11,598 39,099 11,598  
Product          
New Accounting Pronouncements or Change in Accounting Principle [Line Items]          
Total revenues 62,662 54,512 177,284 153,835  
Licensing and other          
New Accounting Pronouncements or Change in Accounting Principle [Line Items]          
Total revenues $ 2,618 1,398 $ 13,405 3,740  
Accounting Standards Update 2016-18          
Changes in operating assets and liabilities:          
Net cash (used in) provided by operating activities       (1,047)  
Cash, cash equivalents and restricted cash, beginning of period       1,434  
Cash, cash equivalents and restricted cash, end of period   387   387  
As Previously Reported          
Operating activities          
Net loss       (90,812)  
Changes in operating assets and liabilities:          
Accounts receivable       6,147  
Net cash (used in) provided by operating activities       (68,649)  
Cash, cash equivalents and restricted cash, beginning of period       15,256  
Cash, cash equivalents and restricted cash, end of period   11,211   11,211  
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   56,656   157,174  
Loss from operations   (25,043)   (89,111)  
Net loss   $ (27,119)   $ (90,812)  
Net loss per share (Note 12):          
Basic (in dollars per share)   $ (0.51)   $ (1.71)  
Diluted (in dollars per share)   $ (0.51)   $ (1.71)  
As Previously Reported | Accounting Standards Update 2014-09 | Product          
New Accounting Pronouncements or Change in Accounting Principle [Line Items]          
Total revenues   $ 55,331   $ 153,520  
As Previously Reported | Accounting Standards Update 2014-09 | Licensing and other          
New Accounting Pronouncements or Change in Accounting Principle [Line Items]          
Total revenues   1,325   3,654  
Adoption of ASC 606          
Operating activities          
Net loss       401  
Changes in operating assets and liabilities:          
Accounts receivable       (401)  
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   (746)   401  
Loss from operations   (746)   401  
Net loss   $ (746)   $ 401  
Net loss per share (Note 12):          
Basic (in dollars per share)   $ (0.01)   $ 0.01  
Diluted (in dollars per share)   $ (0.01)   $ 0.01  
Adoption of ASC 606 | Accounting Standards Update 2014-09 | Product          
New Accounting Pronouncements or Change in Accounting Principle [Line Items]          
Total revenues   $ (819)   $ 315  
Adoption of ASC 606 | Accounting Standards Update 2014-09 | Licensing and other          
New Accounting Pronouncements or Change in Accounting Principle [Line Items]          
Total revenues   $ 73   $ 86