Why were Finnish schools so successful with distance and in-person learning during the pandemic?

On 18 March 2020, schools in Finland closed. On 14 May 2020, they reopened successfully. Why was Finland successful in transitioning to distance education and then back to face-to-face learning and teaching?