Net Loss per Share - Summary of Reconciliation of Weighted Average Shares Outstanding Calculation (Details) - shares |
3 Months Ended | 6 Months Ended | ||
|---|---|---|---|---|
Jun. 30, 2024 |
Jun. 30, 2023 |
Jun. 30, 2024 |
Jun. 30, 2023 |
|
| Earnings Per Share [Abstract] | ||||
| Weighted average shares issued (in shares) | 27,317,256 | 11,320,450 | 25,511,315 | 10,693,762 |
| Weighted average pre-funded warrants (in shares) | 1,047,475 | 1,143,215 | 1,114,640 | 1,341,976 |
| Weighted average shares outstanding, basic (in shares) | 28,364,731 | 12,463,665 | 26,625,955 | 12,035,738 |
| Weighted average shares outstanding, diluted (in shares) | 28,364,731 | 12,463,665 | 26,625,955 | 12,035,738 |