XML 49 R36.htm IDEA: XBRL DOCUMENT v3.21.2
Product Revenue and Reserves for Variable Consideration - Additional Information (Details) - USD ($)
$ in Thousands
3 Months Ended 9 Months Ended
Sep. 30, 2021
Sep. 30, 2020
Sep. 30, 2021
Sep. 30, 2020
Dec. 31, 2020
Disaggregation of Revenue [Line Items]          
Total revenues $ 48,756 $ 59,988 $ 153,973 $ 238,608  
Product revenue, net          
Disaggregation of Revenue [Line Items]          
Total revenues 36,753 $ 34,392 100,120 $ 94,297  
Accounts receivable, net $ 22,200   $ 22,200   $ 21,900