I don’t know how your tools/boards all work together:
in the esp32 section try:
esp32:
board: esp32-c3-devkitm-1 # don't really know what this should be--
variant: esp32c3
framework:
type: esp-idf
platform_version: 4.4.4 # instead of 4.4.0
I also had problems with 4.4.0
for my work. The ‘latest’ is version 5.0.1