Deciphering early-warning signals of SARS-CoV-2 elimination and resurgence from limited data at multiple scales