Condensed Consolidated Statements of Stockholders' Equity - USD ($) $ in Thousands | Total | Convertible Senior Notes Due 2028 | Common Stock | Additional Paid-In Capital | Accumulated Other Comprehensive Income | Accumulated Deficit |
Beginning balance, shares (in shares) at Dec. 31, 2021 | | | | 35,444,472,000 | | | |
Beginning balance at Dec. 31, 2021 | $ 241,830 | | | $ 35 | $ 494,806 | $ (202) | $ (252,809) |
Increase (Decrease) in Stockholders' Equity [Roll Forward] | | | | | | | |
Exercise of stock options (in shares) | | | | 54,913,000 | | | |
Exercise of stock options | 391 | | | $ 1 | 390 | | |
Unrealized gain on available-for-sale securities, net of tax | (815) | | | | | (815) | |
Issuance of common stock under employee stock purchase plan (in shares) | | | | 14,172,000 | | | |
Issuance of common stock under employee stock purchase plan | 2,135 | | | | 2,135 | | |
Issuance of common stock in connection with vesting of restricted stock (in shares) | | | | 210,835,000 | | | |
Taxes withheld on net settled vesting of restricted stock units (in shares) | | | | (31,000) | | | |
Taxes withheld on net settled vesting of restricted stock units | (6) | | | | (6) | | |
Stock-based compensation | 9,767 | | | | 9,767 | | |
Net income (loss) | 14,521 | | | | | | 14,521 |
Ending balance, shares (in shares) at Mar. 31, 2022 | | | | 35,724,361,000 | | | |
Ending balance at Mar. 31, 2022 | 267,823 | | | $ 36 | 507,092 | (1,017) | (238,288) |
Beginning balance, shares (in shares) at Dec. 31, 2021 | | | | 35,444,472,000 | | | |
Beginning balance at Dec. 31, 2021 | 241,830 | | | $ 35 | 494,806 | (202) | (252,809) |
Increase (Decrease) in Stockholders' Equity [Roll Forward] | | | | | | | |
Adjustment for net gain realized and included in other income | 0 | | | | | | |
Net income (loss) | 75,085 | | | | | | |
Ending balance, shares (in shares) at Sep. 30, 2022 | | | | 36,133,599,000 | | | |
Ending balance at Sep. 30, 2022 | 355,930 | | | $ 36 | 535,230 | (1,612) | (177,724) |
Beginning balance, shares (in shares) at Mar. 31, 2022 | | | | 35,724,361,000 | | | |
Beginning balance at Mar. 31, 2022 | 267,823 | | | $ 36 | 507,092 | (1,017) | (238,288) |
Increase (Decrease) in Stockholders' Equity [Roll Forward] | | | | | | | |
Exercise of stock options (in shares) | | | | 111,601,000 | | | |
Exercise of stock options | 500 | | | | 500 | | |
Unrealized gain on available-for-sale securities, net of tax | (320) | | | | | (320) | |
Issuance of common stock in connection with vesting of restricted stock (in shares) | | | | 71,491,000 | | | |
Stock-based compensation | 11,504 | | | | 11,504 | | |
Net income (loss) | 25,561 | | | | | | 25,561 |
Ending balance, shares (in shares) at Jun. 30, 2022 | | | | 35,907,453,000 | | | |
Ending balance at Jun. 30, 2022 | 305,068 | | | $ 36 | 519,096 | (1,337) | (212,727) |
Increase (Decrease) in Stockholders' Equity [Roll Forward] | | | | | | | |
Exercise of stock options (in shares) | | | | 170,620,000 | | | |
Exercise of stock options | 1,303 | | | | 1,303 | | |
Unrealized gain on available-for-sale securities, net of tax | (275) | | | | | (275) | |
Adjustment for net gain realized and included in other income | 0 | | | | | | |
Issuance of common stock under employee stock purchase plan (in shares) | | | | 15,473,000 | | | |
Issuance of common stock under employee stock purchase plan | 2,352 | | | | 2,352 | | |
Issuance of common stock in connection with vesting of restricted stock (in shares) | | | | 40,053,000 | | | |
Stock-based compensation | 12,479 | | | | 12,479 | | |
Net income (loss) | 35,003 | | | | | | 35,003 |
Ending balance, shares (in shares) at Sep. 30, 2022 | | | | 36,133,599,000 | | | |
Ending balance at Sep. 30, 2022 | 355,930 | | | $ 36 | 535,230 | (1,612) | (177,724) |
Beginning balance, shares (in shares) at Dec. 31, 2022 | | | | 36,235,546,000 | | | |
Beginning balance at Dec. 31, 2022 | 511,316 | [1] | | $ 36 | 548,960 | (867) | (36,813) |
Increase (Decrease) in Stockholders' Equity [Roll Forward] | | | | | | | |
Exercise of stock options (in shares) | | | | 77,230,000 | | | |
Exercise of stock options | 320 | | | $ 1 | 319 | | |
Unrealized gain on available-for-sale securities, net of tax | 505 | | | | | 505 | |
Adjustment for net gain realized and included in other income | (5) | | | | | (5) | |
Issuance of common stock under employee stock purchase plan (in shares) | | | | 19,124,000 | | | |
Issuance of common stock under employee stock purchase plan | 3,092 | | | | 3,092 | | |
Issuance of common stock in connection with vesting of restricted stock (in shares) | | | | 257,624,000 | | | |
Taxes withheld on net settled vesting of restricted stock units (in shares) | | | | (19,000) | | | |
Taxes withheld on net settled vesting of restricted stock units | (3) | | | | (3) | | |
Stock-based compensation | 16,337 | | | | 16,337 | | |
Net income (loss) | 39,125 | | | | | | 39,125 |
Ending balance, shares (in shares) at Mar. 31, 2023 | | | | 36,589,505,000 | | | |
Ending balance at Mar. 31, 2023 | 570,687 | | | $ 37 | 568,705 | (367) | 2,312 |
Beginning balance, shares (in shares) at Dec. 31, 2022 | | | | 36,235,546,000 | | | |
Beginning balance at Dec. 31, 2022 | $ 511,316 | [1] | | $ 36 | 548,960 | (867) | (36,813) |
Increase (Decrease) in Stockholders' Equity [Roll Forward] | | | | | | | |
Exercise of stock options (in shares) | 191,956,000 | | | | | | |
Adjustment for net gain realized and included in other income | $ (5) | | | | | | |
Net income (loss) | 102,973 | | | | | | |
Ending balance, shares (in shares) at Sep. 30, 2023 | | | | 36,882,240,000 | | | |
Ending balance at Sep. 30, 2023 | 601,245 | | | $ 37 | 535,197 | (149) | 66,160 |
Beginning balance, shares (in shares) at Mar. 31, 2023 | | | | 36,589,505,000 | | | |
Beginning balance at Mar. 31, 2023 | 570,687 | | | $ 37 | 568,705 | (367) | 2,312 |
Increase (Decrease) in Stockholders' Equity [Roll Forward] | | | | | | | |
Exercise of stock options (in shares) | | | | 48,282,000 | | | |
Exercise of stock options | 403 | | | | 403 | | |
Unrealized gain on available-for-sale securities, net of tax | (24) | | | | | (24) | |
Issuance of common stock in connection with vesting of restricted stock (in shares) | | | | 90,837,000 | | | |
Taxes withheld on net settled vesting of restricted stock units (in shares) | | | | (7,000) | | | |
Taxes withheld on net settled vesting of restricted stock units | (4) | | | | (4) | | |
Stock-based compensation | 16,988 | | | | 16,988 | | |
Net income (loss) | 28,862 | | | | | | 28,862 |
Ending balance, shares (in shares) at Jun. 30, 2023 | | | | 36,728,617,000 | | | |
Ending balance at Jun. 30, 2023 | 616,912 | | | $ 37 | 586,092 | (391) | 31,174 |
Increase (Decrease) in Stockholders' Equity [Roll Forward] | | | | | | | |
Exercise of stock options (in shares) | | | | 66,444,000 | | | |
Exercise of stock options | 459 | | | | 459 | | |
Unrealized gain on available-for-sale securities, net of tax | 242 | | | | | $ 242 | |
Adjustment for net gain realized and included in other income | 0 | | | | | | |
Issuance of common stock under employee stock purchase plan (in shares) | | | | | | 19,506,000 | |
Issuance of common stock under employee stock purchase plan | 3,138 | | | | 3,138 | | |
Issuance of common stock in connection with vesting of restricted stock (in shares) | | | | 67,812,000 | | | |
Taxes withheld on net settled vesting of restricted stock units (in shares) | | | | (139,000) | | | |
Taxes withheld on net settled vesting of restricted stock units | (34) | | | | (34) | | |
Stock-based compensation | 18,516 | | | | 18,516 | | |
Purchase of capped calls related to convertible debt, net of tax | (72,974) | | $ (72,974) | | | | |
Net income (loss) | 34,986 | | | | | | 34,986 |
Ending balance, shares (in shares) at Sep. 30, 2023 | | | | 36,882,240,000 | | | |
Ending balance at Sep. 30, 2023 | $ 601,245 | | | $ 37 | $ 535,197 | $ (149) | $ 66,160 |
|
[1]The condensed consolidated balance sheet as of December 31, 2022 is derived from the audited consolidated financial statements as of that date. |