XML 57 R48.htm IDEA: XBRL DOCUMENT v3.22.2.2
Product Revenue Reserves and Allowances - Product Revenue Allowance and Reserve (Details) - USD ($)
$ in Thousands
9 Months Ended
Sep. 30, 2022
Sep. 30, 2021
Product revenue allowance and reserve    
Beginning balance $ 4,345 $ 1,192
Provision related to sales in the current period 13,606 5,665
Adjustment related to prior periods sales (645)  
Credits and payments made (9,980) (3,416)
Ending balance $ 7,326 $ 3,441