XML 79 R31.htm IDEA: XBRL DOCUMENT v3.19.3.a.u2
Summary of Significant Accounting Policies - Additional Information (Details) - USD ($)
$ in Thousands
3 Months Ended 12 Months Ended
Jan. 01, 2018
Dec. 31, 2019
Sep. 30, 2019
Jun. 30, 2019
Mar. 31, 2019
Dec. 31, 2018
Sep. 30, 2018
Jun. 30, 2018
Mar. 31, 2018
Dec. 31, 2019
Dec. 31, 2018
Dec. 31, 2017
Product Information [Line Items]                        
Cumulative adjustment to accumulated deficit                       $ 1,574
Product sales allowances   $ 27,939       $ 25,503       $ 27,939 $ 25,503  
Cost of product sales   $ 15,874 $ 17,195 $ 13,588 $ 14,962 $ 11,572 $ 7,576 $ 5,231 $ 3,133 $ 61,619 $ 27,512 4,588
Accounting Standards Update 2014-09                        
Product Information [Line Items]                        
Gross product sales $ 2,900                      
Cost of product sales 200                      
Accounting Standards Update 2014-09 | Product Sales Allowance                        
Product Information [Line Items]                        
Product sales allowances 1,100                      
Accumulated Earnings                        
Product Information [Line Items]                        
Cumulative adjustment to accumulated deficit                       $ 1,574
Accumulated Earnings | Accounting Standards Update 2014-09                        
Product Information [Line Items]                        
Cumulative adjustment to accumulated deficit $ (1,600)                      
Leasehold Improvements                        
Product Information [Line Items]                        
Estimated useful lives                   5 years