Inventories - Additional Information (Detail) - USD ($) $ in Thousands |
12 Months Ended | ||
|---|---|---|---|
Dec. 31, 2022 |
Dec. 31, 2021 |
Dec. 31, 2020 |
|
| Inventory [Line Items] | |||
| Inventory write-offs | $ 2,202 | $ 1,902 | $ 496 |
| Pre-launch Inventory | |||
| Inventory [Line Items] | |||
| Raw materials inventory | $ 800 | 800 | |
| Agreement With Retail Pharmacy | |||
| Inventory [Line Items] | |||
| Inventory write-offs | $ 700 | ||