is layer 2 because in order to enter the Lightning ecosystem you need to acquire bitcoin first to fund a channel. Layer 1 comes before layer 2. if there is a layer that then requires layer 2 like stablecoins then in my opinion thats a layer 3 protocol.
you can't get to the second layer of an onion without removing the first.