Net loss per share - Schedule of Earnings Per Share Basic and Diluted (Detail) - USD ($) $ / shares in Units, $ in Thousands |
12 Months Ended | |
|---|---|---|
Dec. 31, 2021 |
Dec. 31, 2020 |
|
| Earnings Per Share, Basic and Diluted [Abstract] | ||
| Net loss | $ (128,332) | $ (108,543) |
| Weighted average common stock outstanding, basic and diluted | 39,855,403 | 9,988,191 |
| Net loss per share – basic and diluted | $ (3.22) | $ (10.87) |