XML 101 R83.htm IDEA: XBRL DOCUMENT v3.25.0.1
Net Loss per Share - Schedule of Basic and Diluted Net Loss Per Share Attributable to Common Stockholders (Details) - USD ($)
$ / shares in Units, $ in Thousands
12 Months Ended
Dec. 31, 2024
Dec. 31, 2023
Dec. 31, 2022
Numerator:      
Basic: net income (loss) $ 215,586 $ 46,887 $ (89,885)
Gain on early extinguishment of debt, net of tax 0 (38,525) 0
Interest expense related to convertible senior notes, net of tax 2,239 389 0
Diluted: net income (loss) $ 217,825 $ 8,751 $ (89,885)
Weighted-average shares used to compute net income (loss) per share, basic and diluted      
Basic (in shares) 133,620,612 134,774,189 130,517,920
Common stock issuable upon exercise of common stock warrants (in shares) 232,813 299,741 0
Common stock issuable in connection with employee stock purchase plan (in shares) 186,594 16,270 0
Common stock issuable in connection with convertible senior notes (in shares) 5,463,045 771,923 0
Diluted (in shares) 143,152,029 137,263,230 130,517,920
Net income (loss) per share:      
Basic (in dollars per share) $ 1.61 $ 0.35 $ (0.69)
Diluted (in dollars per share) $ 1.52 $ 0.06 $ (0.69)
Options to purchase common stock      
Weighted-average shares used to compute net income (loss) per share, basic and diluted      
Share-based payment arrangements (in shares) 1,211,092 1,401,107 0
Common stock issuable upon vesting of RSUs and PSUs      
Weighted-average shares used to compute net income (loss) per share, basic and diluted      
Share-based payment arrangements (in shares) 2,437,873 0 0