New research is helping doctors understand and treat long covid