Shop quoted $13k in damages. Totaled?

2020 Mazda 6 Touring with 51k miles. Est value is $18k according to KBB. Insurance is Farmers