XML 77 R59.htm IDEA: XBRL DOCUMENT v3.22.0.1
Product Revenue Reserves and Allowances - Product Revenue Allowance and Reserve (Details) - USD ($)
$ in Thousands
12 Months Ended
Dec. 31, 2021
Dec. 31, 2020
Product revenue allowance and reserve    
Beginning balance $ 1,192 $ 0
Provision related to sales in the current period 8,624 2,515
Adjustment related to prior periods sales (396)  
Credits and payments made (5,075) (1,323)
Ending balance $ 4,345 $ 1,192