Stockholders' Equity - Summary of Common Stock Warrant Activity (Details) - Common Warrants - $ / shares |
6 Months Ended | 12 Months Ended |
|---|---|---|
Jun. 30, 2024 |
Dec. 31, 2023 |
|
| Class Of Warrant Or Right Outstanding [Roll Forward] | ||
| Outstanding, beginning of period (in shares) | 4,665,201 | |
| Warrants issued (in shares) | 1,008,102 | |
| Warrants exercised (in shares) | (1,308,473) | |
| Outstanding, end of period (in shares) | 4,364,830 | 4,665,201 |
| Weighted Average Exercise Price | ||
| Outstanding, beginning of period (in dollars per share) | $ 7.76 | |
| Warrants issued (in dollars per share) | 0.01 | |
| Warrants exercised (in dollars per share) | 0.01 | |
| Outstanding, ending of period (in dollars per share) | $ 7.76 | |
| Weighted Average Remaining Life (in years) | ||
| Weighted Average Remaining Life (in years), Outstanding | 1 year 1 month 6 days | 1 year 7 months 6 days |