Consolidated Statements of Stockholders' Equity (Parenthetical) - USD ($) $ in Thousands |
12 Months Ended | |
|---|---|---|
Dec. 31, 2021 |
Dec. 31, 2020 |
|
| Statement of Stockholders' Equity [Abstract] | ||
| Income tax, share-based compensation | $ 2,167 | |
| Tax receivable agreement arising from exchanges, income taxes | $ 11,818 | |
| Cashless exercise of public warrants, fees | $ 500 | |