Condensed Consolidated Statements of Convertible Preferred Stock and Stockholders’ Equity (Deficit) - USD ($) $ in Thousands | Total | Common Stock | Additional Paid-in Capital | Treasury Stock | Accumulated Other Comprehensive Loss | Accumulated Deficit |
Convertible Preferred Stock, Balance - beginning of period (in shares) at Dec. 31, 2020 | 27,652,449 | | | | | |
Convertible Preferred Stock, Balance - beginning of period at Dec. 31, 2020 | $ 162,444 | | | | | |
Convertible Preferred Stock, Balance - end of period (in shares) at Jun. 30, 2021 | 27,652,449 | | | | | |
Convertible Preferred Stock, Balance - end of period at Jun. 30, 2021 | $ 162,444 | | | | | |
Balance - beginning of period (in shares) at Dec. 31, 2020 | | 17,439,488 | | 280,686 | | |
Balance - beginning of period at Dec. 31, 2020 | (79,813) | $ 17 | $ 95,055 | $ (2,350) | $ (4,290) | $ (168,245) |
Increase (Decrease) in Stockholders' Equity [Roll Forward] | | | | | | |
Exercise of employee stock options, warrants and restricted stock awards, net of shares withheld for taxes (in shares) | | 422,235 | | 26,344 | | |
Exercise of employee stock options, warrants and restricted stock awards, net of shares withheld for taxes | $ 1,534 | $ 1 | 1,782 | $ (249) | | |
Vesting of restricted stock units, net of shares withheld for taxes (in shares) | | 209,571 | | | | |
Shares repurchased under share repurchase program (in shares) | 0 | | | | | |
Shares repurchased under the share repurchase program | $ 0 | | | | | |
Stock-based compensation | 3,039 | | 3,039 | | | |
Other comprehensive income (loss) | 160 | | | | 160 | |
Net (loss) income | 25,947 | | | | | 25,947 |
Balance - end of period (in shares) at Jun. 30, 2021 | | 18,071,294 | | 307,030 | | |
Balance - end of period at Jun. 30, 2021 | $ (49,133) | $ 18 | 99,876 | $ (2,599) | (4,130) | (142,298) |
Convertible Preferred Stock, Balance - beginning of period (in shares) at Mar. 31, 2021 | 27,652,449 | | | | | |
Convertible Preferred Stock, Balance - beginning of period at Mar. 31, 2021 | $ 162,444 | | | | | |
Convertible Preferred Stock, Balance - end of period (in shares) at Jun. 30, 2021 | 27,652,449 | | | | | |
Convertible Preferred Stock, Balance - end of period at Jun. 30, 2021 | $ 162,444 | | | | | |
Balance - beginning of period (in shares) at Mar. 31, 2021 | | 17,674,079 | | 307,030 | | |
Balance - beginning of period at Mar. 31, 2021 | (66,012) | $ 18 | 97,138 | $ (2,599) | (3,070) | (157,499) |
Increase (Decrease) in Stockholders' Equity [Roll Forward] | | | | | | |
Exercise of employee stock options, warrants and restricted stock awards, net of shares withheld for taxes (in shares) | | 292,745 | | | | |
Exercise of employee stock options, warrants and restricted stock awards, net of shares withheld for taxes | $ 1,238 | | 1,238 | | | |
Vesting of restricted stock units, net of shares withheld for taxes (in shares) | | 104,470 | | | | |
Shares repurchased under share repurchase program (in shares) | 0 | | | | | |
Shares repurchased under the share repurchase program | $ 0 | | | | | |
Stock-based compensation | 1,500 | | 1,500 | | | |
Other comprehensive income (loss) | (1,060) | | | | (1,060) | |
Net (loss) income | 15,201 | | | | | 15,201 |
Balance - end of period (in shares) at Jun. 30, 2021 | | 18,071,294 | | 307,030 | | |
Balance - end of period at Jun. 30, 2021 | $ (49,133) | $ 18 | 99,876 | $ (2,599) | (4,130) | (142,298) |
Balance - beginning of period (in shares) at Dec. 31, 2021 | 56,701,394 | 58,015,075 | | 1,313,681 | | |
Balance - beginning of period at Dec. 31, 2021 | $ 256,775 | $ 58 | 434,945 | $ (16,504) | (4,474) | (157,250) |
Increase (Decrease) in Stockholders' Equity [Roll Forward] | | | | | | |
Exercise of employee stock options, warrants and restricted stock awards, net of shares withheld for taxes (in shares) | 507,750 | 695,985 | | 95,138 | | |
Exercise of employee stock options, warrants and restricted stock awards, net of shares withheld for taxes | $ 2,328 | $ 1 | 3,752 | $ (1,425) | | |
Vesting of restricted stock units, net of shares withheld for taxes (in shares) | | 475,811 | | 61,363 | | |
Vesting of restricted stock units, net of shares withheld for taxes | (646) | $ 1 | (1) | $ (646) | | |
Acquisition stock consideration (in shares) | | 355,786 | | | | |
Acquisition stock consideration | $ 4,190 | | 4,190 | | | |
Shares repurchased under share repurchase program (in shares) | (1,388,317) | | | (1,388,317) | | |
Shares repurchased under the share repurchase program | $ (7,501) | | | $ (7,501) | | |
Stock-based compensation | 6,396 | | 6,396 | | | |
Other comprehensive income (loss) | (2,737) | | | | (2,737) | |
Net (loss) income | $ (12,208) | | | | | (12,208) |
Balance - end of period (in shares) at Jun. 30, 2022 | 56,684,158 | 59,542,657 | | 2,858,499 | | |
Balance - end of period at Jun. 30, 2022 | $ 246,597 | $ 60 | 449,282 | $ (26,076) | (7,211) | (169,458) |
Balance - beginning of period (in shares) at Mar. 31, 2022 | | 58,994,429 | | 1,431,318 | | |
Balance - beginning of period at Mar. 31, 2022 | 261,700 | $ 59 | 444,218 | $ (18,222) | (5,215) | (159,140) |
Increase (Decrease) in Stockholders' Equity [Roll Forward] | | | | | | |
Exercise of employee stock options, warrants and restricted stock awards, net of shares withheld for taxes (in shares) | | 284,130 | | | | |
Exercise of employee stock options, warrants and restricted stock awards, net of shares withheld for taxes | 1,479 | | 1,479 | | | |
Vesting of restricted stock units, net of shares withheld for taxes (in shares) | | 264,098 | | 38,864 | | |
Vesting of restricted stock units, net of shares withheld for taxes | $ (353) | $ 1 | (1) | $ (353) | | |
Shares repurchased under share repurchase program (in shares) | (1,388,317) | | | (1,388,317) | | |
Shares repurchased under the share repurchase program | $ (7,501) | | | $ (7,501) | | |
Stock-based compensation | 3,586 | | 3,586 | | | |
Other comprehensive income (loss) | (1,996) | | | | (1,996) | |
Net (loss) income | $ (10,318) | | | | | (10,318) |
Balance - end of period (in shares) at Jun. 30, 2022 | 56,684,158 | 59,542,657 | | 2,858,499 | | |
Balance - end of period at Jun. 30, 2022 | $ 246,597 | $ 60 | $ 449,282 | $ (26,076) | $ (7,211) | $ (169,458) |