XML 66 R52.htm IDEA: XBRL DOCUMENT v3.10.0.1
Revenue Recognition - Additional Information (Details) - USD ($)
$ in Thousands
3 Months Ended 9 Months Ended
Sep. 30, 2018
Sep. 30, 2017
Sep. 30, 2018
Sep. 30, 2017
Dec. 31, 2017
Revenue Recognition Milestone Method [Line Items]          
License fees and consulting revenue $ 18,428 $ 13,994 $ 67,829 $ 23,170  
Total chargebacks and other deductions         $ 3,795
Revenue recognition cash discount percentage 2.00%   2.00%    
General settlement period for rebates and fees     Settlement of rebates and fees may generally occur from one to five months from date of sale.    
Deferred revenue $ 364   $ 364   1,202
Out-license Revenue          
Revenue Recognition Milestone Method [Line Items]          
Deferred revenue 400   400    
Commercial Platform          
Revenue Recognition Milestone Method [Line Items]          
Total chargebacks and other deductions 13,200   13,200   $ 3,711
Chargebacks and other deductions expense 10,600 3,300 22,700 5,100  
Transferred at a Point in Time          
Revenue Recognition Milestone Method [Line Items]          
Revenue recognized on behalf of milestone event       500  
Transferred at a Point in Time | Commercial Platform          
Revenue Recognition Milestone Method [Line Items]          
License fees and consulting revenue 7,315 7,378 23,006 9,274  
IP License | Transferred at a Point in Time          
Revenue Recognition Milestone Method [Line Items]          
License fees and consulting revenue $ 5,000 $ 0 $ 30,000 $ 0