CONDENSED CONSOLIDATED STATEMENTS OF STOCKHOLDERS’ EQUITY (UNAUDITED) - USD ($) $ in Thousands | Total | Preferred Stock | Common Stock | Additional Paid-in Capital | Accumulated Deficit | Accumulated Other Comprehensive (Loss) income |
Preferred stock, shares outstanding (in shares) at Dec. 31, 2022 | | 0 | | | | |
Beginning balance at Dec. 31, 2022 | $ 399,150 | $ 0 | $ 27 | $ 560,409 | $ (160,905) | $ (381) |
Common stock, shares outstanding (in shares) at Dec. 31, 2022 | | | 26,553,681 | | | |
Increase (Decrease) in Stockholders' Equity [Roll Forward] | | | | | | |
Stock-based compensation expense | 13,525 | | | 13,525 | | |
Exercise of common stock options (in shares) | | | 30,495 | | | |
Exercise of common stock options | 95 | | | 95 | | |
Issuance of common stock from vested restricted stock units and payment of employees' taxes (in shares) | | | 24,835 | | | |
Issuance of common stock from vested restricted stock units and payment of employees’ taxes | (314) | | | (314) | | |
Issuance of common stock under the employee stock purchase plan (in shares) | | | 77,190 | | | |
Issuance of common stock under the employee stock purchase plan | 1,652 | | | 1,652 | | |
Net unrealized gain (loss) on marketable investment securities | 245 | | | | | 245 |
Net income (loss) | (29,204) | | | | (29,204) | |
Preferred Stock, Shares Outstanding, Ending Balance at Mar. 31, 2023 | | 0 | | | | |
Ending balance at Mar. 31, 2023 | 385,149 | $ 0 | $ 27 | 575,367 | (190,109) | (136) |
Common Stock, Shares, Outstanding, Ending Balance at Mar. 31, 2023 | | | 26,686,201 | | | |
Preferred stock, shares outstanding (in shares) at Dec. 31, 2022 | | 0 | | | | |
Beginning balance at Dec. 31, 2022 | 399,150 | $ 0 | $ 27 | 560,409 | (160,905) | (381) |
Common stock, shares outstanding (in shares) at Dec. 31, 2022 | | | 26,553,681 | | | |
Increase (Decrease) in Stockholders' Equity [Roll Forward] | | | | | | |
Net unrealized gain (loss) on marketable investment securities | 237 | | | | | |
Net income (loss) | (47,981) | | | | | |
Preferred Stock, Shares Outstanding, Ending Balance at Jun. 30, 2023 | | 0 | | | | |
Ending balance at Jun. 30, 2023 | 378,768 | $ 0 | $ 27 | 587,771 | (208,886) | (144) |
Common Stock, Shares, Outstanding, Ending Balance at Jun. 30, 2023 | | | 26,784,008 | | | |
Preferred stock, shares outstanding (in shares) at Mar. 31, 2023 | | 0 | | | | |
Beginning balance at Mar. 31, 2023 | 385,149 | $ 0 | $ 27 | 575,367 | (190,109) | (136) |
Common stock, shares outstanding (in shares) at Mar. 31, 2023 | | | 26,686,201 | | | |
Increase (Decrease) in Stockholders' Equity [Roll Forward] | | | | | | |
Stock-based compensation expense | 12,849 | | | 12,849 | | |
Exercise of common stock options (in shares) | | | 15,606 | | | |
Exercise of common stock options | 89 | | | 89 | | |
Issuance of common stock from vested restricted stock units and payment of employees' taxes (in shares) | | | 82,201 | | | |
Issuance of common stock from vested restricted stock units and payment of employees’ taxes | (534) | | | (534) | | |
Net unrealized gain (loss) on marketable investment securities | (8) | | | | | (8) |
Net income (loss) | (18,777) | | | | (18,777) | |
Preferred Stock, Shares Outstanding, Ending Balance at Jun. 30, 2023 | | 0 | | | | |
Ending balance at Jun. 30, 2023 | $ 378,768 | $ 0 | $ 27 | 587,771 | (208,886) | (144) |
Common Stock, Shares, Outstanding, Ending Balance at Jun. 30, 2023 | | | 26,784,008 | | | |
Preferred stock, shares outstanding (in shares) at Dec. 31, 2023 | 0 | 0 | | | | |
Beginning balance at Dec. 31, 2023 | $ 391,269 | $ 0 | $ 27 | 609,477 | (218,371) | 136 |
Common stock, shares outstanding (in shares) at Dec. 31, 2023 | 27,410,532 | | 27,410,532 | | | |
Increase (Decrease) in Stockholders' Equity [Roll Forward] | | | | | | |
Stock-based compensation expense | $ 12,675 | | | 12,675 | | |
Exercise of common stock options (in shares) | | | 19,066 | | | |
Exercise of common stock options | 65 | | | 65 | | |
Issuance of common stock from vested restricted stock units and payment of employees' taxes (in shares) | | | 44,830 | | | |
Issuance of common stock from vested restricted stock units and payment of employees’ taxes | (474) | | | (474) | | |
Issuance of common stock under the employee stock purchase plan (in shares) | | | 111,241 | | | |
Issuance of common stock under the employee stock purchase plan | 1,708 | | $ 1 | 1,707 | | |
Net unrealized gain (loss) on marketable investment securities | (247) | | | | | (247) |
Net income (loss) | (2,534) | | | | (2,534) | |
Preferred Stock, Shares Outstanding, Ending Balance at Mar. 31, 2024 | | 0 | | | | |
Ending balance at Mar. 31, 2024 | $ 402,462 | $ 0 | $ 28 | 623,450 | (220,905) | (111) |
Common Stock, Shares, Outstanding, Ending Balance at Mar. 31, 2024 | | | 27,585,669 | | | |
Preferred stock, shares outstanding (in shares) at Dec. 31, 2023 | 0 | 0 | | | | |
Beginning balance at Dec. 31, 2023 | $ 391,269 | $ 0 | $ 27 | 609,477 | (218,371) | 136 |
Common stock, shares outstanding (in shares) at Dec. 31, 2023 | 27,410,532 | | 27,410,532 | | | |
Increase (Decrease) in Stockholders' Equity [Roll Forward] | | | | | | |
Exercise of common stock options (in shares) | 20,845 | | | | | |
Net unrealized gain (loss) on marketable investment securities | $ (308) | | | | | |
Net income (loss) | $ 6,386 | | | | | |
Preferred Stock, Shares Outstanding, Ending Balance at Jun. 30, 2024 | 0 | 0 | | | | |
Ending balance at Jun. 30, 2024 | $ 423,893 | $ 0 | $ 28 | 636,022 | (211,985) | (172) |
Common Stock, Shares, Outstanding, Ending Balance at Jun. 30, 2024 | 27,711,024 | | 27,711,024 | | | |
Preferred stock, shares outstanding (in shares) at Mar. 31, 2024 | | 0 | | | | |
Beginning balance at Mar. 31, 2024 | $ 402,462 | $ 0 | $ 28 | 623,450 | (220,905) | (111) |
Common stock, shares outstanding (in shares) at Mar. 31, 2024 | | | 27,585,669 | | | |
Increase (Decrease) in Stockholders' Equity [Roll Forward] | | | | | | |
Stock-based compensation expense | 13,179 | | | 13,179 | | |
Exercise of common stock options (in shares) | | | 1,779 | | | |
Exercise of common stock options | 8 | | | 8 | | |
Issuance of common stock from vested restricted stock units and payment of employees' taxes (in shares) | | | 123,576 | | | |
Issuance of common stock from vested restricted stock units and payment of employees’ taxes | (615) | | | (615) | | |
Net unrealized gain (loss) on marketable investment securities | (61) | | | | | (61) |
Net income (loss) | $ 8,920 | | | | 8,920 | |
Preferred Stock, Shares Outstanding, Ending Balance at Jun. 30, 2024 | 0 | 0 | | | | |
Ending balance at Jun. 30, 2024 | $ 423,893 | $ 0 | $ 28 | $ 636,022 | $ (211,985) | $ (172) |
Common Stock, Shares, Outstanding, Ending Balance at Jun. 30, 2024 | 27,711,024 | | 27,711,024 | | | |