Convertible Preferred Stock and Stockholders Equity - Summary of Common Stock Reserved for Future Issuance (Detail) - shares |
Dec. 31, 2021 |
Dec. 31, 2020 |
|---|---|---|
| Class of Stock [Line Items] | ||
| Common stock reserved for future issuance | 4,591 | 7,332 |
| Warrants to Purchase Common Stock | ||
| Class of Stock [Line Items] | ||
| Common stock reserved for future issuance | 31 | 151 |
| SPAC Warrants to Purchase Common Stock | ||
| Class of Stock [Line Items] | ||
| Common stock reserved for future issuance | 704 | 3,734 |
| Stock Options | ||
| Class of Stock [Line Items] | ||
| Common stock reserved for future issuance | 1,721 | 1,552 |
| Restricted Stock Units | ||
| Class of Stock [Line Items] | ||
| Common stock reserved for future issuance | 983 | 560 |
| Authorized for Future Equity Grants | ||
| Class of Stock [Line Items] | ||
| Common stock reserved for future issuance | 603 | 935 |
| Authorized for Future ESPP Purchases | ||
| Class of Stock [Line Items] | ||
| Common stock reserved for future issuance | 549 | 400 |