A 22-year-old man is admitted to the hospital for a 1-day history of severe headache, photophobia, and neck stiffness. He had noted fever starting 2 days before admission. Medical history is significant for an episode of meningococcal meningitis 5 years ago but is otherwise unremarkable. He takes no medications.

On physical examination, temperature is 38.8 °C (101.8 °F), blood pressure is 100/60 mm Hg, pulse rate is 110/min, and respiration rate is 18/min. BMI is 20. Nuchal rigidity is noted. Extraocular movements are intact, and the eye examination is unremarkable with no papilledema or retinal findings. The general medical examination is otherwise normal except for a petechial rash across the trunk and lower extremities.

Cerebrospinal fluid Gram stain is positive for gram-negative diplococci.

Ceftriaxone is started.

Which of the following is the most likely diagnosis?