Property and Equipment - Additional Information (Detail) - USD ($) $ in Millions |
1 Months Ended | 12 Months Ended | |||
|---|---|---|---|---|---|
Nov. 08, 2021 |
Nov. 30, 2021 |
Dec. 31, 2023 |
Dec. 31, 2022 |
Dec. 31, 2021 |
|
| Property Plant And Equipment [Line Items] | |||||
| Depreciation Expense | $ 4.5 | $ 3.3 | $ 2.0 | ||
| Net book value of disposed assets | 0.6 | ||||
| Casper L L C | |||||
| Property Plant And Equipment [Line Items] | |||||
| Sale price | $ 102.3 | $ 102.3 | |||
| Sale leaseback transaction, lease agreement period. | 20 years | ||||
| Sale leaseback transaction, date | November 2021 | ||||
| Manufacturing Equipment, Computer Hardware and Software, Computer Equipment, Lab Equipment, and Building Improvements | |||||
| Property Plant And Equipment [Line Items] | |||||
| Amount of divestiture of long-lived | $ 2.1 | $ 2.4 | |||