When schools around the world shut their doors amid the COVID-19 pandemic, demand for digital education surged and investment in the sector took off at an unprecedented clip.