It's unfortunate that research on the impact of Co2 concentration on cognitive function and general wellness is so inconclusive (ie: effect size of high concentration on most tasks seems small), when subjectively it feels really high.
Some years ago I did some datascience work with a housing association wherein they installed high-frequency sensors in various rooms of housing units across the country (with the explicit consent of the inhabitants, data anonymized) with the intent on understanding how building properties and use correlated with the sensor data. In general there was (and still is) a lack of understanding how to model the relationship between things like building material, climate, occupancy, tenant behaviour and negative outcomes like mold growth, fuel poverty/health outcomes, and so on. I mean - I'm not saying there's no understanding, but it's definitely a field where more work is needed.
Anyways, one of the things I found most shocking is that in many of these flats, Co2 concentrations would get mind-bogglingly high in bedrooms during the months where tenants would likely have the windows closed (this is something you can infer by temperature gradients and heating usage). By mid-way through the night, some individuals were in rooms with 4k+ co2 ppm. A common side effect of breathing air with such a high concentration is waking up feeling groggy, disoriented, or with a headache. But what are these people supposed to do - many of these flats were low-income housing, so they're badly insulated to begin with, and they probably can't afford the heating bills of keeping windows open for ventilation.
Sorry for the long story - but the point is that there are many negative health externalities associated with poor ventilation in buildings and interior spaces, and at least we're starting to get attention on the problem now with covid. Hopefully this leads to improvements across the board.