Condensed Consolidated Statements of Stockholders' Equity - USD ($) $ in Thousands | Total | Common Stock | Additional Paid-in Capital | Accumulated Other Comprehensive Income (loss) | Accumulated Deficit |
Balance at the beginning of the period (in shares) at Dec. 31, 2022 | | 541,364,000 | | | |
Balance at the beginning of the period at Dec. 31, 2022 | $ 1,472,956 | $ 53 | $ 2,082,373 | $ (7,237) | $ (602,233) |
Increase (Decrease) in Stockholders' Equity [Roll Forward] | | | | | |
Issuance of common stock upon exercise of options (in shares) | | 803,000 | | | |
Issuance of common stock upon exercise of options | 1,051 | | 1,051 | | |
Issuance of common stock net settlement of restricted stock units (in shares) | | 1,470,000 | | | |
Issuance of common stock upon net settlement of restricted stock units | (3,746) | | (3,746) | | |
Vesting of common stock warrants | 2,102 | | 2,102 | | |
Share-based compensation | 33,906 | | 33,906 | | |
Executive chairman long-term performance award | 13,121 | | 13,121 | | |
Repurchase and retirement of common stock, including excise tax (in shares) | | (3,206,000) | | | |
Repurchase and retirement of common stock, including excise tax | (20,993) | | (20,993) | | |
Change in accumulated other comprehensive income (loss) | 4,054 | | | 4,054 | |
Net income (loss) | (68,801) | | | | (68,801) |
Balance at the end of the period (in shares) at Mar. 31, 2023 | | 540,431,000 | | | |
Balance at the end of the period at Mar. 31, 2023 | 1,433,650 | $ 53 | 2,107,814 | (3,183) | (671,034) |
Balance at the beginning of the period (in shares) at Dec. 31, 2022 | | 541,364,000 | | | |
Balance at the beginning of the period at Dec. 31, 2022 | 1,472,956 | $ 53 | 2,082,373 | (7,237) | (602,233) |
Increase (Decrease) in Stockholders' Equity [Roll Forward] | | | | | |
Executive chairman long-term performance award | 26,388 | | | | |
Change in accumulated other comprehensive income (loss) | 5,761 | | | | |
Net income (loss) | (127,598) | | | | |
Balance at the end of the period (in shares) at Jun. 30, 2023 | | 534,216,000 | | | |
Balance at the end of the period at Jun. 30, 2023 | 1,372,615 | $ 52 | 2,103,870 | (1,476) | (729,831) |
Balance at the beginning of the period (in shares) at Mar. 31, 2023 | | 540,431,000 | | | |
Balance at the beginning of the period at Mar. 31, 2023 | 1,433,650 | $ 53 | 2,107,814 | (3,183) | (671,034) |
Increase (Decrease) in Stockholders' Equity [Roll Forward] | | | | | |
Issuance of common stock upon exercise of options (in shares) | | 828,000 | | | |
Issuance of common stock upon exercise of options | 1,310 | | 1,310 | | |
Issuance of common stock under employee stock purchase plan (in shares) | | 446,000 | | | |
Issuance of common stock under employee stock purchase plan | 1,775 | | 1,775 | | |
Issuance of common stock net settlement of restricted stock units (in shares) | | 2,679,000 | | | |
Issuance of common stock upon net settlement of restricted stock units | (6,324) | | (6,324) | | |
Vesting of common stock warrants | 2,372 | | 2,372 | | |
Share-based compensation | 32,152 | | 32,152 | | |
Executive chairman long-term performance award | 13,267 | | 13,267 | | |
Repurchase and retirement of common stock, including excise tax (in shares) | | (10,168,000) | | | |
Repurchase and retirement of common stock, including excise tax | (48,497) | $ (1) | (48,496) | | |
Change in accumulated other comprehensive income (loss) | 1,707 | | | 1,707 | |
Net income (loss) | (58,797) | | | | (58,797) |
Balance at the end of the period (in shares) at Jun. 30, 2023 | | 534,216,000 | | | |
Balance at the end of the period at Jun. 30, 2023 | 1,372,615 | $ 52 | 2,103,870 | (1,476) | (729,831) |
Balance at the beginning of the period (in shares) at Dec. 31, 2023 | | 520,343,000 | | | |
Balance at the beginning of the period at Dec. 31, 2023 | 1,243,395 | $ 52 | 2,067,776 | 762 | (825,195) |
Increase (Decrease) in Stockholders' Equity [Roll Forward] | | | | | |
Issuance of common stock upon exercise of options (in shares) | | 98,000 | | | |
Issuance of common stock upon exercise of options | 49 | | 49 | | |
Issuance of common stock net settlement of restricted stock units (in shares) | | 2,806,000 | | | |
Issuance of common stock upon net settlement of restricted stock units | (10,917) | | (10,917) | | |
Vesting of common stock warrants | 2,100 | | 2,100 | | |
Share-based compensation | 33,393 | | 33,393 | | |
Executive chairman long-term performance award | 13,121 | | 13,121 | | |
Repurchase and retirement of common stock, including excise tax (in shares) | | (5,238,000) | | | |
Repurchase and retirement of common stock, including excise tax | (32,830) | | (32,830) | | |
Change in accumulated other comprehensive income (loss) | (1,586) | | | (1,586) | |
Net income (loss) | (36,060) | | | | (36,060) |
Balance at the end of the period (in shares) at Mar. 31, 2024 | | 518,009,000 | | | |
Balance at the end of the period at Mar. 31, 2024 | 1,210,665 | $ 52 | 2,072,692 | (824) | (861,255) |
Balance at the beginning of the period (in shares) at Dec. 31, 2023 | | 520,343,000 | | | |
Balance at the beginning of the period at Dec. 31, 2023 | 1,243,395 | $ 52 | 2,067,776 | 762 | (825,195) |
Increase (Decrease) in Stockholders' Equity [Roll Forward] | | | | | |
Executive chairman long-term performance award | (144,617) | | | | |
Change in accumulated other comprehensive income (loss) | (2,035) | | | | |
Net income (loss) | 83,048 | | | | |
Balance at the end of the period (in shares) at Jun. 30, 2024 | | 510,748,000 | | | |
Balance at the end of the period at Jun. 30, 2024 | 1,142,375 | $ 51 | 1,885,744 | (1,273) | (742,147) |
Balance at the beginning of the period (in shares) at Mar. 31, 2024 | | 518,009,000 | | | |
Balance at the beginning of the period at Mar. 31, 2024 | 1,210,665 | $ 52 | 2,072,692 | (824) | (861,255) |
Increase (Decrease) in Stockholders' Equity [Roll Forward] | | | | | |
Issuance of common stock upon exercise of options (in shares) | | 33,000 | | | |
Issuance of common stock upon exercise of options | 59 | | 59 | | |
Issuance of common stock under employee stock purchase plan (in shares) | | 327,000 | | | |
Issuance of common stock under employee stock purchase plan | 1,629 | | 1,629 | | |
Issuance of common stock net settlement of restricted stock units (in shares) | | 3,338,000 | | | |
Issuance of common stock upon net settlement of restricted stock units | (9,370) | | (9,370) | | |
Share-based compensation | 38,209 | | 38,209 | | |
Executive chairman long-term performance award | (157,738) | | (157,738) | | |
Repurchase and retirement of common stock, including excise tax (in shares) | | (10,959,000) | | | |
Repurchase and retirement of common stock, including excise tax | (59,738) | $ (1) | (59,737) | | |
Change in accumulated other comprehensive income (loss) | (449) | | | (449) | |
Net income (loss) | 119,108 | | | | 119,108 |
Balance at the end of the period (in shares) at Jun. 30, 2024 | | 510,748,000 | | | |
Balance at the end of the period at Jun. 30, 2024 | $ 1,142,375 | $ 51 | $ 1,885,744 | $ (1,273) | $ (742,147) |