Optimal thresholds for preserving embeddedness of elastic flows