v3.24.1.u1
Net Income (Loss) per Share - Schedule of Basic and Diluted Net Income Per Share Attributable to Common Stockholders (Details) - USD ($)
$ / shares in Units, $ in Thousands
3 Months Ended
Mar. 31, 2024
Mar. 31, 2023
Numerator:    
Basic: net income $ 18,442 $ 17,167
Gain on early extinguishment of debt, net of tax 0 (38,525)
Interest expense related to convertible senior notes, net of tax 640 389
Diluted $ 19,082 $ (20,969)
Weighted-average shares used to compute net income (loss) per share, basic and diluted    
Basic (in shares) 136,356,961 132,835,837
Options to purchase common stock (in shares) 1,204,762 0
Common stock issuable upon exercise of common stock warrants (in shares) 297,781 0
Common stock issuable in connection with employee stock purchase plan (in shares) 334,500 0
Common stock issuable in connection with convertible senior notes (in shares) 5,463,045 3,130,578
Diluted (in shares) 143,657,049 135,966,415
Net income (loss) per share:    
Basic (in dollars per share) $ 0.14 $ 0.13
Diluted (in dollars per share) $ 0.13 $ (0.15)