We estimate the linear independence measures for the values of a class of Mahler functions of degrees 1 and 2. For this purpose, we study the determinants of suitable Hermite–Padé approximation polynomials. Based on the non-vanishing property of these determinants, we apply the functional equations to get an infinite sequence of approximations that is used to produce the linear independence measures.