To expand on the article provided by John Galt, "Macintosh HD" is an APFS volume inside your main APFS container. (The main APFS container is usually disk3 on Apple silicon Macs). In your screenshot, your main APFS container appears to be empty, and contains no APFS volumes inside.
To resolve your issue, assuming that Disk Utility shows exactly the same as what your screenshot shows, select the APFS Container (Container disk3 in the sidebar), then click the (+) button to add a new APFS volume. Name it "Macintosh HD" and choose APFS as the format. Then, click Add. When done, "Macintosh HD" should appear slightly indented below the container entry, indicating that it resides inside that container.
Finally, quit Disk Utility, choose Install macOS when the list of utilities appears, and follow the onscreen instructions. You'll need a strong Internet connection for this.