CONDENSED CONSOLIDATED STATEMENTS OF STOCKHOLDERS’ EQUITY - USD ($) $ in Thousands  | 
Total  | 
Previously balance  | 
Retroactive application of reverse recapitalization  | 
Class A common stock  | 
Class B common stock  | 
Preferred Stock  | 
 Preferred Stock  
Previously balance 
 | 
 Preferred Stock  
Retroactive application of reverse recapitalization 
 | 
Common Stock  | 
 Common Stock  
Previously balance 
 | 
 Common Stock  
Retroactive application of reverse recapitalization 
 | 
 Common Stock  
Class A common stock 
 | 
 Common Stock  
Class A common stock  
Previously balance 
 | 
 Common Stock  
Class A common stock  
Retroactive application of reverse recapitalization 
 | 
 Common Stock  
Class B common stock 
 | 
 Common Stock  
Class B common stock  
Previously balance 
 | 
 Common Stock  
Class B common stock  
Retroactive application of reverse recapitalization 
 | 
Additional Paid-In Capital  | 
 Additional Paid-In Capital  
Previously balance 
 | 
 Additional Paid-In Capital  
Retroactive application of reverse recapitalization 
 | 
Accumulated Other Comprehensive Income (Loss)  | 
 Accumulated Other Comprehensive Income (Loss)  
Previously balance 
 | 
 Accumulated Other Comprehensive Income (Loss)  
Retroactive application of reverse recapitalization 
 | 
Retained Earnings  | 
 Retained Earnings  
Previously balance 
 | 
 Retained Earnings  
Retroactive application of reverse recapitalization 
 | 
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Beginning balance of preferred stock (shares) at Dec. 31, 2020 | 0 | 162,596,000 | (162,596,000) | |||||||||||||||||||||||
| Beginning balance of common stock (shares) at Dec. 31, 2020 | 0 | 238,186,000 | (238,186,000) | 74,422,000 | 0 | 74,422,000 | 18,977,000 | 0 | 18,977,000 | |||||||||||||||||
| Beginning balance at Dec. 31, 2020 | $ 96,079 | $ 96,079 | $ 0 | $ 0 | $ 8 | $ (8) | $ 0 | $ 12 | $ (12) | $ 8 | $ 0 | $ 8 | $ 2 | $ 0 | $ 2 | $ 71,786 | $ 71,776 | $ 10 | $ 481 | $ 481 | $ 0 | $ 23,802 | $ 23,802 | $ 0 | ||
| Increase (Decrease) in Stockholders' Equity [Roll Forward] | ||||||||||||||||||||||||||
| Net income (loss) | 10,119 | $ 8,809 | $ 1,310 | 10,119 | ||||||||||||||||||||||
| Business Combination & PIPE Financing (shares) | 32,968,000 | (2,847,000) | ||||||||||||||||||||||||
| Acies Merger & PIPE Financing | 186,011 | $ 3 | 186,008 | |||||||||||||||||||||||
| Exercise of stock options (shares) | 2,440,000 | |||||||||||||||||||||||||
| Exercise of stock options | 2,091 | 2,091 | ||||||||||||||||||||||||
| Stock-based compensation | 4,182 | 4,182 | ||||||||||||||||||||||||
| Other comprehensive income (loss) | (92) | (92) | ||||||||||||||||||||||||
| Ending balance of preferred stock (shares) at Sep. 30, 2021 | 0 | |||||||||||||||||||||||||
| Ending balance of common stock (shares) at Sep. 30, 2021 | 0 | 109,830,000 | 16,130,000 | |||||||||||||||||||||||
| Ending balance at Sep. 30, 2021 | 298,390 | $ 0 | $ 0 | $ 11 | $ 2 | 264,067 | 389 | 33,921 | ||||||||||||||||||
| Beginning balance of preferred stock (shares) at Jun. 30, 2021 | 0 | |||||||||||||||||||||||||
| Beginning balance of common stock (shares) at Jun. 30, 2021 | 0 | 109,623,000 | 16,130,000 | |||||||||||||||||||||||
| Beginning balance at Jun. 30, 2021 | 286,023 | $ 0 | $ 0 | $ 11 | $ 2 | 262,931 | 394 | 22,685 | ||||||||||||||||||
| Increase (Decrease) in Stockholders' Equity [Roll Forward] | ||||||||||||||||||||||||||
| Net income (loss) | 11,236 | $ 9,796 | $ 1,440 | 11,236 | ||||||||||||||||||||||
| Acies Merger & PIPE Financing | (73) | (73) | ||||||||||||||||||||||||
| Exercise of stock options (shares) | 207,000 | |||||||||||||||||||||||||
| Exercise of stock options | 192 | 192 | ||||||||||||||||||||||||
| Stock-based compensation | 1,017 | 1,017 | ||||||||||||||||||||||||
| Other comprehensive income (loss) | (5) | (5) | ||||||||||||||||||||||||
| Ending balance of preferred stock (shares) at Sep. 30, 2021 | 0 | |||||||||||||||||||||||||
| Ending balance of common stock (shares) at Sep. 30, 2021 | 0 | 109,830,000 | 16,130,000 | |||||||||||||||||||||||
| Ending balance at Sep. 30, 2021 | $ 298,390 | $ 0 | $ 0 | $ 11 | $ 2 | 264,067 | 389 | 33,921 | ||||||||||||||||||
| Beginning balance of preferred stock (shares) at Dec. 31, 2021 | 0 | |||||||||||||||||||||||||
| Beginning balance of common stock (shares) at Dec. 31, 2021 | 110,066,000 | 16,130,000 | 110,066,000 | 16,130,000 | ||||||||||||||||||||||
| Beginning balance at Dec. 31, 2021 | $ 303,467 | $ 11 | $ 2 | 268,522 | 393 | 34,539 | ||||||||||||||||||||
| Increase (Decrease) in Stockholders' Equity [Roll Forward] | ||||||||||||||||||||||||||
| Net income (loss) | $ (16,080) | $ (14,045) | $ (2,035) | (16,080) | ||||||||||||||||||||||
| Exercise of stock options (shares) | 2,150,000 | 1,823,000 | ||||||||||||||||||||||||
| Exercise of stock options | $ 1,148 | $ 327 | 1,148 | |||||||||||||||||||||||
| Issuance of vested restricted stock units (in shares) | 1,518,000 | |||||||||||||||||||||||||
| Stock-based compensation | 15,529 | 15,529 | ||||||||||||||||||||||||
| Other comprehensive income (loss) | $ (561) | (561) | ||||||||||||||||||||||||
| Ending balance of preferred stock (shares) at Sep. 30, 2022 | 0 | |||||||||||||||||||||||||
| Ending balance of common stock (shares) at Sep. 30, 2022 | 113,407,000 | 16,457,000 | 113,407,000 | 16,457,000 | ||||||||||||||||||||||
| Ending balance at Sep. 30, 2022 | $ 303,503 | $ 11 | $ 2 | 285,199 | (168) | 18,459 | ||||||||||||||||||||
| Beginning balance of common stock (shares) at Jun. 30, 2022 | 111,883,000 | 16,130,000 | ||||||||||||||||||||||||
| Beginning balance at Jun. 30, 2022 | 295,590 | $ 11 | $ 2 | 280,756 | (9) | 14,830 | ||||||||||||||||||||
| Increase (Decrease) in Stockholders' Equity [Roll Forward] | ||||||||||||||||||||||||||
| Net income (loss) | 3,629 | $ 3,175 | $ 454 | 3,629 | ||||||||||||||||||||||
| Exercise of stock options (shares) | 1,037,000 | |||||||||||||||||||||||||
| Exercise of stock options | 459 | $ 327 | 459 | |||||||||||||||||||||||
| Issuance of vested restricted stock units (in shares) | 487,000 | |||||||||||||||||||||||||
| Stock-based compensation | 3,984 | 3,984 | ||||||||||||||||||||||||
| Other comprehensive income (loss) | $ (159) | (159) | ||||||||||||||||||||||||
| Ending balance of preferred stock (shares) at Sep. 30, 2022 | 0 | |||||||||||||||||||||||||
| Ending balance of common stock (shares) at Sep. 30, 2022 | 113,407,000 | 16,457,000 | 113,407,000 | 16,457,000 | ||||||||||||||||||||||
| Ending balance at Sep. 30, 2022 | $ 303,503 | $ 11 | $ 2 | $ 285,199 | $ (168) | $ 18,459 |