Wrong building a firmware for a custom ESP32C3 board

I’ve got a custom board with ESP32C3 chip. When I try to build a firmware for thisd board I use the suggested in https://esphome.io/components/esp32.html configuration:

esphome:
  name: projName
  friendly_name: My custom ESP32C3 project
  platformio_options:
    board_build.flash_mode: dio

esp32:
  board: esp32dev
  variant: esp32c3
  framework:
    type: arduino

But what I see in a log? My project is compiling for ESP32 chip, not for ESP32C3 !

--------------------------------------------------------------------------------
HARDWARE: ESP32 240MHz, 320KB RAM, 4MB Flash
 - toolchain-xtensa-esp32 @ 8.4.0+2021r2-patch3

What is wrong?

Your chip is listed down a little further ESP32 Platform — ESPHome.

ESP-IDF framework

This is an alternative base framework for ESP32 chips, and recommended for variants of the ESP32 like ESP32S2, ESP32S3, ESP32C3 and single-core ESP32 chips.

# Example configuration entry
esp32:
  board: esp32-c3-devkitm-1
  framework:
    type: esp-idf
    version: recommended
    # Custom sdkconfig options
    sdkconfig_options:
      CONFIG_COMPILER_OPTIMIZATION_SIZE: y
    # Advanced tweaking options
    advanced:
      ignore_efuse_mac_crc: false

You have an incorrect board type for a C3, it depends on which board you are using but for generic C3 dev boards and modules use:

esp32:
  board: esp32-c3-devkitm-1

Thanks for the suggestions.
I just found out it works pretty fine even with Arduino framework when I choose any possible ESP32C3 board.

esp32:
  board: lolin_c3_mini
  variant: esp32c3
  framework:
    type: arduino

I guess this is a bug in ESP Home or in a documentation.